Skip to content

Interface: FuturesSubmitCrossTriggerOrderReq ​

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

Properties ​

PropertyTypeDescription
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. Long = short leverage. High leverage = high risk
offset?FuturesOffsetBothopen, close, both. In hedge mode required; in one-way mode optional, must be both when filled
order_price?string | numberOrder price (required when order_price_type is limit)
order_price_type?FuturesTriggerOrderPriceTypelimit (default), optimal_5, optimal_10, optimal_20
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 in one-way triggers error 1492
trigger_pricestring | numberTrigger price
trigger_typeFuturesTriggerTypege: Equal to or Greater than; le: Less than or Equal to
volumenumberVolume (number of contracts)

Built by Siebly. Open source SDKs for exchange APIs.