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
| Property | Type | Description |
|---|---|---|
client_order_id? | number | Client order ID [1, 9223372036854775807] |
contract_code? | string | Contract code. swap: BTC-USDT, future: BTC-USDT-210625. Preferred when all filled |
contract_type? | string | swap, this_week, next_week, quarter, next_quarter |
direction | FuturesDirection | buy or sell |
order_price_type? | FuturesLightningOrderPriceType | market (default), lightning_fok, lightning_ioc |
pair? | string | Pair (e.g. BTC-USDT) |