lit26 / finvizfinance

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

BUG: #72

Closed Eleeot closed 1 year ago

Eleeot commented 1 year ago

finvizfinance version checks

Reproducible Example

stock_fundament = stock.ticker_fundament()

#Currently produces a index error: list index out of range

Issue Description

stock_fundament = stock.ticker_fundament() does not currently function. Index error: list index out of range. I believe this is due to Finviz updating their website.

Expected Behavior

The expexted behavior is that the finviz fundementals for a give stock ticker would be added to stock_funament.

Installed Versions

Replace this line with the output of finvizfinance.__version__4.5.0
itayt23 commented 1 year ago

I'm getting the same problem. I would love to hear about a solution

VadimKovalchuk commented 1 year ago

I've described the root cause https://github.com/lit26/finvizfinance/issues/71 But not aware how force back day mode via beautiful soup

lit26 commented 1 year ago

73 This will fix the issue. I will probably make a new release soon.

ericwbzhang commented 1 year ago

.ticker_outer_ratings() is probably subject to the same issue.

nicklasti commented 1 year ago

I am having this issue as well

lit26 commented 1 year ago

Should be fixed in #73. Release in v0.14.6rc1. Thanks for reporting.