Backtesting with no look-ahead bias
Look-ahead bias happens when a backtest uses information that was not available at the time, which makes results look better than reality. On AlgoBars a value on a bar never uses a later bar, trades fill on the next bar, and the same strategy on the same data gives the same result every run, to the last digit. Every strategy runs in its own sandbox with time and memory limits. That is the standard funds and professional desks need to trust a result.
Last updated
Guarantees
No look-ahead
Values never use a later bar.
Next-bar fills
No filling at prices you could not have had.
Reproducible
Identical inputs give identical results.
Sandboxed
Each strategy runs isolated, with limits.
For professional desks
- Books built from a full event history that can be replayed
- No double counting of deposits or payouts
- Continuous reconciliation checks
- Full audit trail of admin actions
Next steps
Frequently asked questions
What is look-ahead bias?
It is when a backtest uses information that was not available at the time, which inflates results.
How does AlgoBars prevent it?
A value on a bar never uses a later bar, and trades fill on the next bar.
Are results reproducible?
Yes. The same script, settings and prices give the same result every run.
Related answers
Sources
Competitor prices and limits change. They are shown as published when checked. Trading involves risk of loss.