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

Invalid Ticker symbol error on every single request #294

Closed
TannerTek opened this issue Oct 26, 2022 · 2 comments
Closed

Invalid Ticker symbol error on every single request #294

TannerTek opened this issue Oct 26, 2022 · 2 comments

Comments

@TannerTek
Copy link

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
Copy link
Member

Yeah--I can repro

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

@RobertAgee
Copy link
Contributor

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

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

No branches or pull requests

3 participants