yfinance
yfinance copied to clipboard
ticker "HSTECH.HK" , history data not showing ,but only current day data listed
Describe bug
for ticker "HSTECH.HK", it is a index in HONGKONG market, should be ^HTI , and there is an error to get history data while only today data is showing. https://hk.finance.yahoo.com/quote/HSTECH.HK/history?p=HSTECH.HK
Simple code that reproduces your problem
1 Failed download: ['HSTECH.HK']: Exception("%ticker%: Period 'max' is invalid, must be one of ['1d', '5d']")
Debug log
is bad data
Bad data proof
yfinance version
0.2.32
Python version
No response
Operating system
No response
For proof you need to show that Yahoo has the data.
For this ticker Yahoo provides only last price. Valid period for request is one year