strategy_order
Place, cancel, modify, list open, and review crypto strategy orders (take-profit/stop-loss). Supports dry-run and confirmation for safe writes.
Instructions
[VERB] Strategy (trigger/plan) orders by intent: place | cancel | modify | open (unfilled) | history. Writes honor dryRun/confirm/readOnly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | No | Order Quantity This is a required field when tpslMode=partial, and the unit is in the base coin | |
| type | No | Strategy Type tpslTake-Profit and Stop-Loss Default:tpsl | |
| view | No | summary (default) trims null fields to save tokens; full returns the untouched payload. | |
| limit | No | Limit per page Default:100. Maximum:100 | |
| action | Yes | What to do — place: create a strategy order (needs: category, symbol, qty, posSide) | cancel: cancel a strategy order (needs: orderId) | modify: modify a strategy order (needs: orderId, qty) | open: list unfilled strategy orders (needs: category) | history: strategy order history (needs: category). | |
| cursor | No | Cursor Pagination is implemented by omitting the cursor in the first query and applying the cursor from the previous query for subsequent pages | |
| dryRun | No | Preview a write without sending it. | |
| fields | No | Optional list (array or comma-separated string) of fields to keep on each returned row. | |
| symbol | No | Trading pair, e.g. BTCUSDT. | |
| confirm | No | Required to execute destructive (high-risk) writes; without it such a call returns { confirmationRequired: true }. | |
| endTime | No | End timestamp A Unix timestamp in milliseconds e.g.,1597026383085 | |
| orderId | No | Target strategy order id for cancel/modify. | |
| posSide | No | Position side long/short | |
| category | No | Product category, e.g. USDT-FUTURES. | |
| fetchAll | No | Paged reads only: walk the cursor to bounded completion (returns { items, pages, truncated }). | |
| stopLoss | No | Stop-Loss Trigger Price | |
| tpslMode | No | Take-Profit and Stop-Loss Mode fullAll Positions Take-Profit and Stop-Loss partialPartial Position Take-Profit and Stop-Loss If left blank, the default value is full | |
| clientOid | No | Idempotency key. Auto-generated for `place` when omitted (P7). | |
| startTime | No | Start timestamp A Unix timestamp in milliseconds e.g.,1597026383085 | |
| takeProfit | No | Take-Profit Trigger Price | |
| slOrderType | No | Stop-Loss Trigger Strategy Order Type limit: Limit Order market: Market Order If not filled in, the default value is market price | |
| slTriggerBy | No | Stop-Loss Trigger Type market: Market Price mark: Mark Price If not filled in, the default value is market price | |
| tpOrderType | No | Take-Profit Trigger Strategy Order Type limit: Limit Order market: Market Order If not filled in, the default value is market price | |
| tpTriggerBy | No | Take-Profit Trigger Type market: Market Price mark: Mark Price If not specified, the default value is market price | |
| slLimitPrice | No | Stop-Loss Strategy Order Execution Price This field is only valid for limit orders (when slOrderType=limit); it is ignored for market orders | |
| tpLimitPrice | No | Take-Profit Strategy Order Execution Price This field is only valid for limit orders (when tpOrderType=limit); it is ignored for market orders. |