Boros Backtest Modes
demeter.boros_v4 supports multiple execution modes that should be treated as
engine parameters rather than different strategy families.
Mode Matrix
Mode |
Intended Use |
Fidelity |
Speed |
Recommendation |
|---|---|---|---|---|
|
smoke tests, signal debugging |
low |
highest |
dev only |
|
lightweight replay baseline |
low to medium |
high |
dev and sanity checks |
|
stable experimental replay |
medium |
high |
default experimental baseline |
|
highest current Boros fidelity |
highest |
high enough |
recommended high-fidelity mode |
Current Comparison
Latest stable comparison on the real dual-market Boros dataset:
Engine |
Runtime (s) |
Final Net Value |
Total PnL |
|---|---|---|---|
|
209.50 |
996.1757 |
-3.8243 |
|
200.70 |
1000.8072 |
+0.8072 |
Interpretation:
EVENT_REPLAY_FULL_PROTOcurrently improves pnl materially.It does so without a runtime penalty large enough to reject it.
That makes it the best candidate for the recommended high-fidelity Boros engine.
Diagnostics
The full execution mode also supports source-selection diagnostics.
Current diagnostic snapshot after dust filtering and conservative split gating:
orderbook_fill: 155amm_fill: 25only_available_quote: 150selected_best_all_in_rate: 30
This suggests:
most executions still come from a single credible source
deeper split or matching complexity should be justified by measured gains, not by assumption
Recommendation
For public experimental release:
expose
TX_REPLAY_BEST_EXECas the stable defaultexpose
EVENT_REPLAY_FULL_PROTOas the higher-fidelity experimental optionkeep
BAR_APPROXandNEXT_TRADEdocumented as development utilities