Interface: FuturesSubmitTrailingOrderReq
Req for POST /linear-swap-api/v1/swap_track_order. [Isolated] Submit a Trailing Order. Isolated margin only. Trade. 5/s.
Properties
| Property | Type | Description |
|---|---|---|
active_price | string | number | Active price |
callback_rate | string | number | Callback rate (e.g. 0.01 = 1%). Min 0.001 (0.1%) |
contract_code | string | Contract code (e.g. BTC-USDT) |
direction | FuturesDirection | buy or sell |
lever_rate? | number | Leverage. Required when open, optional when close |
offset? | FuturesOffsetBoth | open, close, both. Hedge mode required; one-way optional, must be both when filled |
order_price_type | FuturesTrailingOrderPriceType | optimal_5, optimal_10, optimal_20, formula_price |
reduce_only? | 0 | 1 | 0: no, 1: yes. In hedge mode invalid; one-way: 0 when not filled. reduce_only=1 for open triggers error 1492 |
volume | string | number | Volume (contracts) |