ApiStopLimitOrderDTOv2¶
stonepy.models.ApiStopLimitOrderDTOv2.ApiStopLimitOrderDTOv2
¶
Bases: ResponseModel
Represents a stop/limit order.
guaranteed
class-attribute
instance-attribute
¶
Flag to determine whether an order is guaranteed to trigger and fill at the associated trigger price
trigger_price
class-attribute
instance-attribute
¶
Price at which the order should be triggered. This is NULL if the order is a trailing stop and TrailingDistance is specified instead
expiry_date_time_utc
class-attribute
instance-attribute
¶
The associated expiry DateTime for a pair of GoodTillDate If/Done orders defined in UNIX time format
applicability
class-attribute
instance-attribute
¶
Identifier which relates to the expiry of the order/trade, i.e. GoodTillDate (GTD), GoodTillCancelled (GTC) or GoodForDay (GFD)
parent_order_id
class-attribute
instance-attribute
¶
This represents the OrderID of any orders that the current order is related to. If there is no parent order as the order in question is the parent order, then the value is NULL
trailing_distance
class-attribute
instance-attribute
¶
Used to set the trail distance in points for trailing stop orders. This is NULL if TriggerPrice is specified and it is not a trailing stop
associated
class-attribute
instance-attribute
¶
Flag to indicate if this is an associated order. An associated order is linked to a net position rather than to specific individual trades
trigger_level_calculation_type_id
class-attribute
instance-attribute
¶
trigger_level_calculation_type_id: int | None = Field(
default=None, alias="TriggerLevelCalculationTypeId"
)
Trigger level calculation type identifier
trigger_level_calculation_value
class-attribute
instance-attribute
¶
trigger_level_calculation_value: Decimal | None = Field(
default=None, alias="TriggerLevelCalculationValue"
)
Trigger level calculation value