Exchange OHLC bars
exchange_barsOHLC bars of one exchange instrument: mid open/high/low/close, time-weighted spread (bps), trade OHLC, base and quote volume, taker-buy share of the quote volume, trades and messages. Times are UTC; the default window is the last day. Coinbase has spot only.
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": {
"coin": "<coin>"
},
"name": "exchange_bars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| coin | Yes | ||
| start | No | ||
| exchange | No | binance | |
| interval | No | 1m | |
| instrument_class | No | perp |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |