glitch-trade-core’s bar database (currently 6 symbols × ~3 years of H1 data). Same engine the platform uses internally for the walk-forward HPO sweeps that produced the seed strategies — exposed in the UI as a one-click run.
How it works
For each historical bar in your selected window, the simulator:- Updates indicators
- Evaluates entry/exit conditions from the strategy IR
- Walks open positions through the bar’s high/low for stop/TP fills
- Records every closed trade
- Tracks daily-state for breach math against the assigned firm rule set
pending_positions + unrealised_pnl + a warnings array.
Reading the result
Verdict
Verdict
PASSES means the strategy hit the firm’s profit target without breach.
TERMINATED (breach) means it hit a hard rule (daily loss / trailing DD / static DD).
Alive — not yet at target means it survived the window but didn’t reach the target.Total return %
Total return %
Realised PnL as a fraction of starting balance. Includes only closed trades.
Open positions at end-of-window aren’t counted (see
unrealised_pnl below).Max day loss
Max day loss
The worst single-day realised PnL during the window, as a fraction of starting
balance. Compare against the firm’s daily loss limit for breach distance.
Trades closed
Trades closed
Number of round-trip trades that completed. Open positions are NOT counted here.
Pending positions / unrealised PnL
Pending positions / unrealised PnL
If your strategy has no stop-loss (most quick rules) and a position opened but
never reached the exit, it’s still open at end of period. The simulator counts
that as “pending” and marks it to market against the last close. Hidden losses
show up here.
