Open finisky opened 2 weeks ago
It works for yf 0.2.44, but not work for 0.2.46+.
Double-check this. I get opposite.
After issues #2068 #2100 , yf.download("MSFT")
returns by default now a DataFrame with an extra level Ticker
Either use
df = yf.download("MSFT", period='5d', multi_level_index=False)
or
df = yf.Ticker("MSFT").history()
Describe bug
talib cannot accept dataframe as input:
It works for yf 0.2.44, but not work for 0.2.46+.
Simple code that reproduces your problem
Debug log
N/A
Bad data proof
No response
yfinance
version0.2.48
Python version
3.10.13
Operating system
Ubuntu 22.04