Trade Inspector
Deep-dive into any single backtest result — inspect node outputs, trade logs, and raw data
What is the Trade Inspector?
The Trade Inspector is an in-depth analysis view for a single backtest result. While the Leaderboard and Heatmap compare results at a high level, the Inspector lets you examine the internals of one specific run in full detail.
It shows the compiled strategy structure on the left, and on the right: a bar-by-bar data table plus a chart for any selected variable. You can export any variable's data as JSON or CSV.
How to Open the Inspector
Double-click any row in the Leaderboard or any cell in the Heatmap. The center panel switches from Table view to Inspector view, and loads that result's data.
To return to the Leaderboard, click the Table button in the center panel header (top-left of the center column).
Inspector Layout
The Inspector replaces the center panel and has a 2-column layout with a resizable divider:
The left panel can be resized from 10% to 50% width by dragging the divider.
Left Panel: Strategy Steps
The left panel lists every compiled step in the strategy, in execution order. Each step card shows:
Step Type Badge
Labelled SOURCE (blue) for data sources or INDICATOR (purple) for indicators/logic steps.
Variable Name
The variable name in the strategy (e.g. sma1, rsi, signal). Displayed in blue, monospace font.
Function Call
The function being computed (e.g. SMA(source, 14) or RSI(source, period=14)).
Parameter Values
The exact parameter values for this specific run (including any overrides from the parameter sweep).
Click any step to select it. The right panel immediately updates to show the data and chart for that variable. The selected step is highlighted with a blue border.
Right Panel: Data Table & Chart
The right panel is itself split into two vertically resizable sections — the data table on top and the chart below. The divider can be dragged to allocate space between them (10%–80% chart height).
Data Table
Shows every array output of the selected variable, bar by bar:
Row Numbers
Each row represents one bar (time step). Row index starts at 0. Fixed 36px width.
Array Columns
Each array in the variable's output gets its own column (e.g. values, inPosition, entryPrice, etc.).
Resizable Columns
All column widths can be adjusted by dragging the column border in the header row.
Scrollable
The table scrolls vertically for long data series. A sticky header stays visible while scrolling.
Chart
A lightweight-charts line chart renders the selected variable's numeric values over time. The chart automatically updates when you select a different variable in the left panel.
Line Chart
Plots the primary numeric array of the selected variable. Useful for seeing SMA curves, RSI values, volatility indicators, etc.
Timestamp Mapping
If the strategy has timestamps, the X-axis shows real dates. Otherwise bar indices are used.
Auto-scale
The Y-axis automatically scales to the data range. Zoom and pan are supported.
Bar Indicator
A vertical line tracks the current bar frame during live execution (real-time playback mode).
Data Export
For each selected variable, three export options are available in the data table header:
Copy JSON
Copies the full variable data as formatted JSON to the clipboard. Useful for pasting into a code editor or debugging tool.
navigator.clipboard.writeText(JSON.stringify(data, null, 2))Download JSON
Downloads the variable data as a .json file. Filename: varName.json.
Creates a Blob and triggers a browser download.Download CSV
Downloads all array columns as a .csv file. Header row contains column names, rows contain bar-by-bar values. Filename: varName.csv.
Only array-type columns are included. Scalar config values are excluded.Statistics in Inspector Mode
When the Inspector is open, the Statistics panel on the right side of the Backtesting component shows the statistics for the currently inspected result — not the previously selected Leaderboard row.
All 30+ metrics are displayed in the same 8-section format as regular Statistics view, with the same colour coding for P&L fields. See the Statistics & Metrics reference for a full description of each metric.
When to Use the Inspector
Verify Indicator Output
After a sweep, open the best result and check the SMA, RSI, or other indicator values bar by bar to confirm your logic is working correctly.
Debug Entry/Exit Logic
Check the inPosition array alongside signal columns to see exactly which bars triggered entries and exits.
Analyse a Bad Result
Open a poor-performing result to understand why — are there extended drawdown periods? Too few trades? Check the data to find out.
Export for External Analysis
Download the trade data as CSV and analyse in Excel, Python, or R for more advanced statistical analysis.
Validate Commission Impact
Compare results with and without commission to understand its impact on profitability across different strategies.
Signal Quality Check
Inspect the raw signal column (1 or 0 at each bar) to check that your entry and exit logic fires at the expected frequency.