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.
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 |