get_trades
Retrieve historical trade executions for any trading pair on a supported exchange, using optional start/end timestamps and a result limit to tailor the query.
Instructions
Get historical trade executions from an exchange
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"exchange": "<exchange>",
"instrument": "<instrument>"
},
"name": "get_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End timestamp (ISO 8601 format, optional) | |
| from | No | Start timestamp (ISO 8601 format, optional) | |
| limit | No | Maximum number of results (default: 100) | |
| exchange | Yes | Exchange name (e.g., binance, coinbase, kraken) | |
| instrument | Yes | Trading pair (e.g., BTC/USDT, ETH/USD) |