You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR $BIRLAPREC.BO: possibly delisted; no price data found (1d 2024-01-31 -> 2024-02-01)
ERROR:yfinance: $BIRLAPREC.BO: possibly delisted; no price data found (1d 2024-01-31 -> 2024-02-01)
Simple code that reproduces your problem
import yfinance as yf
import datetime as datetime0
from datetime import datetime
yf.enable_debug_mode()
stock=yf.Ticker('BIRLAPREC.BO')
date=datetime.strptime('31-Jan-24','%d-%b-%y').date()
print(yf.version)
stock.history(start=date,end=date+datetime0.timedelta(days=1))
I am not getting the same error @tapadeep. Do you filter the data? The data will be returned at midnight for the time zone +5:30. The data is being requested from here
Describe bug
Simple code that reproduces your problem
import yfinance as yf
import datetime as datetime0
from datetime import datetime
yf.enable_debug_mode()
stock=yf.Ticker('BIRLAPREC.BO')
date=datetime.strptime('31-Jan-24','%d-%b-%y').date()
print(yf.version)
stock.history(start=date,end=date+datetime0.timedelta(days=1))
Debug log
`
Bad data proof
yfinance
version0.2.51
Python version
3.10.12
Operating system
Ubuntu 22.04.3 LTS
The text was updated successfully, but these errors were encountered: