ClosePositionResp
Status code of the closing order.
Event type code of the closing order response.
Market symbol of the closing order (e.g. BTC-PERP).
Whether the closing order is post-only.
Side of the closing order (opposite to the position direction).
Possible values: [BUY, SELL]
Server-assigned order id of the closing order.
Client-assigned order id echoed back, if provided in the request.
Server timestamp of the response, in milliseconds since epoch.
Requested limit price of the closing order (0 for market orders).
Average fill price achieved so far.
Human-readable message describing the result.
Original order size at submission, in contracts.
Current remaining size on the order book, in contracts.
Size filled by the most recent fill event, in contracts.
Total size filled since order submission, in contracts.
Size still outstanding on the order, in contracts.
Position mode of the closed position (ONE_WAY or HEDGE).
Possible values: [ONE_WAY, HEDGE, ISOLATED]
Position direction of the closed position (LONG or SHORT).
Possible values: [LONG, SHORT]
Identifier of the position being closed.
Time-in-force applied to the closing order (e.g. GTC, IOC, FOK).
{
"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"
}