Skip to main content

PlaceOrderResp

statusint32

Order status code returned for this placement.

typeint32

Order type code.

symbolstring

Trading pair symbol.

postOnlyboolean

True if the order was accepted as maker-only.

orderSidestring

Order side: BUY or SELL.

Possible values: [BUY, SELL]

orderIdstring

Server-assigned order id.

clOrderIDstring

Client-assigned order id echoed from the request.

timestampint64

Server timestamp of the placement, in milliseconds since epoch.

pricedouble

Limit price submitted with the order.

avgFilledPricedouble

Average fill price across executions so far. Zero if nothing has filled.

messagestring

Human-readable message returned by the platform (e.g. rejection reason).

originalOrderSizeint64

Original order size in number of contracts as submitted.

currentOrderSizeint64

Current remaining order size after fills or amendments.

filledSizeint64

Size filled in the most recent match, in contracts.

totalFilledSizeint64

Cumulative filled size across all matches, in contracts.

remainingSizeint64

Remaining unfilled size, in contracts.

positionModestring

Position mode this order applies to (one-way or hedge).

Possible values: [ONE_WAY, HEDGE, ISOLATED]

positionDirectionstring

Position direction the order will affect: LONG or SHORT.

Possible values: [LONG, SHORT]

positionIdstring

Identifier of the position the order is bound to.

timeInForcestring

Time-in-force policy applied to the order (e.g. GTC, IOC, FOK).

PlaceOrderResp
{
"status": 0,
"type": 0,
"symbol": "string",
"postOnly": true,
"orderSide": "BUY",
"orderId": "string",
"clOrderID": "string",
"timestamp": 0,
"price": 0,
"avgFilledPrice": 0,
"message": "string",
"originalOrderSize": 0,
"currentOrderSize": 0,
"filledSize": 0,
"totalFilledSize": 0,
"remainingSize": 0,
"positionMode": "ONE_WAY",
"positionDirection": "LONG",
"positionId": "string",
"timeInForce": "string"
}