mcdallas / wallstreet

Real time stock and option data.
MIT License
1.38k stars 203 forks source link

Import Failure #5

Closed EigenEngineer closed 7 years ago

EigenEngineer commented 7 years ago

The statement "import wallstreet" returns an error message.

" File "C:\Anaconda2\lib\site-packages\wallstreet\wallstreet.py", line 125 raise ValueError('Possible expiration dates for this stock are:', self.expirations) from None"

EigenEngineer commented 7 years ago

perhaps this is not downward compatible with python 2

mcdallas commented 7 years ago

Yes, the "raise Exception from None" syntax only works in Python 3. I haven't really tested this library with Python 2.