FixedMarginOrderResponseDTO¶
stonepy.models.FixedMarginOrderResponseDTO.FixedMarginOrderResponseDTO
¶
Bases: ResponseModel
The response from the fixed margin trade request.
instruction_status_id
class-attribute
instance-attribute
¶
The ID indicating the instruction status (Pending, Accepted, etc.) . The table of lookup codes can be found at API Code Lookup Values .
instruction_status_reason_id
class-attribute
instance-attribute
¶
The ID corresponding to a more descriptive reason for the instruction status. The table of lookup codes can be found at API Code Lookup Values .
order_status_id
class-attribute
instance-attribute
¶
The ID indicating the order status (Pending, Accepted, Open, etc.) . The table of lookup codes can be found at Lookup Values .
order_status_reason_id
class-attribute
instance-attribute
¶
The ID corresponding to a more descriptive reason for the order status. The table of lookup codes can be found at Lookup Values .
order_id
class-attribute
instance-attribute
¶
The unique identifier associated to the order returned from the underlying trading system.
quantity
class-attribute
instance-attribute
¶
The trade quantity.
execution_price
class-attribute
instance-attribute
¶
The market price at which the trade was executed.
fixed_initial_margin
class-attribute
instance-attribute
¶
The fixed amount of trading resources used to place the trade.
take_profit_price
class-attribute
instance-attribute
¶
The optional price at which the trade is closed to take profits.
stop_loss_price
class-attribute
instance-attribute
¶
The market price at which the stop loss is triggered.
error_message
class-attribute
instance-attribute
¶
Contains the error message - this is only used when the Status = -1.