robinhood-unofficial / pyrh

Python Framework to make trades with the unofficial Robinhood API
https://pyrh.readthedocs.io/en/latest/
MIT License
1.78k stars 603 forks source link

session caching #241

Closed jgansl closed 1 year ago

jgansl commented 4 years ago

There is commenting for saving/loading session but could not find the implementation. Is there an alternative way to save/load the session. I found some some documentation that varied but still did not work.

lucascassiano commented 4 years ago

same problem here - anyone got it working? adding a mfa code all sessions isn't optimal for many applications.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

meltingscales commented 2 years ago

@jgansl I implemented session caching thusly:

https://github.com/HenryFBP/robinhoodtest/blob/4fec545890c32430f92214216fffeabbba588428/main.py#L26

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

Closing this issue automatically because it has not had any activity since it has been marked as stale. If you think it is still relevant and should be addressed, feel free to open a new one.