Modify an active order
POST /v1/trading-gateway/modify-order — Modify an active order's price, quantity, or trigger price. Body: `{ symbol: string, orderId: string, price?: string, qu
POST /v1/trading-gateway/modify-order
Modify an active order's price, quantity, or trigger price. Body: { symbol: string, orderId: string, price?: string, quantity?: string, triggerPrice?: string, subAccountId?: string } — at least one of price / quantity / triggerPrice must be supplied or the call is a no-op. Returns the updated PlaceOrderResult.
| Method | POST |
| Path | /v1/trading-gateway/modify-order |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | perps |
Request body
{ "symbol": "BTC", "orderId": "ord_abc", "price": "63500", "subAccountId": "sub_hl_default" }