Calendar#

Get Market Calendar#

BrokerClient.get_calendar(filters: Optional[GetCalendarRequest] = None) Union[List[Calendar], Dict[str, Any]]#

The calendar API serves the full list of market days from 1970 to 2029. It can also be queried by specifying a start and/or end time to narrow down the results.

In addition to the dates, the response also contains the specific open and close times for the market days, taking into account early closures.

Parameters:

filters – Any optional filters to limit the returned market days

Returns:

A list of Calendar objects representing the market days.

Return type:

List[Calendar]