ValueRaider
ValueRaider
If this is on Yahoo website somewhere, show us. If not, is not possible.
I can't reproduce integer index - is that the problem? ``` >>> yf.download('SPY', session=session) [*********************100%***********************] 1 of 1 completed Price Adj Close Close High Low Open Volume Ticker SPY SPY...
If you are only fetching one symbol, why not use `yf.Ticker('SPY').history()`? @antoniouaa @cyrom0
~But `True` is still broken, it should still contain a `DatetimeIndex`.~
You're right. I was going purely off the screenshot showing integer index.
It seems raising awareness of `Ticker.history` solves this. Use `download` in pipelines that expect multiple tickers.
I'm confused how `from .screener import Screener` is causing `Screener._fetch_and_parse()` to execute. It shouldn't be executing on import. I can't reproduce (Linux + Python 3.12). @ericpien
Fix merged and released. Is there a simple action/workflow we can add to avoid a repeat? Ideally not running all the unit tests because that involves dozens of fetches.
> but the data is exactly the same as before. What should change?
`yfinance/cache.py` already has logic for coping with a read-only cache folder, so probably it can be extended to also handle sqlite missing: https://github.com/ranaroussi/yfinance/blob/dfe3ec8df7be8da5e6addc629ed8dfa95e2f896d/yfinance/cache.py#L133