georgejs / nasdaq_stock

nasdaq stock retriever
MIT License
3 stars 4 forks source link

AttributeError: module 'nasdaq_stock' has no attribute 'stock' #1

Closed zurgeg closed 4 years ago

zurgeg commented 4 years ago

I was using this module in Google Colab (ipython) when this happened:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-4-15e276ba5899> in <module>()
      1 import nasdaq_stock
      2 ticker = 'aapl'
----> 3 stock_data = nasdaq_stock.stock(ticker)

AttributeError: module 'nasdaq_stock' has no attribute 'stock'

Anyway to fix this?? Thanks in advance

georgejs commented 4 years ago

Hi Zurgeg, It's been a while since I contributed to this project. There could have been some changes from the source.

I will spend sometime to try an correct this error.

zurgeg commented 4 years ago

Hi, I fix this error in PR #2. Be sure to create a new version after pulling these changes in!

zurgeg commented 4 years ago

since you merged this PR i am going to close this issue!