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

Extend the calendar day with session and settlement info #268

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gnvk
Copy link
Contributor

@gnvk gnvk commented Dec 6, 2023

Fixes #266

@gnvk gnvk requested review from Neal and sai-g December 6, 2023 07:13
@gnvk gnvk changed the title Extend the calendar day with session and settlment info Extend the calendar day with session and settlement info Dec 6, 2023
Comment on lines +181 to +182
SessionOpen string `json:"session_open"`
SessionClose string `json:"session_close"`
Copy link
Member

Choose a reason for hiding this comment

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

I wouldn't like to add the session open/close fields here as they were exposed to the API unintentionally and there is no good use for them either as they don't really mean much as far as trading goes.

We can't remove it from the API response as that would be a breaking change, but at least we avoid adding it here to avoid more breaking changes in future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you please add this comment to the original issue: #266?

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

Successfully merging this pull request may close these issues.

Additions to Calendar struct
2 participants