Critical Risk →

trade_cancel_order_stock

trade_cancel_order_stock

How to control trade_cancel_order_stock ↓

What trade_cancel_order_stock does on TdxQuant MCP Server

AI agents call trade_cancel_order_stock to permanently remove resources in TdxQuant MCP Server — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Critical Risk

Why trade_cancel_order_stock needs a policy

This tool cancels existing stock orders, which is an irreversible operation that changes financial market state and commitment. Even though the description is empty, the tool name combined with the server's explicit trading capabilities context ("trading operations") and the presence of other trade-related functions makes it clear this performs a destructive financial action.

From the tool's definition Tool name 'trade_cancel_order_stock' explicitly indicates cancellation of stock trading orders. Within a financial trading context (TdxQuant/通达信 financial data and trading capabilities), canceling an order is an irreversible action that modifies the state of…

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

How to control trade_cancel_order_stock

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

policy.json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "trade_cancel_order_stock"
  ]
}

trade_cancel_order_stock disappears from the agent's tool list entirely, and any attempt to call it is denied. The rest of the server keeps working.

  1. Create a free account and register TdxQuant MCP Server — 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.
RESTRICT THIS TOOL →

Free to start. No card required.

Related tools and policies

Go deeper

Questions about trade_cancel_order_stock

What does the trade_cancel_order_stock tool do? +

trade_cancel_order_stock. It is categorised as a Destructive tool in the TdxQuant MCP Server MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on trade_cancel_order_stock? +

Register the TdxQuant MCP Server MCP server in PolicyLayer and add a rule for trade_cancel_order_stock: 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 TdxQuant MCP Server. Nothing to install.

What risk level is trade_cancel_order_stock? +

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

Can I rate-limit trade_cancel_order_stock? +

Yes. Add a rate_limit block to the trade_cancel_order_stock 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 trade_cancel_order_stock completely? +

Set action: deny in the PolicyLayer policy for trade_cancel_order_stock. 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 trade_cancel_order_stock? +

trade_cancel_order_stock is provided by the TdxQuant MCP Server MCP server (lingfan/tdxquant-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every TdxQuant MCP Server tool call.

Start from TdxQuant MCP Server, 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.

39 TdxQuant MCP Server 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.