Critical Risk →

binance_futures_close_position

【合约平仓】市价一键平仓指定合约的所有持仓 📋 功能说明 - 市价立即平仓指定合约的持仓 - 自动计算平仓方向和数量,无需手动计算 - 支持单向和双向持仓模式 - 立即释放所有占用的保证金 ⚠️ 重要提醒 - 这是一个不可逆转的操作,请确认后操作 - 平仓前请确认当前持仓信息和盈亏情况 - 市价平仓可能存在滑点,影响最终成交价格 - 建议在流动性好的时间段操作 🎯 适用场景 - 紧急情况下快速清仓止损 - 市场反转时及时退出持仓 - 策略调整时清理现有持仓 - 风险管理和资金重新配置 📊 输出示例 平仓成功后将返回: \

How to control binance_futures_close_position ↓

What binance_futures_close_position does on Binance

AI agents use binance_futures_close_position to commit financial operations through Binance — usually the final step of a payment, billing, or trading workflow. A call moves real money.

Critical Risk

Why binance_futures_close_position needs a policy

This tool closes all futures positions at market price, directly committing financial transactions on Binance futures markets. It is explicitly described as irreversible ('不可逆转的操作'), involves real money movement (margin release, trade execution), and operates on leveraged futures contracts — making it a Financial action with critical severity due to potential for large, immediate, irreversible financial losses if…

From the tool's definition 【合约平仓】市价一键平仓指定合约的所有持仓 - 'spot and futures trading', '这是一个不可逆转的操作' (this is an irreversible operation), '市价立即平仓' (immediately close position at market price), '立即释放所有占用的保证金' (immediately release all occupied margin)

Documented attack patterns abuse exactly the kind of access binance_futures_close_position gives an agent:

How to control binance_futures_close_position

PolicyLayer is an MCP gateway — it sits between your AI agents and Binance, and nothing reaches the server without passing your rules. This is the rule we recommend for binance_futures_close_position:

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "binance_futures_close_position": {
      "deny_if": [
        {
          "conditions": [],
          "on_deny": "Requires human approval."
        }
      ]
    }
  }
}

Any call to binance_futures_close_position is blocked until a human approves it. The rest of the server keeps working.

  1. Create a free account and register Binance — nothing to install.
  2. Add this policy — paste it, or build it visually.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
GATE THIS TOOL →

Free to start. No card required.

Related tools and policies

More Binance tools

Financial binance_futures_change_leverage 【合约杠杆调整】修改指定合约的杠杆倍数 📋 功能说明 - 调整指定合约的杠杆倍数(1-125倍) - 影响该合约的保证金需求和风险水平 - 立即生效,影响后续所有交易 - 不影 Financial binance_futures_place_order 【合约下单】在Binance永续合约市场提交交易订单 📋 功能说明 - 支持USDT永续合约和币本位合约交易 - 包括开仓、平仓、加仓、减仓等操作 - 支持多种订单类型:市价、 Financial binance_spot_place_order 【现货下单】在Binance现货市场提交交易订单 📋 功能说明 - 支持多种订单类型:市价单、限价单、止损单、止盈单 - 自动验证账户余额和交易对规则 - 实时返回订单执行状态 Destructive binance_futures_cancel_all_orders 【合约批量撤单】一键取消指定合约的所有委托订单 📋 功能说明 - 批量取消NEW(新建)和PARTIALLY_FILLED(部分成交)状态的订单 - 一次性清除指定合约的所有未 Destructive binance_futures_cancel_order 【合约撤单】取消合约市场的指定委托订单 📋 功能说明 - 撤销状态为NEW(新建)或PARTIALLY_FILLED(部分成交)的合约订单 - 立即释放占用的保证金到可用余额 Destructive binance_spot_cancel_all_orders 【现货批量撤单】一键取消指定交易对的所有委托订单 📋 功能说明 - 批量取消NEW(新建)和PARTIALLY_FILLED(部分成交)状态的订单 - 一次性清除指定交易对的所 Destructive binance_spot_cancel_order 【现货撤单】取消现货市场的指定委托订单 📋 功能说明 - 撤销状态为NEW(新建)或PARTIALLY_FILLED(部分成交)的订单 - 立即生效,撤销后的订单无法恢复 - Write binance_futures_set_margin_type 【合约保证金模式】设置指定合约的保证金模式 📋 功能说明 - 设置合约保证金模式:逐仓或全仓 - 影响该合约的风险管理和资金利用效率 - 立即生效,不影响当前持仓 - 每个合约

All 35 Binance tools →

Go deeper

Questions about binance_futures_close_position

What does the binance_futures_close_position tool do? +

【合约平仓】市价一键平仓指定合约的所有持仓 📋 功能说明 - 市价立即平仓指定合约的持仓 - 自动计算平仓方向和数量,无需手动计算 - 支持单向和双向持仓模式 - 立即释放所有占用的保证金 ⚠️ 重要提醒 - 这是一个不可逆转的操作,请确认后操作 - 平仓前请确认当前持仓信息和盈亏情况 - 市价平仓可能存在滑点,影响最终成交价格 - 建议在流动性好的时间段操作 🎯 适用场景 - 紧急情况下快速清仓止损 - 市场反转时及时退出持仓 - 策略调整时清理现有持仓 - 风险管理和资金重新配置 📊 输出示例 平仓成功后将返回: \. It is categorised as a Financial tool in the Binance MCP Server, which means it involves financial transactions. Block by default and require explicit approval.

How do I enforce a policy on binance_futures_close_position? +

Register the Binance MCP server in PolicyLayer and add a rule for binance_futures_close_position: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Binance. Nothing to install.

What risk level is binance_futures_close_position? +

binance_futures_close_position is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit binance_futures_close_position? +

Yes. Add a rate_limit block to the binance_futures_close_position rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block binance_futures_close_position completely? +

Set action: deny in the PolicyLayer policy for binance_futures_close_position. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides binance_futures_close_position? +

binance_futures_close_position is provided by the Binance MCP server (kydlikebtc/binance-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every Binance tool call.

Start from Binance, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.

Free to start. No card required.

35 Binance tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.