ValueRaider
ValueRaider
post the full output from `yf.enable_debug_mode()`
No, put it at top. Pointless to enable after the fetch.
``` ... DEBUG url=https://query2.finance.yahoo.com/v10/finance/quoteSummary/HMC DEBUG params={'modules': 'financialData,quoteType,defaultKeyStatistics,assetProfile,summaryDetail', 'corsDomain': 'finance.yahoo.com', 'formatted': 'false', 'symbol': 'HMC'} ... ``` This will be different to the webpage you're comparing against.
Firefox -> F12 -> network tab -> refresh
No, what I said is how you get the Yahoo API endpoint. Look in the network tab.
yfinance sends web queries. What I explained with Firefox is a way to reverse-engineer what new request yfinance needs. Are you expecting code you can copy and paste?
Provide working code. I can't reproduce bug.
Next time run with yf.enable_debug_mode()
These are the lines I wanted: ``` DEBUG SPY: yfinance received OHLC data: 1993-01-29 14:30:00 -> 2025-03-12 13:30:00 DEBUG SPY: OHLC after cleaning: 1993-01-29 09:30:00-05:00 -> 2025-03-12 09:30:00-04:00 DEBUG SPY:...
> yfinance version 0.2.28 @pangjac that's your problem