All Projects → mstrum → robinhood-python

mstrum / robinhood-python

Licence: Apache-2.0 license
Robinhood module in Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to robinhood-python

simple portfolio
Export trades from Robinhood and run basic reporting on portfolio performance
Stars: ✭ 17 (-83.5%)
Mutual labels:  robinhood-api, robinhood-python
robinhood.tools
📈🤑💰 Advanced trading tools and resources for Robinhood Web.
Stars: ✭ 27 (-73.79%)
Mutual labels:  robinhood, robinhood-api
Robinhood
Unofficial Documentation of Robinhood Trade's Private API
Stars: ✭ 1,569 (+1423.3%)
Mutual labels:  robinhood, robinhood-api
PyTse
TseTmc Crawler
Stars: ✭ 40 (-61.17%)
Mutual labels:  stock
StockPricePredictor
An S&P500 Stock Index Movement Predictor built with Machine Learning models
Stars: ✭ 29 (-71.84%)
Mutual labels:  stock
backend-ctp
CTP接口封装,使用redis做消息中转
Stars: ✭ 26 (-74.76%)
Mutual labels:  stock
OKKLineMin
OKKLineMin kline for min for learning for iPhone (support Swift5 & the latest Swift & iPhone & iOS 16)(min K线图 用于学习了解)
Stars: ✭ 23 (-77.67%)
Mutual labels:  stock
qluacpp
C++ interface for Quik trading terminal via lua bindings
Stars: ✭ 44 (-57.28%)
Mutual labels:  stock
istock-fund
基于Spring boot 实现的股票基金爬虫工具
Stars: ✭ 23 (-77.67%)
Mutual labels:  stock
finnhub-go
Finnhub Go API client. Finnhub API provides institutional-grade financial data to investors, fintech startups and investment firms. We support real-time stock price, global fundamentals and alternative data. https://finnhub.io/docs/api
Stars: ✭ 53 (-48.54%)
Mutual labels:  stock
MyTT
MyTT将通达信,同花顺,文华麦语言等指标公式,最简移植到Python中,核心库单个文件,仅百行代码,十几个核心函数,神奇的实现所有常见技术指标算法(不依赖talib库)的纯python实现和转换通达信MACD,RSI,BOLL,ATR,KDJ,CCI,PSY等公式,全部基于pandas函数计算方法封装,简洁且高性能,能非常方便的应用在股票指标公式,股市期货量化框架分析,自动程序化交易,数字货币量化等领域,它是您最精练的股市量化工具。Python library with most stock market indicators.
Stars: ✭ 888 (+762.14%)
Mutual labels:  stock
STOCK-RETURN-PREDICTION-USING-KNN-SVM-GUASSIAN-PROCESS-ADABOOST-TREE-REGRESSION-AND-QDA
Forecast stock prices using machine learning approach. A time series analysis. Employ the Use of Predictive Modeling in Machine Learning to Forecast Stock Return. Approach Used by Hedge Funds to Select Tradeable Stocks
Stars: ✭ 94 (-8.74%)
Mutual labels:  stock
mooquant
MooQuant 是一个基于 pyalgotrade 衍生而来的支持 python3 的支持国内A股的量化交易框架。
Stars: ✭ 24 (-76.7%)
Mutual labels:  stock
markets-react
📈 Check the stock market, from your phone!
Stars: ✭ 47 (-54.37%)
Mutual labels:  stock
ikea-availability-checker
Command-Line-Script & Library for checking the availability of specific IKEA products in specific stores and/or countries.
Stars: ✭ 210 (+103.88%)
Mutual labels:  stock
bsedata
Python library for extracting real-time data from Bombay Stock Exchange (India)
Stars: ✭ 67 (-34.95%)
Mutual labels:  stock
Scrape-Finance-Data
My code for scraping financial data in Vietnam
Stars: ✭ 13 (-87.38%)
Mutual labels:  stock
AlphaVantageRB
A Gem for AlphaVantage
Stars: ✭ 68 (-33.98%)
Mutual labels:  stock
finnhub-js
Finnhub Javascript API Client. Finnhub API provides institutional-grade financial data to investors, fintech startups and investment firms. We support real-time stock price, global fundamentals and alternative data. https://finnhub.io/docs/api
Stars: ✭ 35 (-66.02%)
Mutual labels:  stock
kw condition
키움 증권 조건 검색식 사용 Console App
Stars: ✭ 54 (-47.57%)
Mutual labels:  stock

robinhood-python 🗠

Robinhood module with convenience scripts for automating common activites (downloading entire history, trading, etc.)

Some current caveats:

  • Development has been in python 3, I'm not taking much care to keep python 2 support at the moment.
  • The scripts currently default to extreme caching policies, use --live to guarantee most recent data.
  • Much of the code will assert (or not) in scenarioes where states and paging is involved where they haven't been handled correctly yet

Security

  • Certificate pinning is used to block against MITM attacks

Module

Scripts

Account

  • login.py
    • Forces a new login and caches the token. Note most scripts will do this automatically so you usually don't need to call this.
  • logout.py
    • Invalidates the current auth token and deletes the cached token
  • enable_mfa.py [app|sms]
    • Enables MFA for login
  • disable_mfa.py
    • Disables MFA for login

Portfolio management

Stocks

Purchasing stocks

  • show_quote.py AMZN [--live]
    • Displays the latest stock quote for the given symbol along with auxilary info
  • order.py [market|limit] [buy|sell] SYMBOL QUANTITY PRICE [--no-cancel]
    • Prints the quote for the given symbol, confirms, and places an order
  • show_pending_orders.py
    • Displays any outstanding stock orders along with position information
  • cancel.py ORDER_ID...
    • Cancels one or more order ids given, or all pending orders if none given
  • show_potentials.py
    • Show stocks and some stats to help decide on positions to push forward on.
      • Note this is basically only useful to myself ATM.
  • show_interesting_stocks.py
    • Show stocks that are on various lists
      • 10 popular S&P 500 stocks with Robinhood users
      • S&P 500 top movers up and down
      • Top 10 and 100 popular sticks with Robinhood users
    • This script is kind of a mess and mostly just a raw dump.

Options

Purchasing options

  • show_options_discoveries.py AMZN [--live]
    • Displays robinhood's options suggestions for the given symbol (pretty raw for now)
  • show_options_quote.py AMZN [--type=call|put] [--date 2018-05-21] [--strike=55] [--live]
    • Displays the quote for the given options contract (pretty raw for now)
      • Can do things like get all $55 puts, get all puts on 2 dates, etc.
  • order_options.py [market|limit] [buy|sell] SYMBOL DATE STRIKE [call|put] QUANTITY PRICE
    • Places an options order
  • show_pending_options_orders.py
    • Displays any outstanding options orders
  • cancel_options.py ORDER_ID...
    • Cancels one or more options order ids given, or all pending options orders if none given

Cryptocurrency

Purchasing cryptocurrency

  • show_crypto_quote.py [-s BTCUSD] [--live]
    • Displays a quote for the given cryptocurrencies or all crypto currencies when none given.
  • order_crypto.py [market|limit] [buy|sell] SYMBOL QUANTITY PRICE
    • Places some cryptocurrency
  • show_pending_crypto_orders.py
    • Displays any outstanding crypto orders
  • cancel_crypto.py ORDER_ID...
    • Cancels one or more crypto order ids given, or all pending crypto orders if none given

Legal

  • This library may have bugs which could result in financial consequences, you are responsible for anything you execute. Inspect the underlying code if you want to be sure it's doing what you think it should be doing.
  • I am not affiliated with Robinhood and this library uses an undocumented API. If you have any questions about them, contact Robinhood directly: https://robinhood.com/
  • By using this library, you understand that you are not to charge or make any money through advertisements or fees. Until Robinhood releases an official API with official guidance, this is only to be used for non-profit activites. I am not responsible if Robinhood cancels your account because of misuse of this library.
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].