jmfernandes / robin_stocks

This is a library to use with Robinhood Financial App. It currently supports trading crypto-currencies, options, and stocks. In addition, it can be used to get real time ticker information, assess the performance of your portfolio, and can also get tax documents, total dividends paid, and more. More info at
http://www.robin-stocks.com
MIT License
1.74k stars 468 forks source link

Historical crypto data not working past 3month #121

Closed ghost closed 4 years ago

ghost commented 4 years ago

First, thank you for your awesome work.

Second, I am trying to request BTC historical data for a year or 5year out from today and am getting the following error:

Successfully logged in.
400 Client Error: Bad Request for url: https://api.robinhood.com/marketdata/forex/historicals/3d961844-d360-45fc-989b-f6fca761d511/?interval=hour&span=year&bounds=24_7
None
ghost commented 4 years ago
sresam89 commented 4 years ago

nothing other than the above works.

guptabhaskar commented 4 years ago

I think Robinhood API made some changes. And now, interval='5minute' or '10minute' works only with span='day' or 'week'.

ghost commented 4 years ago

Thanks for the comments folks. Closing this out!