-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_historical_price_data() end_date #177
Comments
I asked this because yfinance returns the current day when fetching history data. |
@typhoon71 when you mentioned yfinance you might want to ask the question with that repo which uses related data but its a different repo. |
No, I mentioned yfinance because I use that too, and its behaviour is different from yahoofinacials. An historical price set should return the current day if asked so - if market is still open it could be OK to not do that. |
@typhoon71 look into the '_get_historical_data' method maybe that will give you what you are looking for. |
I'm trying to use get_historical_price_data() to get price data and noticed end_date is skipped if it's current day data.
Data stops one day before - I don't think it's intended.
I'm fetching CSSPX.MI, and the exchange was open today - get_stock_price_data() gets current data.
Any idea?
The text was updated successfully, but these errors were encountered: