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

Add ExchangeCalendar.is_open_at_time #199

Merged
merged 1 commit into from Jun 22, 2022
Merged

Add ExchangeCalendar.is_open_at_time #199

merged 1 commit into from Jun 22, 2022

Conversation

maread99
Copy link
Collaborator

Adds new is_open_at_time calendar method, test and includes example to calendar_methods.ipynb.

Also

  • corrects minutes.ipynb text that identifies which session break bounds are considered as trading minutes for a given side.

Adds new `is_open_at_time` calendar method, adds tests and adds
example to calendar_methods.ipynb

Also
- corrects `minutes.ipynb` text that identifies which session break
bounds are considered as trading minutes for a given side.
@maread99 maread99 added the enhancement New feature or request label Jun 21, 2022
Comment on lines +165 to +168
"* **\"left\"** - treat session open and break-end as trading minutes,\n",
" do not treat session close or break-start as trading minutes.\n",
"* **\"right\"** - treat session close and break-start as trading minutes,\n",
" do not treat session open or break-end as tradng minutes.\n",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@maread99 maread99 merged commit 27de122 into v4 Jun 22, 2022
@maread99 maread99 deleted the working-v4 branch June 22, 2022 07:01
This was referenced Jun 22, 2022
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants