NewStopLimitOrderRequestDTO¶
stonepy.models.NewStopLimitOrderRequestDTO.NewStopLimitOrderRequestDTO
¶
Bases: RequestModel
A request for a stop/limit order.
order_id
class-attribute
instance-attribute
¶
The identifier of the order to update.
market_id
class-attribute
instance-attribute
¶
The unique identifier for the market.
currency
class-attribute
instance-attribute
¶
Currency to place order in.
auto_rollover
class-attribute
instance-attribute
¶
Flag to indicate whether the trade will automatically roll into the next contract when the current contract expires. Only applies to markets where the underlying is a futures contract.
direction
class-attribute
instance-attribute
¶
Direction identifier for order/trade, values supported are Buy or Sell .
position_method_id
class-attribute
instance-attribute
¶
Indicates the position of the trade. 1 == LongOrShortOnly, 2 == LongAndShort.
quantity
class-attribute
instance-attribute
¶
Size of the order/trade.
bid_price
class-attribute
instance-attribute
¶
Market prices are quoted as a pair (buy/sell or bid/offer) , the BidPrice is the lower of the two.
offer_price
class-attribute
instance-attribute
¶
Market prices are quoted as a pair (buy/sell or bid/offer) , the OfferPrice is the higher of the two.
audit_id
class-attribute
instance-attribute
¶
Unique identifier for each price tick. Read this value from the prices stream. Treat it as a unique but random string.
trading_account_id
class-attribute
instance-attribute
¶
The ID of the trading account associated with the trade/order request.
if_done
class-attribute
instance-attribute
¶
if_done: list[ApiIfDoneDTOv2] | None = Field(
default=None, alias="IfDone"
)
List of attached If/Done Orders that will be filled when the initial trade/order is triggered.
oco_order
class-attribute
instance-attribute
¶
oco_order: NewStopLimitOrderRequestDTO | None = Field(
default=None, alias="OcoOrder"
)
Corresponding OCO Order (One Cancels the Other) if one has been defined.
applicability
class-attribute
instance-attribute
¶
Identifier which relates to the expiry of the order/trade, i.e. GoodTillDate (GTD), GoodTillCancelled (GTC) or GoodForDay (GFD).
expiry_date_time_utc
class-attribute
instance-attribute
¶
The associated expiry DateTime for a pair of GoodTillDate If/Done orders.
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 is intended to be triggered.
reference
class-attribute
instance-attribute
¶
Reference identifier for the instruction.
allocation_profile_id
class-attribute
instance-attribute
¶
ID of the allocation profile to use if the client is a Trading Advisor.
order_reference
class-attribute
instance-attribute
¶
The order reference identifier.
source
class-attribute
instance-attribute
¶
The origination source for this order i.e. FIX/MT4/G2.