Skip to content

ApiOrderActionResponseDTO

stonepy.models.ApiOrderActionResponseDTO.ApiOrderActionResponseDTO

Bases: ResponseModel

Response to an order request.

actioned_order_id class-attribute instance-attribute

actioned_order_id: int | None = Field(
    default=None, alias="ActionedOrderId"
)

Actioned Order ID.

actioning_order_id class-attribute instance-attribute

actioning_order_id: int | None = Field(
    default=None, alias="ActioningOrderId"
)

Actioning Order ID.

quantity class-attribute instance-attribute

quantity: Decimal | None = Field(
    default=None, alias="Quantity"
)

Quantity.

profit_and_loss class-attribute instance-attribute

profit_and_loss: Decimal | None = Field(
    default=None, alias="ProfitAndLoss"
)

Profit or Loss.

profit_and_loss_currency class-attribute instance-attribute

profit_and_loss_currency: str | None = Field(
    default=None, alias="ProfitAndLossCurrency"
)

Profit or Loss Currency.

order_action_type_id class-attribute instance-attribute

order_action_type_id: int | None = Field(
    default=None, alias="OrderActionTypeId"
)

Indicates the action performed by the order, for example: partial close, fully close and so on. The table of lookup codes can be found at API Code Lookup Values .