Authorizations
The Client ID that owns the API Key for the request
The pass phrase affiliated with the API Key
A HMAC SHA-256 signature using the API Key secret on the string TIMESTAMP, METHOD, REQUEST_PATH, BODY
The timestamp of when the request is being made
Path Parameters
The exchange order ID or Client Order ID of the order
Query Parameters
Identifies the portfolio by UUID (e.g., 892e8c7c-e979-4cad-b61b-55a197932cf1
) or portfolio ID (e.g., 5189861793641175
)
Response
Order canceled
A unique identifier assigned by the exchange
43877033468085760
A unique identifier assigned by the client
"ABC123"
The side of the transaction
BUY
, SELL
"BUY"
The unique identifier of the instrument the order wants to transact in
2562519737567269
The UUID of the instrument the order wants to transact in
"359f66d8-4235-47c3-9733-0fbfe2cfaa0a"
The name of the instrument the order wants to transact in
"BTC-PERP"
The unique identifier of the portfolio the order was submitted under
1724343681801273
The UUID of the portfolio the order was submitted under
"b80ec69b-1229-4bcf-a6a8-c506ffd74c20"
The type of the order
LIMIT
, MARKET
, STOP_LIMIT
, STOP
, TAKE_PROFIT_STOP_LOSS
"LIMIT"
The max or min price limit in quote asset units to buy or sell at (respectively). Only used for limit and stop limit order types.
20215.53
The market price that activates a stop order
20015.53
The limit price at which the TP/SL stop leg order will be placed. Only used for TP/SL order type.
20015.53
The amount in base asset units
1.5423
The time in force applied to an order. A Good Till Cancel (GTC) can last up to 30 days. An Immediate or Cancel (IOC) attempts to fill as much of the order as possible and/or cancels immediately when no resting orders meet or improve the order's price limit. A Fill or Kill (FOK) is canceled without filling if it does not completely fill immediately. This will not be populated for assignments
GTC
, IOC
, GTT
, FOK
"GTC"
The expiration time for orders with the time in force set to GTT. Uses ISO-8601 format (e.g., 2023-03-16T23:59:53Z).
"2023-03-16T23:59:53.000Z"
Specifies the behavior for self match handling. None disables the functionality, new cancels the newest order, and both cancels both
NONE
, AGGRESSING
, RESTING
, BOTH
, DECREMENT_AND_CANCEL
"AGGRESSING"
The most recent type of event that happened to the order
NEW
, TRADE
, CANCELED
, REPLACED
, PENDING_CANCEL
, REJECTED
, PENDING_NEW
, EXPIRED
, PENDING_REPLACE
, STOP_TRIGGERED
"TRADE"
"2023-03-16T23:59:53.000Z"
"2023-03-16T23:59:53.000Z"
The type of the order
WORKING
, DONE
"WORKING"
The amount of the order remaining open on the exchange
The traded quantity on the order
The average price that the order has traded at so far
The exchange fee affiliated with the trade (only for trade events)
Indicates that the order was submitted with the post_only
instruction
Indicates that the order was submitted with the close_only
instruction
Specifies the algorithmic trading strategy for the order
TWAP
"TWAP"
A text message that gets populated for canceled orders
"client cancel"