# ccxt_edit_order

Call exchange.editOrder(id, symbol, type, side, amount, price, params), subject to the trading gate.

Agent View of the PolicyLayer registry record for `ccxt_edit_order`. HTML page: https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-edit-order

## Facts

- Tool: `ccxt_edit_order`
- Server: Codex CCXT MCP (`oci:ghcr.io/lucyfox199818-collab/ccxt-mcp:0.1.0`) — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp.md
- Homepage: https://github.com/lucyfox199818-collab/codex-binance-agent
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ccxt_edit_order",
    "arguments": {}
  }
}
```

## Why ccxt_edit_order is rated Medium

editOrder() is a reversible modification operation that changes order properties without deleting data or executing irreversible transactions. While it affects financial markets and could cause financial harm if misused, it remains a Write operation because: (1) the edit is reversible (user can edit again or cancel), (2) the tool is gated for safety, and (3) no funds are immediately moved.

From the tool's own definition: "Tool calls exchange.editOrder() which modifies an existing order's parameters (type, side, amount, price). The description explicitly states it is 'subject to the trading gate', indicating safety controls are in place to prevent destructive misuse."

## Use case

AI agents use ccxt_edit_order 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.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Codex CCXT MCP:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "ccxt_edit_order": {
      "limits": [
        {
          "counter": "ccxt_edit_order_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Codex CCXT MCP (112)

- `ccxt_cancel_algo_order` — Destructive — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-cancel-algo-order.md
- `ccxt_cancel_all_algo_orders` — Destructive — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-cancel-all-algo-orders.md
- `ccxt_cancel_all_orders` — Destructive — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-cancel-all-orders.md
- `ccxt_cancel_all_orders_after` — Destructive — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-cancel-all-orders-after.md
- `ccxt_call` — Execute — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-call.md
- `ccxt_cancel_order` — Execute — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-cancel-order.md
- `ccxt_cancel_orders` — Execute — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-cancel-orders.md
- `ccxt_cancel_orders_for_symbols` — Execute — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-cancel-orders-for-symbols.md
- `ccxt_set_margin_mode` — Execute — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-set-margin-mode.md
- `ccxt_set_position_mode` — Execute — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-set-position-mode.md
- `ccxt_add_margin` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-add-margin.md
- `ccxt_create_order` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-order.md
- `ccxt_create_order_with_take_profit_and_stop_loss` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-order-with-take-profit-and-stop-loss.md
- `ccxt_create_orders` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-orders.md
- `ccxt_create_post_only_order` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-post-only-order.md
- `ccxt_create_protected_futures_entry` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-protected-futures-entry.md
- `ccxt_create_reduce_only_order` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-reduce-only-order.md
- `ccxt_create_stop_limit_order` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-stop-limit-order.md
- `ccxt_create_stop_loss_order` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-stop-loss-order.md
- `ccxt_create_stop_market_order` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-stop-market-order.md
- `ccxt_create_stop_order` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-stop-order.md
- `ccxt_create_take_profit_order` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-take-profit-order.md
- `ccxt_create_trailing_amount_order` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-trailing-amount-order.md
- `ccxt_create_trailing_percent_order` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-trailing-percent-order.md
- `ccxt_create_trigger_order` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-create-trigger-order.md
- `ccxt_reduce_margin` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-reduce-margin.md
- `ccxt_transfer` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-transfer.md
- `ccxt_withdraw` — Financial — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-withdraw.md
- `audit_analyze_cycles` — Read — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/audit-analyze-cycles.md
- `audit_analyze_trading_decisions` — Read — https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/audit-analyze-trading-decisions.md
- …and 82 more: https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=io-github-lucyfox199818-collab-ccxt-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-lucyfox199818-collab-ccxt-mcp
