Skip to content

Interface: FuturesSubmitOrderReq ​

Req for POST /linear-swap-api/v1/swap_order. Isolated margin only.

Properties ​

PropertyTypeDescription
client_order_id?numberClient order ID [1, 9223372036854775807]
contract_codestringContract code (e.g. BTC-USDT). Required
directionFuturesDirectionbuy or sell
lever_ratenumberLeverage rate
offset?FuturesOffsetBothopen, close, both. Required in hedge mode
order_price_typeFuturesSubmitOrderPriceTypeOrder price type
price?string | numberPrice. Required for limit, post_only, ioc, fok
price_protect?booleanPrice protection when setting tp/sl
reduce_only?0 | 10: no, 1: yes
self_match_prevent?0 | 10: allow self-trade, 1: prevent (default)
self_match_prevent_new?FuturesSelfMatchPreventcancel_taker, cancel_maker, cancel_both
sl_order_price?string | numberStop-loss order price
sl_order_price_type?stringStop-loss order type
sl_trigger_price?string | numberStop-loss trigger price
tp_order_price?string | numberTake-profit order price
tp_order_price_type?stringTake-profit order type
tp_trigger_price?string | numberTake-profit trigger price
volumenumberOrder quantity

Built by Siebly. Open source SDKs for exchange APIs.