asset_chart
Create a historical candlestick and volume chart for any asset up to a chosen time. Specify timeframe, date range, and trading sessions to visualize price action and volume.
Instructions
Return a PNG candlestick and volume chart ending at a requested time.
Inputs: asset: EXCHANGE:SYMBOL (preferred), for example RUS:MX1!. The legacy SYMBOL:EXCHANGE format, for example BTCUSD:BITSTAMP, is also accepted. timeframe: 1h, 4h, 1D, or 1W. Default: 1h. timestamp: ISO-8601 chart cutoff. Default: current UTC time. days: Calendar days to display, from 1 through 365. Default: 10. response_version: execution. May be omitted. Default: execution. sessions: Display the last N distinct UTC trading dates. When supplied, sessions takes precedence over days.
Renders only bars confirmed complete by a later received bar or the configured exchange-specific delay after expected close. Returns a PNG plus metadata with requested/effective times, latest-bar status, sessions covered, requested window, chart coverage, last_close, chart_low, chart_high, and price_decimals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| asset | Yes | ||
| sessions | No | ||
| timeframe | No | 1h | |
| timestamp | No | ||
| response_version | No | execution |