Interface: FuturesSubmitTriggerOrderReq
Req for POST /linear-swap-api/v1/swap_trigger_order. [Isolated] Submit Trigger Order. Isolated margin only. Trade. 5/s.
Properties
| Property | Type | Description |
|---|---|---|
contract_code | string | Contract type (e.g. BTC-USDT) |
direction | FuturesDirection | buy or sell |
lever_rate? | number | Leverage. Must match current position leverage when holding. High leverage = high risk |
offset? | FuturesOffsetBoth | open, close, both. In hedge mode required; in one-way mode optional, must be both when filled |
order_price? | string | number | Order price (required when order_price_type is limit) |
order_price_type? | FuturesTriggerOrderPriceType | limit (default), optimal_5, optimal_10, optimal_20 |
reduce_only? | 0 | 1 | 0: no, 1: yes. In hedge mode invalid; one-way: 0 when not filled. reduce_only=1 for open in one-way triggers error 1492 |
trigger_price | string | number | Trigger price |
trigger_type | FuturesTriggerType | ge: Equal to or Greater than; le: Less than or Equal to |
volume | number | Volume (number of contracts) |