Skip to content

OrderHistoryDTO

stonepy.models.OrderHistoryDTO.OrderHistoryDTO

Bases: ResponseModel

Information about order history.

market_id class-attribute instance-attribute

market_id: int | None = Field(
    default=None, alias="MarketId"
)

The unique identifier for the market

market_name class-attribute instance-attribute

market_name: str | None = Field(
    default=None, alias="MarketName"
)

The market name

created_date_time_utc class-attribute instance-attribute

created_date_time_utc: Timestamp | None = Field(
    default=None, alias="CreatedDateTimeUtc"
)

The date and time the order was created

direction_id class-attribute instance-attribute

direction_id: str | None = Field(
    default=None, alias="DirectionId"
)

The direction, Buy or Sell

original_quantity class-attribute instance-attribute

original_quantity: Decimal | None = Field(
    default=None, alias="OriginalQuantity"
)

The original size of the order before user modification.

trigger_price class-attribute instance-attribute

trigger_price: Decimal | None = Field(
    default=None, alias="TriggerPrice"
)

The marked to market price at which the order will trigger at

expiry_type_id class-attribute instance-attribute

expiry_type_id: int | None = Field(
    default=None, alias="ExpiryTypeId"
)

The unique identifier for the market

expiry class-attribute instance-attribute

expiry: Timestamp | None = Field(
    default=None, alias="Expiry"
)

The date and time when the order expires

status_id class-attribute instance-attribute

status_id: int | None = Field(
    default=None, alias="StatusId"
)

Status ID of order (as represented in the trading system) . The table of lookup codes can be found at Lookup Values .

order_type_id class-attribute instance-attribute

order_type_id: int | None = Field(
    default=None, alias="OrderTypeId"
)

The type of the order: trade, stop or limit. The table of lookup codes can be found at Lookup Values

currency_id class-attribute instance-attribute

currency_id: int | None = Field(
    default=None, alias="CurrencyId"
)

The trade currency identifier

order_id class-attribute instance-attribute

order_id: int | None = Field(default=None, alias='OrderId')

The unique identifier for the order

filled_quantity class-attribute instance-attribute

filled_quantity: Decimal | None = Field(
    default=None, alias="FilledQuantity"
)

The filled quantity of a product

client_account_id class-attribute instance-attribute

client_account_id: int | None = Field(
    default=None, alias="ClientAccountId"
)

The identifier of the Client Account associated with the order

execution_policy_id class-attribute instance-attribute

execution_policy_id: int | None = Field(
    default=None, alias="ExecutionPolicyId"
)

Execution policy identifier

fill_level class-attribute instance-attribute

fill_level: Decimal | None = Field(
    default=None, alias="FillLevel"
)

The fill level