Trades
tradesFetch recent market transactions for a symbol across futures or spot venues, with an optional limit. Provides keyless data or an explicit error when unavailable.
Instructions
Recent trades. Futures fapi /trades is keyless and fresh. The spot /trades path was uncertain at recon time - probed live in smoke; if dead the tool returns an honest error dict. Example: trades(symbol="BTCUSDT", limit=10)
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": {
"symbol": "<symbol>"
},
"name": "trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| venue | No | futures | |
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||