Interface: FuturesCmDeliverySubmitOrderReq
Req for POST /api/v1/contract_order. Place order. Delivery futures. One of contract_code or (symbol+contract_type).
Properties
| Property | Type | Description |
|---|---|---|
client_order_id? | number | Client order ID [1, 9223372036854775807] |
contract_code? | string | Contract code (e.g. bch210326). Use if known. |
contract_type? | FuturesContractType | this_week, next_week, quarter, next_quarter. Use with symbol. |
direction | FuturesDirection | buy or sell. Required |
lever_rate | number | Leverage rate. Required |
offset | FuturesOffset | open or close. Required |
order_price_type | FuturesCmDeliverySubmitOrderPriceType | Order price type. Required |
price? | string | number | Price. Required for limit, post_only, ioc, fok |
price_protect? | boolean | Price protection when setting tp/sl. Default false. |
self_match_prevent? | 0 | 1 | 0: allow self-trade, 1: prevent. Default 1 |
sl_order_price? | string | number | Stop-loss order price |
sl_order_price_type? | string | Stop-loss order type: limit, optimal_5, optimal_10, optimal_20 |
sl_trigger_price? | string | number | Stop-loss trigger price |
symbol? | string | Symbol (e.g. BTC, ETH). Case-insensitive. Use with contract_type. |
tp_order_price? | string | number | Take-profit order price |
tp_order_price_type? | string | Take-profit order type: limit, optimal_5, optimal_10, optimal_20 |
tp_trigger_price? | string | number | Take-profit trigger price |
volume | number | Order quantity. Required |