latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
Orders
Place Order
Places a new order. There are several types of orders available - Market, Limit, TWAP, SteadyPace, and Stop (the latter three optionally support a limit price). Orders can be funded by your account balance or on margin.
- When an order with funding type "funded" is placed, funds will be reserved from your Go account for the amount of the order. You must have sufficient available balance in your Go account to place a funded order.
- When an order with funding type "margin" is placed, funds will be reserved from your Margin Trade Account. You must have sufficient available margin (NOP limit) to place a margin order.
- Stop orders require a triggerPrice. When the market reaches the trigger price, the order is activated. A stop order without a limitPrice executes as a market order (stop-market). A stop order with a limitPrice places a limit order at the specified price (stop-limit).
- Buy orders can be placed in either base or quote currency. A buy in base currency specifies an exact quantity to purchase (e.g., "buy 1 BTC"), while a buy in quote currency specifies a total spend amount (e.g., "buy $10,000 of BTC"). Similarly, sell orders can be placed in either base or quote currency.
- When no limitPrice is provided on a base-buy or quote-sell order, the system automatically computes a protective marketable limit price derived from the current reference price. This prevents orders from executing at an unexpectedly unfavorable price. For market (Sweep) orders, the computed limit is valid for a short window to avoid leaving orders open indefinitely if the market moves away. See our Trade Guide for more details on each order type and funding options.
Requires access token scope: trade_trade
post/api/prime/trading/v1/accounts/{accountId}/orders
Path parameters
accountIdstring required
The ID of the account
Request body
Example request
{
"clientOrderId": "myorder1",
"type": "market",
"product": "BTC-USD",
"side": "buy",
"quantity": "10000",
"quantityCurrency": "USD"
}Response
An order
Example response
{
"id": "67fd640c-cb6c-4218-80ae-49e79ec15646",
"accountId": "60e740e7898f7d00064d43769a73dc48",
"enterpriseId": "129841a2143f99c3229c1f4x590396b4",
"initiatedByUserId": "1203c28030c4320a4b90255b4683ecq6",
"canceledByUserId": null,
"clientOrderId": "myorderid1",
"time": "2025-11-25T23:12:18.210507Z",
"creationDate": "2025-11-25T23:12:18.210507Z",
"scheduledDate": null,
"lastFillDate": "2025-11-25T23:12:17.642764Z",
"completionDate": "2025-11-25T23:12:17.642764Z",
"settleDate": null,
"fundingType": "funded",
"type": "market",
"timeInForce": null,
"status": "completed",
"reason": null,
"reasonDescription": null,
"product": "BTC-USD",
"side": "buy",
"quantity": "1000",
"quantityCurrency": "USD",
"filledQuantity": "0.02457152",
"filledQuoteQuantity": "1000",
"leavesQuantity": null,
"leavesQuoteQuantity": "0",
"averagePrice": "40697.32",
"limitPrice": null,
"triggerPrice": null,
"duration": null,
"twapInterval": null,
"rtId": null,
"isFinanced": false,
"notes": null
}