Skip to content

ApiMarketSpreadDTO

stonepy.models.ApiMarketSpreadDTO.ApiMarketSpreadDTO

Bases: ResponseModel

Contains market spread value at specific time points. Where markets have different spreads during a specific time period, multiple items are returned in the array with the SpreadTimeUtc property indicating when that spread value starts.

spread_time_utc class-attribute instance-attribute

spread_time_utc: StoneXDateTime | None = Field(
    default=None, alias="SpreadTimeUtc"
)

The time and date in for the spread value in UTC, interchangeable to local time using local time offset

spread class-attribute instance-attribute

spread: Decimal | None = Field(default=None, alias="Spread")

The market spread value

spread_units class-attribute instance-attribute

spread_units: int | None = Field(
    default=None, alias="SpreadUnits"
)

The market spread value's unit type, where Percentage == 26, and Points = 27