dogabot dogabot

Strategy

残差 Z 分数规则

dogabot 的残差 Z 分数规则如何相对参考市场做滚动 OLS 对冲,并在残差极端时均值回归。

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.

何时使用

在应用中设置什么

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

提示

相关阅读

Related in the app

Ready to put this into practice?

Create a free account and explore dogabot with paper trading.

Try Backtest