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

Invalid Ticker symbol error on every single request #294

Closed TannerTek closed 1 year ago

TannerTek commented 1 year ago

When running the following code

from pyrh import Robinhood

rh = Robinhood() rh.login(username="", password="**", qr_code="***")

rh.bid_price(stock="AAPL")

I get the following error

Exception has occurred: InvalidTickerSymbol 401 Client Error: Unauthorized for url: https://api.robinhood.com/quotes/AAPL/

I have no idea why and was wondering if someone has a solution

adithyabsk commented 1 year ago

Yeah--I can repro

Looks like some legacy code is no longer working--if someone wants to submit a PR. Happy to merge

RobertAgee commented 1 year ago

I believe this issue has been resolved. All symbols I've tried are working for me.