futures_order
Place Binance futures orders with limit, market, stop loss, take profit, and trailing stop market types. Supports hedging mode and position closing.
Instructions
期货下单(限价/市价/止损/止盈/跟踪止损等)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | 交易对符号 | |
| side | Yes | 买卖方向 | |
| positionSide | No | 持仓方向。账户处于双向持仓模式(Hedge Mode)时此参数必填,不传会报错 | |
| type | Yes | 订单类型。平仓建议:市价平仓=MARKET+SELL,止损平仓=STOP_MARKET+closePosition=true,止盈平仓=TAKE_PROFIT_MARKET+closePosition=true | |
| quantity | Yes | 数量(平仓止损止盈时用 closePosition=true 替代,无需传 quantity) | |
| price | No | 价格(LIMIT/STOP 限价单必需) | |
| timeInForce | No | 有效期(仅 LIMIT 生效) | GTC |
| reduceOnly | No | 仅减仓(Hedge 模式下 SELL+LONG 会自动设为 true,无需手动传,传了反而可能报 not required) | |
| stopPrice | No | 触发价(STOP/STOP_MARKET/TAKE_PROFIT_MARKET 必需) | |
| activationPrice | No | 激活价格(TRAILING_STOP_MARKET 必需)。Binance 可能自动修正此值,最终生效价以返回的 activatePrice 为准 | |
| callbackRate | No | 回调幅度百分比(TRAILING_STOP_MARKET 必需,如"1"表示 1%) | |
| workingType | No | 触发价类型 | CONTRACT_PRICE |
| closePosition | No | 全仓平仓(仅 STOP_MARKET/TAKE_PROFIT_MARKET 支持,不支持 MARKET/LIMIT/TRAILING_STOP_MARKET) |