Skip to main content

Trading

Trading endpoints let your backend place and manage orders on behalf of segregated end-user accounts.

Capabilities​

CapabilityDescription
Place orderMarket / limit (and other enabled time-in-force modes); category: linear for USDT perps, spot where enabled
Cancel / amendCancel by id; amend where the venue supports it
Open ordersList working orders for an account
Order historyHistorical orders for reporting and support
PositionsOpen positions, unrealized PnL fields, leverage (derivatives)
Set leverage / margin modeWhere enabled for the contract type

Client order ids​

Send your own client order id on placement so retries stay idempotent. Store the venue order id returned in the acknowledgment for cancels and support.

Risk and filters​

Orders must respect instrument filters (min qty, tick size, notional). Surface venue reject messages to your users without exposing internal error codes that reveal infrastructure.

Example (illustrative)​

POST /v1/trade/orders
Authorization: Bearer <token>
Content-Type: application/json

{
"symbol": "BTCUSDT",
"side": "Buy",
"orderType": "Limit",
"qty": "0.01",
"price": "60000",
"category": "linear",
"clientOrderId": "partner-order-123"
}

Out of scope for public docs​

  • Internal mirror / counter-copy control planes
  • Operator-only force actions
  • Raw exchange master-account tooling