Skip to content

Interface: FuturesSubmitCrossTrailingOrderReq ​

Req for POST /linear-swap-api/v1/swap_cross_track_order. [Cross] Submit a Trailing Order. Cross margin only. One of (pair+contract_type) or contract_code required; contract_code preferred when all filled. Trade. 5/s.

Properties ​

PropertyTypeDescription
active_pricestring | numberActive price
callback_ratestring | numberCallback rate (e.g. 0.01 = 1%). Min 0.001 (0.1%)
contract_code?stringContract code. swap: BTC-USDT; future: BTC-USDT-210625. Preferred when all filled
contract_type?stringswap, this_week, next_week, quarter, next_quarter
directionFuturesDirectionbuy or sell
lever_rate?numberLeverage. Required when open, optional when close
offset?FuturesOffsetBothopen, close, both. Hedge mode required; one-way optional, must be both when filled
order_price_typeFuturesTrailingOrderPriceTypeoptimal_5, optimal_10, optimal_20, formula_price
pair?stringPair (e.g. BTC-USDT). Use with contract_type
reduce_only?0 | 10: no, 1: yes. In hedge mode invalid; one-way: 0 when not filled. reduce_only=1 for open triggers error 1492
volumestring | numberVolume (contracts)

Built by Siebly. Open source SDKs for exchange APIs.