ValueRaider / yfinance-cache

Caching wrapper for yfinance module. Intelligent caching, not dumb caching of web requests.
MIT License
28 stars 10 forks source link

Bug: Progress bar enumerator not defined #61

Closed crypdick closed 3 months ago

crypdick commented 4 months ago

Using yf.download(ticker_list, progress=True) results in an error due to the variable i not being defined:

 File ".conda/lib/python3.12/site-packages/yfinance_cache/yfc_multi.py", line 93, in download
    yfcu.display_progress_bar(i + 1, len(tickers))
                              ^
UnboundLocalError: cannot access local variable 'i' where it is not associated with a value
ValueRaider commented 4 months ago

Is fixed in pending PR #46