All Projects → neelsomani → Senator Filings

neelsomani / Senator Filings

Licence: mit
Scrape public filings of the buy + sell orders of U.S. senators and calculate their returns

Projects that are alternatives of or similar to Senator Filings

Keras Oneshot
koch et al, Siamese Networks for one-shot learning, (mostly) reimplimented in keras
Stars: ✭ 348 (-2.25%)
Mutual labels:  jupyter-notebook
Action Recognition Visual Attention
Action recognition using soft attention based deep recurrent neural networks
Stars: ✭ 350 (-1.69%)
Mutual labels:  jupyter-notebook
Deep Learning With Pytorch
Deep Learning with PyTorch, published by Packt
Stars: ✭ 352 (-1.12%)
Mutual labels:  jupyter-notebook
Nbval
A py.test plugin to validate Jupyter notebooks
Stars: ✭ 347 (-2.53%)
Mutual labels:  jupyter-notebook
Noisereduce
Noise reduction in python using spectral gating (speech, bioacoustics, time-domain signals)
Stars: ✭ 347 (-2.53%)
Mutual labels:  jupyter-notebook
Magnet
Deep Learning Projects that Build Themselves
Stars: ✭ 351 (-1.4%)
Mutual labels:  jupyter-notebook
Pytorch Tutorials Examples And Books
PyTorch1.x tutorials, examples and some books I found 【不定期更新】整理的PyTorch 1.x 最新版教程、例子和书籍
Stars: ✭ 346 (-2.81%)
Mutual labels:  jupyter-notebook
Pytorch Tvmisc
Totally Versatile Miscellanea for Pytorch
Stars: ✭ 354 (-0.56%)
Mutual labels:  jupyter-notebook
Tensorflow Tutorials Chinese
TensorFlow 中文教程 (Chinese Tutorials)
Stars: ✭ 349 (-1.97%)
Mutual labels:  jupyter-notebook
Machine Learning Code Writing
Mathematical derivation and pure Python code implementation of machine learning algorithms.
Stars: ✭ 350 (-1.69%)
Mutual labels:  jupyter-notebook
Recommendsystempractice
《推荐系统实践》代码实现
Stars: ✭ 349 (-1.97%)
Mutual labels:  jupyter-notebook
Ml cheat sheet
My notes and superstitions about common machine learning algorithms
Stars: ✭ 349 (-1.97%)
Mutual labels:  jupyter-notebook
Convolutional neural network
This is the code for "Convolutional Neural Networks - The Math of Intelligence (Week 4)" By Siraj Raval on Youtube
Stars: ✭ 352 (-1.12%)
Mutual labels:  jupyter-notebook
Pytorch Cortexnet
PyTorch implementation of the CortexNet predictive model
Stars: ✭ 349 (-1.97%)
Mutual labels:  jupyter-notebook
Weakly detector
Tensorflow implementation of "Learning Deep Features for Discriminative Localization"
Stars: ✭ 353 (-0.84%)
Mutual labels:  jupyter-notebook
Amazon Forest Computer Vision
Amazon Forest Computer Vision: Satellite Image tagging code using PyTorch / Keras with lots of PyTorch tricks
Stars: ✭ 346 (-2.81%)
Mutual labels:  jupyter-notebook
Notebooks
Machine learning notebooks in different subjects optimized to run in google collaboratory
Stars: ✭ 351 (-1.4%)
Mutual labels:  jupyter-notebook
Meta Rl
Implementation of Meta-RL A3C algorithm
Stars: ✭ 355 (-0.28%)
Mutual labels:  jupyter-notebook
Commuter
🚎 Notebook sharing hub
Stars: ✭ 353 (-0.84%)
Mutual labels:  jupyter-notebook
Interpretable Ml Book
Book about interpretable machine learning
Stars: ✭ 3,941 (+1007.02%)
Mutual labels:  jupyter-notebook

senator-filings

Scrape public filings of the buy + sell orders of U.S. senators and calculate their returns. This repo contains a script to scrape the electronic filings at https://efdsearch.senate.gov/search/ and a Jupyter notebook to analyze the results.

Requirements

python3

Quick Start

Scrape all of the senators' filings: python3 main.py

Analyze the results by starting a Jupyter server and going through the notebook: jupyter notebook

Limitations

  1. We only look at electronic publicly filed trades by senators. Some periodic transaction reports are PDFs, which are ignored.
  2. We calculate returns only using the trades observed. This is almost definitely not representative of a senator's entire portfolio. A more accurate way of thinking about the returns is a portfolio that mimics the observed buys and sells.
  3. If the periodic transaction report specifies a range ($1000 - $5000), then we assume the amount is the lower bound.
  4. We ignore trades for tickers that do not have data through the Yahoo Finance API.
  5. The portfolio is not allowed to go short.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].