chartimg_snapshot
Capture TradingView chart snapshots with a single request, with configurable symbol, interval, style, theme, size, and indicators. Get image output directly for analysis.
Instructions
Preferred for agents: one-call TradingView snapshot (v2 advanced → storage). Supply a full symbol (e.g. BINANCE:BTCUSDT.P for Binance perp). Defaults: interval 5m, dark theme, candles, Volume on, size = max allowed (800×600 unless CHART_IMG_MAX_* set). Width/height are clamped automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | candle | |
| theme | No | dark | |
| width | No | Image width; defaults to max allowed (see CHART_IMG_MAX_WIDTH) | |
| format | No | png | |
| height | No | Image height; defaults to max allowed (see CHART_IMG_MAX_HEIGHT) | |
| symbol | Yes | Full TradingView symbol. Examples: BINANCE:BTCUSDT.P (Binance USDT-M perpetual), BINANCE:BTCUSDT (spot), BYBIT:BTCUSDT.P. | |
| interval | No | e.g. 1m, 5m, 15m, 1h, 4h, 1D | 5m |
| extraStudies | No | Extra v2 study objects after Volume, e.g. {"name":"MACD"} | |
| includeVolume | No | ||
| tradingviewSessionId | No | Optional TradingView cookie `sessionid` for subscription data (v2). | |
| tradingviewSessionIdSign | No | Optional TradingView cookie `sessionid_sign` — use with tradingviewSessionId. |