Skip to content

ApiTradingDayTimesDTO

stonepy.models.ApiTradingDayTimesDTO.ApiTradingDayTimesDTO

Bases: ResponseModel

Contains start and end time information for market specific events such as trading and pricing.

day_of_week class-attribute instance-attribute

day_of_week: int | None = Field(
    default=None, alias="DayOfWeek"
)

Day of the week at which the times are valid. Sunday = 0, Monday = 1, ..., Saturday = 6.

start_time_utc class-attribute instance-attribute

start_time_utc: ApiDateTimeOffsetDTO | None = Field(
    default=None, alias="StartTimeUtc"
)

Start of the market time in both UTC and local time (using Offset property)

end_time_utc class-attribute instance-attribute

end_time_utc: ApiDateTimeOffsetDTO | None = Field(
    default=None, alias="EndTimeUtc"
)

End of the market time in both UTC and local time (using Offset property)