mb_get_candles
Get OHLCV candlestick data for Mercado Bitcoin trading pairs to enable charting and technical analysis. Available intervals: 1m, 15m, 1h, 3h, 1d, 1w, 1M.
Instructions
Get OHLCV candlestick data for charting and technical analysis. Resolutions: 1m, 15m, 1h, 3h, 1d, 1w, 1M.
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>",
"resolution": "<resolution>",
"to": "<to>"
},
"name": "mb_get_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End timestamp (Unix seconds) | |
| from | No | Start timestamp (Unix seconds) | |
| symbol | Yes | Trading pair, e.g. BTC-BRL | |
| countback | No | Number of candles to return (overrides 'from') | |
| resolution | Yes | Candle interval |