dogabot dogabot

Strategy

Règle Residual Z-Score

Comment la règle Residual Z-Score de dogabot ajuste un hedge OLS glissant vs une référence et mean-revert quand le résidu est extrême.

strategystatisticsfilters

Residual Z-Score compares two markets with a rolling OLS hedge on log prices: (\log A = \alpha + \beta \log B). It z-scores the latest residual over a trailing window and mean-reverts: buy when residual z ≤ −threshold, sell when ≥ +threshold.

Market B (symbolB) is required. Market A defaults to the strategy primary symbol (same dual-market hydration pattern as Correlation threshold).

This is richer than a simple price-ratio z on Pairs Spread, but it is not a full cointegration / half-life test—just a rolling residual extreme.

Quand l’utiliser

Ce que vous réglez dans l’app

Missing pair series, warm-up, or a degenerate OLS fit → no signal.

Astuces

Lectures associées

Related in the app

Ready to put this into practice?

Create a free account and explore dogabot with paper trading.

Try Backtest