Skip to content

Market Replay

Replay historical candlesticks from a chosen starting point. Useful for backtesting, study, and education. UI only — no Chart API for replay.

Usage

  1. Click Replay in the top bar.
  2. Click a candle on the chart to set the start point.
  3. Press Play to replay candles to the right of that point.
  4. Press Pause to stop, then Play again to resume.
  5. Press Live to jump to the end and return to real-time data.
  6. 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

OptionTypeDefaultDescription
replayEnabledbooleantrueShow/hide the top-bar Replay button
typescript
new ChartSpire({
  replayEnabled: true,
  // ...
})

See Widget API — Constructor for all options.

Controls

ControlAction
PlayStart or resume replay from the selected candle
PausePause replay (keeps position)
LiveSkip to the end and return to live data
CloseExit replay and restore live updates
SpeedPlayback interval between candles

Speed

SettingInterval
1x1 update per 1 second (default)
0.5x1 update per 2 seconds
0.3x1 update per 3 seconds
0.2x1 update per 5 seconds
0.1x1 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.