Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.06 KB

README.md

File metadata and controls

34 lines (29 loc) · 1.06 KB

Robinhood

Python Framework to make trades with Robinhood Private API See Blog Post: https://medium.com/@rohanpai25/reversing-robinhood-free-accessible-automated-stock-trading-f40fba1e7d8b

##Current Features

  • Placing buy orders (Robinhood.place_buy_order)
  • Placing sell order (Robinhood.place_sell_order)
  • Quote Information (Robinhood.quote_data)
  • More coming soon

###How To Install: pip install -r requirements.txt

###How to Use (see example.py)

from Robinhood import Robinhood
my_trader = Robinhood()
logged_in = my_trader.login(username="USERNAME HERE", password="PASSWORD HERE")
stock_instrument = my_trader.instruments("GEVO")[0]
quote_info = my_trader.quote_data("GEVO")
buy_order = my_trader.place_buy_order(stock_instrument, 1)
sell_order = my_trader.place_sell_order(stock_instrument, 1)

####Data returned

  • Ask Price
  • Ask Size
  • Bid Price
  • Bid Size
  • Last trade price
  • Previous close
  • Previous close date
  • Adjusted previous close
  • Trading halted
  • Updated at