tfukaza / harvest

Simple and intuitive Python framework for algorithmic trading. Easily create bots to live and paper trade stocks, crypto, and options!
https://tfukaza.github.io/harvest-website
MIT License
122 stars 26 forks source link

Auth expires #28

Closed tfukaza closed 3 years ago

tfukaza commented 3 years ago

Auth tokens for Robinhood lasts about a day. That means after a day, we beed to refresh the token, or else the Robinhood API will return a 401 error. One way to do this will be to log the user out and back in every few hours. Check the documentation for the corresponding functions: https://robin-stocks.readthedocs.io/en/latest/robinhood.html#logging-in-and-out

tfukaza commented 3 years ago

Conducting additional tests before resolving this.

tfukaza commented 3 years ago

For now it seems the issue is solved, closing it now