Spectra
Browse docs

backtester

Equity curve + trade table

Reading the backtester's output: equity curve, trade-by-trade table, and the metrics that matter.


After a run, the backtester opens a results pane with three views: equity curve, trade table, and metrics summary.

Equity curve

X axis  →  trade index (default) or wall-clock time
Y axis  →  account equity, optionally log-scaled
Overlay →  buy-and-hold of the same symbol

Click any point to jump to the corresponding trade in the table below. A drawdown shading layer marks high-water mark to current.

Trade table

Columns:

#  side  symbol  entry_time  entry  exit_time  exit  qty  pnl  pnl_pct  bars_held

Sortable. Click a row to scroll the chart to that trade and highlight entry/exit on the price pane. Right-click → Copy as CSV to take the results out.

Metrics summary

Net P&L            $...
Trades             N (W: W%, L: L%)
Avg win / avg loss
Profit factor      sum(wins) / sum(losses)
Sharpe ratio       on bar-level returns
Max drawdown       % and absolute
Bars in market     %

Spectra never shows a single "win rate %" without context — wins are always paired with average win/loss size, since high win rate with small wins is a money-losing pattern.

Comparing runs

Strategy → Compare runs overlays multiple equity curves on the same axis. Useful when tweaking parameters: load runs A and B side by side, and the diff between trade tables highlights which trades the parameter change affected.

Exporting

Strategy → Export →  CSV (trades)
                  →  JSON (full run state)
                  →  PNG (equity curve)

Full JSON includes the script source and all settings — paste it back into Spectra to reproduce the exact run on another machine.