robinhood-unofficial / pyrh

Python Framework to make trades with the unofficial Robinhood API
https://pyrh.readthedocs.io/en/latest/
MIT License
1.79k stars 603 forks source link

get_quote_list fails to split parameter 'stock' when multiple tickers are given #243

Closed Calrider closed 4 years ago

Calrider commented 4 years ago

Checklist

Description

Robinhood.get_quote_list fails when given a single stock ticker or multiple stock tickers

Steps/Code to Reproduce

from pyrh import Robinhood

rh = Robinhood()
rh.login(username='xxxx', password='xxxx')

rh.get_quote_list(stock='MSFT') # raises KeyError: ''
rh.get_quote_list(stock='MSFT,XOM') #  raises RH_exception.InvalidTickerSymbol()

-->

Results

list of stock data

Versions

ziegenbalg commented 3 years ago

Hello @Calrider, I'm running into this bug too. Is there a reason you closed this ticket? Did you find a solution? Thank you!