-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
selecting json does not pull robinhood history #11
Comments
Ah, yes. I changed up some stuff especially the ui for pulling your history and generating the xlsx files. After you select either As for the 2FA code, that's awesome that it's not asking you to enter it again. For ease of use, the first time you log in, we store the refresh token from robinhood locally on the user's computer in the sqlite db that they create. Every time you make a request after that, we use the refresh token to auth the request and it will in turn generate a new refresh token. The situation where you're going to need to enter a 2FA code again, is if the refresh token expires. |
Right on, that's a nice implementation! I'm seeing some errors with the P/L calculation. Specifically, number of shares held are inaccurate for certain stocks. Can you double check this; let me know if there is any information I can provide to help resolve this issue. |
Hi kfchou how did you get the P/L working. Please let me know i'm new here |
P/L is on the 2nd tab in orders.xlsx |
the Json is giving errors and the excel file gets created with nothing. Also its not erroring if I give wrong password also. So is it doing anything. Can you send me some instructions please |
line 70, in generate_auth_tokens |
@kfchou if you don't mind can you open up a new issue with the topic of incorrect P/L? I'll start looking at that in the meantime. Edit: Also could you let me know if it's incorrect in orders, options or both. Thank you! |
hey, @Georgedumpers. Thanks for trying out the app so far. Quick question so I can help you out. Do you have 2 factor authentication enabled on your account? |
Hi @anthonyk1225 no I do not have it enabled. |
Hey @anthonyk1225, got a new issue here. When I run the app by calling
app.py
, selectingjson
no longer prompt me to enter 2FA, and my history was not updated. Any ideas? Thanks!The text was updated successfully, but these errors were encountered: