westonplatter / fast_arrow

(no longer maintained) A simple yet robust (stock+options) API client for Robinhood
MIT License
127 stars 37 forks source link

Historical data for 1 month and 3 month intervals #107

Closed combsbt closed 4 years ago

combsbt commented 4 years ago

In stock_marketdata.py you have a method historical_quote_by_symbols that has the below intervals:

possible_intervals = { "day": "5minute", "week": "10minute", "year": "day", "5year": "week"}

In the robinhood app there are also options for 1 month and 3 month when you look at a stock. Can these be fetched via this method? I tried inserting "month": "day" into the possible intervals but that didn't do it.

combsbt commented 4 years ago

Nevermind, if day is the shortest time interval for the month and 3 month view I can just take it from the year data. If there is shorter time intervals available for 1 month view (like 10 minute) then it would be cool to be able to fetch it.