Skip to content

Interface: FuturesSubmitCrossLightningCloseOrderReq ​

Req for POST /linear-swap-api/v1/swap_cross_lightning_close_position. Cross. One of (pair+contract_type) or contract_code required.

Properties ​

PropertyTypeDescription
client_order_id?numberClient order ID [1, 9223372036854775807]
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
order_price_type?FuturesLightningOrderPriceTypemarket (default), lightning_fok, lightning_ioc
pair?stringPair (e.g. BTC-USDT)

Built by Siebly. Open source SDKs for exchange APIs.