Appearance
Market Replay
Replay historical candlesticks from a chosen starting point. Useful for backtesting, study, and education. UI only — no Chart API for replay.
Usage
- Click Replay in the top bar.
- Click a candle on the chart to set the start point.
- Press Play to replay candles to the right of that point.
- Press Pause to stop, then Play again to resume.
- Press Live to jump to the end and return to real-time data.
- Press Close to exit replay and restore live updates.
Replay runs per chart. The control panel title includes the chart id (e.g. chart1).
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
replayEnabled | boolean | true | Show/hide the top-bar Replay button |
typescript
new ChartSpire({
replayEnabled: true,
// ...
})See Widget API — Constructor for all options.
Controls
| Control | Action |
|---|---|
| Play | Start or resume replay from the selected candle |
| Pause | Pause replay (keeps position) |
| Live | Skip to the end and return to live data |
| Close | Exit replay and restore live updates |
| Speed | Playback interval between candles |
Speed
| Setting | Interval |
|---|---|
| 1x | 1 update per 1 second (default) |
| 0.5x | 1 update per 2 seconds |
| 0.3x | 1 update per 3 seconds |
| 0.2x | 1 update per 5 seconds |
| 0.1x | 1 update per 10 seconds |
Speed can be changed during playback.
Behavior
- Replays candles already loaded on the chart, one bar at a time, from the selected point forward.
- Live updates are paused on that chart while replay is active.
- Scroll back to load more history before starting if you need a longer replay window.
- Closing replay or pressing Live switches the chart back to the normal live data loader.
Related
- Widget API —
replayEnabledand other constructor options - Data Access — historical data loading
- Multi-Chart — replay is per chart
- Chart Types — replay uses the chart's current candle type