lit26 / finvizfinance

Finviz analysis python library.
https://finvizfinance.readthedocs.io/en/latest/
MIT License
515 stars 85 forks source link

FinViz Fundamentals #43

Closed dubleigh closed 2 years ago

dubleigh commented 2 years ago

Hello, It seems as if the FinViz fundamentals endpoint has lost functionality, and I can't seem to get the new code to work correctly

Here is the code:

from finvizfinance.quote import finvizfinance
stock = finvizfinance(ticker)
stock_fundamentals = stock.ticker_fundament()
print(stock_fundamentals)

Here is the error: AttributeError: 'finvizfinance' object has no attribute 'ticker_fundament

Thank you!

lit26 commented 2 years ago

image Please check the package version you are using.

dubleigh commented 2 years ago

Thank you! Just force reinstalled the package and that fixed it.

lit26 commented 2 years ago

I guess you used an older package version while the code is the latest.