Skip to content
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

Help Getting all Bank Transfers #518

Closed
Adelantado opened this issue Dec 15, 2024 · 1 comment
Closed

Help Getting all Bank Transfers #518

Adelantado opened this issue Dec 15, 2024 · 1 comment

Comments

@Adelantado
Copy link

Adelantado commented Dec 15, 2024

Was doing some accounting and realized my numbers did not match those of Robinhood.
The statement : robin_stocks.robinhood.account.get_bank_transfers(direction=None, info=None) returns up to the last 50 transactions, but if you have made more, you get the Found Additional pages exist but could not be loaded.

I am not really familiar making custom request, so unsure if one can be made. How can you retrieve those pages/records ? Thanks.

All bank transfers

@Adelantado
Copy link
Author

Adelantado commented Dec 16, 2024

I was able to get it to work using zot24 fix mentioned in #209.

#---------------------------------------------------------------------------------------------------------#
in the mean time and for whoever else encounter this problem, what I did to fix it was to change the line

robin_stocks/robin_stocks/robinhood/helper.py

Line 304 in 8ffc27f
res = SESSION.get(nextData['next'])

to looks like

res = SESSION.get(nextData['next'].replace('/public', ''))
#---------------------------------------------------------------------------------------------------------#

@jmfernandes could this be included in future releases?

Thanks to all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant