fetchClosedOrders
Retrieve all closed orders for a specified trading account and symbol, with options to filter by timestamp and limit results, using the CCXT MCP Server.
Instructions
Fetch all closed orders using a configured account
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accountName | Yes | Account name defined in the configuration file (e.g., 'bybit_main') | |
limit | No | Limit the number of orders returned (optional) | |
params | No | Additional exchange-specific parameters | |
since | No | Timestamp in ms to fetch orders since (optional) | |
symbol | No | Trading 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"
}