PlacedOrder
An object that contains information about a placed order.
Properties
avgPrice
OptionalAverage fulfilled price for the order (double)
Type
number
customFields
OptionalAn object that contains the results of broker specific user inputs (for example a digital signature). There are two possible kinds of custom fields: an input field with a checkbox and a custom combobox.
Type
duration
OptionalOrder duration
Type
filledQty
OptionalFilled order quantity (double)
Type
number
id
Order ID
Type
string
limitPrice
OptionalPrice for the limit order (double)
Type
number
message
OptionalMessage describing the state of the order
Type
qty
Order quantity (double)
Type
number
side
Order side (buy or sell)
Type
Side
status
Order status
Type
stopLoss
OptionalStop loss price (double). Available when Brackets are enabled
Type
number
stopPrice
OptionalPrice for the stop order (double)
Type
number
stopType
OptionalStop Loss type. It should be set to 1 (StopType.TrailingStop) for trailing stop orders.
Type
symbol
Symbol name
Type
string
takeProfit
OptionalTake profit price (double). Available when Brackets are enabled
Type
number
trailingStopPips
OptionalTrailing stop Pips value (double). Available when Brackets are enabled
Type
number
type
Order type
Type
updateTime
OptionalLast update time (unix timestamp in milliseconds)
Type
number