Order Entry
Order entry operations
Create a new order (IOC, GTC, SL, TP)
1747927089946Trading symbol (e.g., BTCRUSDPERP, WETHRUSD)
BTCRUSDPERPPattern: ^[A-Za-z0-9]+$1747927089946Whether this is a buy order
true43000.00Pattern: ^-?\d+(\.\d+)?([eE][+-]?\d+)?$1.0Pattern: ^\d+(\.\d+)?([eE][+-]?\d+)?$Order type, (LIMIT = Limit, TP = Take Profit, SL = Stop Loss)
LIMITPossible values: Order time in force, exclusively used for LIMIT orders
GTCPossible values: Trigger price, only for TP/SL orders
43000.00Pattern: ^-?\d+(\.\d+)?([eE][+-]?\d+)?$Whether this is a reduce-only order, exclusively used for LIMIT IOC orders.
falseSee signatures and nonces section for more details on how to generate.
0x1234...Order nonce, see signatures and nonces section for more details.
12345678900x6c51275fd01d5dbd2da194e92f920f8598306df2Pattern: ^0x[a-fA-F0-9]{40}$Expiration timestamp (exclusively for PERP IOC orders and all SPOT orders). In seconds since epoch. The order will only be filled before this timestamp.
1747927089946Client-provided order ID for tracking and correlation. Optional field that allows clients to assign their own unique identifier to orders.
1747927089946Order creation response
Bad request
Internal server error
Cancel an existing order
Internal matching engine order ID to cancel. Provide either orderId OR clientOrderId, not both. For spot markets, this is the order ID returned in the CreateOrderResponse.
490346525705109504Client-provided order ID for tracking and correlation. Provide either orderId OR clientOrderId, not both. This is the same clientOrderId provided in CreateOrderRequest.
1747927089946Account ID that owns the order. Required for spot markets.
1747927089946Market symbol for the order.Required for spot market orders. If not provided, assumes perp market for backwards compatibility.
BTCRUSDPERPPattern: ^[A-Za-z0-9]+$See signatures section for more details on how to generate.
0x5678...See signatures and nonces section for more details. Compulsory for spot orders.
1234567890Expiration timestamp (exclusively for SPOT orders). In seconds since epoch.
1747927089946Order cancellation response
Bad request
Internal server error
Cancel all orders matching the specified filters (mass cancel)
Request to cancel all orders matching the specified filters
Account ID to cancel orders for.
1747927089946Symbol to cancel orders for. If not specified, cancels orders for all symbols.
BTCRUSDPERPPattern: ^[A-Za-z0-9]+$See signatures and nonces section for more details on how to generate.
0x1234...See signatures and nonces section for more details.
1234567890Expiration timestamp. In seconds since epoch.
1747927089946Mass cancel response
Bad request
Internal server error
Last updated