Skip to content

Conversation

@ali-behjati
Copy link
Contributor

@ali-behjati ali-behjati commented Jan 10, 2023

  • Update market hours to support FX/Metal properly
  • Improve PublisherPriceCheck log
  • Bump version to 0.1.3

@ali-behjati ali-behjati requested a review from thmzlt January 10, 2023 10:44
class HolidayCalendar:
def is_market_open(self, asset_type, dt):
# equity market
def is_market_open(self, asset_type: str, dt: datetime.datetime):
Copy link
Contributor

Choose a reason for hiding this comment

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

For the record, the quantlib library (which has Python bindings) has a robust implementation of "is the market open?" for markets across many countries (e.g. see this).

@ali-behjati ali-behjati merged commit 6fa6d3e into main Jan 10, 2023
@ali-behjati ali-behjati deleted the improvements_again branch January 10, 2023 11:58
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.

3 participants