Skip to content
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

[Question]: How to get hourly historical data starting from 9:30am (NY time)? #397

Open
3 tasks done
JLXIA opened this issue Jan 11, 2024 · 1 comment
Open
3 tasks done

Comments

@JLXIA
Copy link

JLXIA commented Jan 11, 2024

Question form pre-submit checklist.

  • I have searched the existing issues to ensure there isn't already an issue about this question.
  • My question has to do with the Python SDK and isn't a general question about the API. (If it is please open your issue here)
  • My question isn't about how to do a specific algorithm or asking for trade advice (answers to these are outside the scope of this repo).

Question

When using get_stock_bars for hourly data, it always starts from fully hour (e.g. 8:00, 9:00), but the stock market opens at 9:30am, how can I get bars from half of the hour?

@bossdown123
Copy link

the market closes at a round hour and opens at a half hour either you will need to request the half hour candle before the round 10:00 the 1 hour candle from 9:00 or the hour after 3:30 if you start at an odd hour from 9:30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants