mcdallas / wallstreet

Real time stock and option data.
MIT License
1.24k stars 197 forks source link

API change? #21

Closed leotam closed 5 years ago

leotam commented 5 years ago

Ran below in the python 3.6 Conda container. Test isn't passing and seemed to work previously

s = Stock('GE',exchange='NYSE',source='google') Traceback (most recent call last): File "", line 1, in File "/opt/conda/lib/python3.6/site-packages/wallstreet/wallstreet.py", line 66, in init self._google(quote, exchange) File "/opt/conda/lib/python3.6/site-packages/wallstreet/wallstreet.py", line 114, in _google raise LookupError('Ticker symbol not found. Try adding the exchange parameter')

s = Stock('GE',exchange='NYSE',source='yahoo') Traceback (most recent call last): File "", line 1, in File "/opt/conda/lib/python3.6/site-packages/wallstreet/wallstreet.py", line 68, in init self._yahoo(quote, exchange) File "/opt/conda/lib/python3.6/site-packages/wallstreet/wallstreet.py", line 80, in _yahoo raise LookupError('Ticker symbol not found.') LookupError: Ticker symbol not found.