Replies: 1 comment
-
Appears to be a YF issue and not anything related to the package. You can always check behavior on YF to see if you're seeing something similar. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
The feature history has a very strange behavior with ticker '^SPX'
When you want a daily history, it returns only the current price
tickers = yf.Ticker('^SPX')
dfMTM= tickers.history(period = '1mo', interval = '1d')
but when you set the interval lower than daily, you get the whole period
df= tickers.history(period = '1mo', interval = '1h')
Beta Was this translation helpful? Give feedback.
All reactions