fetchTrades
Retrieve recent trades for a specific cryptocurrency pair on supported exchanges via the CCXT MCP Server, enabling precise data access for analysis and decision-making.
Instructions
Fetch recent trades for a symbol on an exchange
Input Schema
Name | Required | Description | Default |
---|---|---|---|
exchangeId | Yes | Exchange ID (e.g., 'binance', 'coinbase') | |
limit | No | Limit the number of trades returned (optional) | |
since | No | Timestamp in ms to fetch trades since (optional) | |
symbol | Yes | Trading symbol (e.g., 'BTC/USDT') |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"exchangeId": {
"description": "Exchange ID (e.g., 'binance', 'coinbase')",
"type": "string"
},
"limit": {
"description": "Limit the number of trades returned (optional)",
"type": "number"
},
"since": {
"description": "Timestamp in ms to fetch trades since (optional)",
"type": "number"
},
"symbol": {
"description": "Trading symbol (e.g., 'BTC/USDT')",
"type": "string"
}
},
"required": [
"exchangeId",
"symbol"
],
"type": "object"
}