OrderResp
Server-assigned order id.
Client-assigned order id echoed from placement.
Trading pair symbol.
Order side: BUY or SELL.
Possible values: [BUY, SELL]
Order type code.
Limit price of the order.
Original order size in number of contracts at placement.
Current remaining order size in number of contracts after fills and amendments.
Cumulative filled size in number of contracts.
Remaining unfilled size in number of contracts.
Average fill price across executions so far.
Human-readable order state name.
Server timestamp of the last state change, in milliseconds since epoch.
True if the order can only reduce an existing position.
Position mode this order applies to (one-way or hedge).
Possible values: [ONE_WAY, HEDGE, ISOLATED]
Position direction the order affects: LONG or SHORT.
Possible values: [LONG, SHORT]
Identifier of the position the order is bound to.
True if the order is a close-position order.
Lower bound of the peg order price band.
Upper bound of the peg order price band.
Offset applied to the pegged reference price.
Current pegged working price.
True if this order is a conditional trigger order that has not yet fired.
True once the trigger condition has fired.
Configured trigger price.
Original submitted trigger price prior to any amendment.
Order type code the trigger will submit once fired.
Trailing distance for the trigger's trailing-stop behavior.
Stop price used by the triggered order once activated.
True if last-traded-price is used as the trigger reference, otherwise mark price is used.
Trailing distance the stop maintains from the best reached reference price.
How trailValue is interpreted (absolute price offset or percentage).
Possible values: [DISTANCE, PERCENTAGE]
Price at which trailing or scheduled logic activates.
Reference price type used to evaluate the activation price.
Possible values: [INDEX_PRICE, LAST_PRICE, MARK_PRICE]
takeProfitOrder object
Attached take-profit trigger, if any.
Server-assigned order id of the attached trigger order.
Order side of the trigger leg: BUY or SELL.
Possible values: [BUY, SELL]
Price at which this trigger fires.
True if last-traded-price is used as the trigger reference, otherwise mark price is used.
stopLossOrder object
Attached stop-loss trigger, if any.
Server-assigned order id of the attached trigger order.
Order side of the trigger leg: BUY or SELL.
Possible values: [BUY, SELL]
Price at which this trigger fires.
True if last-traded-price is used as the trigger reference, otherwise mark price is used.
Cancel duration in milliseconds derived from time-in-force. Zero for GTC.
Time-in-force policy applied to the order (e.g. GTC, IOC, FOK).
Portion of the order size displayed on the book; the remainder is hidden.
Contract size (units of underlying per contract) for this symbol.
True if the order is a wrapper that spawns child orders (e.g. activation wrappers).
Order id of the peer OCO leg, if this order is part of an OCO pair.
Fine-grained order detail type classification.
Possible values: [TWAP, PARTIAL_LIQUIDATION, FORCED_MARKET_BUY, FORCED_MARKET_SELL]
Notional value at placement, computed from original size, contract size and reference price.
Current notional value, computed from remaining size, contract size and current working price.
{
"orderId": "string",
"clOrderId": "string",
"symbol": "string",
"orderSide": "BUY",
"type": 0,
"orderPrice": 0,
"originalOrderSize": 0,
"currentOrderSize": 0,
"totalFilledSize": 0,
"remainingSize": 0,
"averageFillPrice": 0,
"orderState": "string",
"timestamp": 0,
"reduceOnly": true,
"positionMode": "ONE_WAY",
"positionDirection": "LONG",
"positionId": "string",
"closeOrder": true,
"pegPriceMin": 0,
"pegPriceMax": 0,
"pegPriceDeviation": 0,
"currentPegPrice": 0,
"triggerOrder": true,
"triggered": true,
"triggerPrice": 0,
"triggerOriginalPrice": 0,
"triggerOrderType": 0,
"triggerTrailingStopDeviation": 0,
"triggerStopPrice": 0,
"triggerUseLastPrice": true,
"trailValue": 0,
"trailValueType": "DISTANCE",
"activationPrice": 0,
"activationPriceType": "INDEX_PRICE",
"takeProfitOrder": {
"orderId": "string",
"side": "BUY",
"triggerPrice": 0,
"triggerUseLastPrice": true
},
"stopLossOrder": {
"orderId": "string",
"side": "BUY",
"triggerPrice": 0,
"triggerUseLastPrice": true
},
"cancelDuration": 0,
"timeInForce": "string",
"stealth": 0,
"contractSize": 0,
"wrapperOrder": true,
"ocoPeerOrderId": "string",
"orderDetailType": "TWAP",
"originalOrderValue": 0,
"currentOrderValue": 0
}