-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix 30min interval of ^NSEI #2026
Comments
aleksfasting
added a commit
to aleksfasting/yfinance
that referenced
this issue
Aug 15, 2024
finds the offset of the opening time and adds it to quotes to find proper intervals
aleksfasting
added a commit
to aleksfasting/yfinance
that referenced
this issue
Aug 15, 2024
Solution that checks the offset of the opening time of the stock exchange (mod 30 minutes) and adds it to the quotes
ValueRaider
added a commit
that referenced
this issue
Aug 16, 2024
#2027 was merged. Issue is closed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fix 30min interval of ^NSEI and indian exchange
Regarding #1436 and #1447
Summary
The Indian stock exchange opens at 09.15, so when requesting the history of '^NSEI' by 30 minute intervals, the resampling will not include the first 15 minutes of the day. Note: This only happens to 30 min intervals because of the specific handling of 30 min.
Solution
@ivan23kor created a pull request some time ago to solve the issue, but the solution is now outdated.
I propose a solution that checks what time the exchange opens and adds that to the offset that ivan suggested:
The text was updated successfully, but these errors were encountered: