# ccxt_fetch_closed_orders

Call exchange.fetchClosedOrders(symbol, since, limit, params).

Agent View of the PolicyLayer registry record for `ccxt_fetch_closed_orders`. HTML page: https://policylayer.com/tools/io-github-lucyfox199818-collab-ccxt-mcp/ccxt-fetch-closed-orders

## Facts

- Tool: `ccxt_fetch_closed_orders`
- 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: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

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

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

## Why ccxt_fetch_closed_orders is rated Low

This tool retrieves historical order data from an exchange without modifying, creating, or executing trades. It has no side effects and simply queries closed orders. The parameters are all read-safe (symbol identifier, timestamp/limit filters). This is a standard Read-category operation with minimal security risk—misuse would only expose existing order history data, not commit financial or destructive actions.

From the tool's own definition: "Tool name 'fetch_closed_orders' and description 'Call exchange.fetchClosedOrders(symbol, since, limit, params)' indicate data retrieval with parameters for filtering (symbol, since, limit). The verb 'fetch' is a standard Read operation."

## Use case

AI agents call ccxt_fetch_closed_orders to retrieve information from Codex CCXT MCP without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. 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_fetch_closed_orders": {}
  }
}
```

## 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
