CCXT MCP Server

by lazy-dinosaur
Verified

fetchClosedOrders

Retrieve all closed orders for a configured account on supported cryptocurrency exchanges. Use account name, optional filters like symbol, limit, or timestamp to fetch specific data.

Instructions

Fetch all closed orders using a configured account

Input Schema

NameRequiredDescriptionDefault
accountNameYesAccount name defined in the configuration file (e.g., 'bybit_main')
limitNoLimit the number of orders returned (optional)
paramsNoAdditional exchange-specific parameters
sinceNoTimestamp in ms to fetch orders since (optional)
symbolNoTrading symbol (e.g., 'BTC/USDT')

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "accountName": { "description": "Account name defined in the configuration file (e.g., 'bybit_main')", "type": "string" }, "limit": { "description": "Limit the number of orders returned (optional)", "type": "number" }, "params": { "additionalProperties": {}, "description": "Additional exchange-specific parameters", "type": "object" }, "since": { "description": "Timestamp in ms to fetch orders since (optional)", "type": "number" }, "symbol": { "description": "Trading symbol (e.g., 'BTC/USDT')", "type": "string" } }, "required": [ "accountName" ], "type": "object" }
ID: mt6hftp7hy