Candlestick Chart
candle_display · Nodes · Display
Builds candlestick chart display data.
Renders SVG candlestick charts from OHLC (Open-High-Low-Close) bar data for visual market analysis.
Config: None required. Chart dimensions are automatically determined from data.
Input: Array of OHLC bar objects, each with:
open- Opening pricehigh- High pricelow- Low priceclose- Closing pricetimestamp- ISO timestamp string
Output: SVG markup string containing the rendered candlestick chart
Example:
[Quote Fetch] → [Candlestick Chart]
[
{ "timestamp": "2024-01-15T10:00:00Z", "open": 185.5, "high": 186.2, "low": 184.8, "close": 185.9 },
{ "timestamp": "2024-01-15T10:01:00Z", "open": 185.9, "high": 186.5, "low": 185.2, "close": 186.1 }
]
→ { "svg": "<svg>...</svg>" }
Tips:
- Candlestick charts automatically handle timezone conversion from UTC timestamps
- For best results, provide at least 20-50 bars for readable candlestick charts
- Green/white candles indicate price increased (close > open)
- Red/black candles indicate price decreased (close < open)
- Save SVG output to a report for persistent chart storage
- Works best with daily or intraday bar data from the Quote Fetch node
Inputs
barsRequired
Outputs
svg
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
base_config | record | No | Shared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow). |