ccxt_set_leverage

Call exchange.setLeverage(leverage, symbol, params), subject to the trading gate.

SERVERCodex CCXT MCP SOURCEoci:ghcr.io/lucyfox199818-collab/ccxt-mcp:0.1.0
Medium RISK CLASS
Category Write
Parameters 00 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-set-leverage.md

What ccxt_set_leverage does on Codex CCXT MCP

AI agents use ccxt_set_leverage to create or update resources in Codex CCXT MCP, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Codex CCXT MCP environment.

Why ccxt_set_leverage is rated Medium

Setting leverage is a Write operation—it modifies account state reversibly by adjusting the leverage multiplier for a trading symbol. It is not Destructive (reversible), not Financial (does not move money directly), and not Execute (does not run arbitrary code or trigger external operations beyond the leverage configuration itself).

From the tool's definition Tool calls exchange.setLeverage(leverage, symbol, params) which modifies leverage settings on a derivatives/margin account.

Questions about ccxt_set_leverage

What does the ccxt_set_leverage tool do? +

Call exchange.setLeverage(leverage, symbol, params), subject to the trading gate. It is categorised as a Write tool in the Codex CCXT MCP MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on ccxt_set_leverage? +

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

What risk level is ccxt_set_leverage? +

ccxt_set_leverage is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit ccxt_set_leverage? +

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

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

ccxt_set_leverage is provided by the Codex CCXT MCP server (oci:ghcr.io/lucyfox199818-collab/ccxt-mcp:0.1.0). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Codex CCXT, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Codex CCXT's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

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

Message sent.

We'll get back to you soon.