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.73k stars 467 forks source link

Function to get Robinhood IRA account number? #426

Open NelsonDane opened 1 year ago

NelsonDane commented 1 year ago

Hello, I understand that almost every function takes an account number as a parameter, and that's how you interact with your IRA account specifically. I was wondering if there was a way to get that IRA number using a function, similar to how the normal account number can be extracted using rh.load_account_profile(info="account_number"). Unfortunately, I didn't see the IRA number listed as part of the dictionary keys that could be extracted.

I've looked through the code, issues, and docs and haven't found anything. If it's possible please let me know how to do it, and if not, would it be possible to add? Thank you so much

doctorcolossus commented 10 months ago

@NelsonDane, I think you could find yours by analyzing the requests your browser makes. In Firefox for example, F12, click 'Network', then 'XHR', do something involving your IRA account, then right click on the lists of requests, "copy all as HAR", paste into a text editor, and have a look around.

However, I agree with you that people should not need to bother with doing this manually, and that this functionality should be part of robin_stocks.