asynctradier.common.calendar module

class asynctradier.common.calendar.Calendar(**kwargs)[source]

Bases: object

Represents a calendar object that contains information about market status and trading hours for a specific date.

to_dict()[source]

Converts the Calendar object to a dictionary.

Returns:

A dictionary representation of the Calendar object.

Return type:

dict