ApiOrderResponseDTO¶
stonepy.models.ApiOrderResponseDTO.ApiOrderResponseDTO
¶
Bases: ResponseModel
Response to an order request.
order_id
class-attribute
instance-attribute
¶
Order ID.
status_reason
class-attribute
instance-attribute
¶
Order status reason ID. The table of lookup codes can be found at Lookup Values .
status
class-attribute
instance-attribute
¶
Order status ID. The table of lookup codes can be found at Lookup Values .
order_type_id
class-attribute
instance-attribute
¶
Order type ID. The table of lookup codes can be found at Lookup Values .
price
class-attribute
instance-attribute
¶
Order fill price.
quantity
class-attribute
instance-attribute
¶
Order quantity
trigger_price
class-attribute
instance-attribute
¶
Trigger price, if applicable
commission_charge
class-attribute
instance-attribute
¶
Commission charge.
if_done
class-attribute
instance-attribute
¶
if_done: list[ApiIfDoneResponseDTO] | None = Field(
default=None, alias="IfDone"
)
List of If/Done orders.
guaranteed_premium
class-attribute
instance-attribute
¶
Premium for guaranteed orders.
oco
class-attribute
instance-attribute
¶
oco: ApiOrderResponseDTO | None = Field(
default=None, alias="OCO"
)
An order in an OCO relationship with this order.
associated_orders
class-attribute
instance-attribute
¶
associated_orders: ApiAssociatedResponseDTO | None = Field(
default=None, alias="AssociatedOrders"
)
Associated orders that are linked to this order. An associated order is linked to a net position rather than to specific individual trades.
associated
class-attribute
instance-attribute
¶
Flag to indicate if this is an associated order.