ApiStopLimitOrderDTO > ApiOrderDTO

Description

Represents a stop/limit order.

 

Properties

Name Type Description
Guaranteed boolean

Flag to determine whether an order is guaranteed to trigger and fill at the associated trigger price.

TriggerPrice number
format decimal

Price at which the order should be triggered. This is NULL if the order is a trailing stop and TrailingDistance is specified instead.

ExpiryDateTimeUTC string
format wcf-date
nullable true

The associated expiry DateTime for a pair of GoodTillDate If/Done orders defined in UNIX time format.

Applicability string

Identifier which relates to the expiry of the order/trade, i.e. GoodTillDate (GTD), GoodTillCancelled (GTC) or GoodForDay (GFD).

ParentOrderId integer
nullable true

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.

TrailingDistance number
format decimal
nullable true
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 boolean Flag to indicate if this is an associated order. An associated order is linked to a net position rather than to specific individual trades.
TriggerLevelCalculationTypeId integer
nullable true
-
TriggerLevelCalculationValue number
format decimal
nullable true
-

 

Last updated: 10 March 2023

 

 

 

Copyright © 2024 GAIN Capital