Skip to content
Launch

Quant & backtesting

Quant research, without fooling yourself.

A backtest is easy to make look good. These functions test trading ideas and also check whether a result is likely to hold outside the sample.

Backtest (BT) and backtest on the chart (BTST) run a strategy on history; walk-forward optimisation (WFO) re-fits it on rolling windows, and the backtest lab (BTLB) reports the probability of backtest overfitting (PBO) and the deflated Sharpe ratio.

For research, seasonality (SEA), market regimes (REGM), GARCH forecasts (GARCH), factor exposure (FACT), pairs trading (PAIR) and time-series momentum (TSMOM) cover the classic tools, with Python notebooks (QNT) for the rest.

Launch Terminal

What you can open

Glossary

Questions

What is backtest overfitting?
When a strategy is tuned until it fits past data by chance. It looks strong in the backtest and fails live; the more variants you try, the higher the risk.
What is the deflated Sharpe ratio?
A Sharpe ratio corrected for the number of trials and for non-normal returns, proposed by Bailey and López de Prado. It shows whether a result is likely to be more than luck.
What is walk-forward optimisation?
Fitting a strategy on one window of data, testing it on the next, then rolling forward. It mimics how the strategy would have been used in real time.