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

post_market_open - adjustment to post_market_end_time #12

Open
spenceroulman opened this issue Nov 11, 2020 · 0 comments
Open

post_market_open - adjustment to post_market_end_time #12

spenceroulman opened this issue Nov 11, 2020 · 0 comments

Comments

@spenceroulman
Copy link

First off - this work is a HUGE help!!! I have been learning out to trade and code at the same time. Your work and videos are very helpful.

This should be a simple one...

I noticed that the post_market_open was acting strange. Upon investigation I realized that the post_market_end_time was set to "hour = 00". That would adjust now() to today at 00:00:00. By shifting the post_market_end_time to "hour=23, minute=59, second=59", the post_market_open works as intended. I would suspect that most people would accept the 1 second error at the very end of the session.

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

1 participant