Overview
This page documents 21 operators (role:ALPHA).
Quick Reference
AmihudAlpha
Amihud illiquidity alpha signal favoring higher liquidity. Computes the Amihud (2002) illiquidity ratio as the average of absolute returns divided by dollar volume, then negates it so that more liquid assets receive higher scores. Formula: illiquidity = mean(|r_t| / (close_t * volume_t)) alpha = -illiquidity Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/liquidity.py
EffectiveSpreadAlpha
Effective spread alpha signal favoring tighter spreads. Estimates the effective bid-ask spread using the high-low range normalized by the close price, averaged over the lookback window. The result is negated so that tighter spreads produce higher scores. Formula: spread_t = (high_t - low_t) / close_t alpha = -mean(spread[-window:]) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/liquidity.py
VolatilityOfVolatilityAlpha
Volatility-of-volatility alpha signal favoring stable volatility regimes. Computes rolling realized volatility of returns over a short window, then measures the standard deviation of those rolling volatility estimates over a longer outer window. The result is negated so that assets with more stable volatility receive higher scores. Formula: rolling_vol_i = std(returns[i:i+vol_window]) alpha = -std(rolling_vol[-outer_lookback:]) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/liquidity.py
BollingerAlpha
Bollinger mean reversion alpha. Measures deviation from the Bollinger Band middle line (SMA), normalized by bandwidth. Positive score when price is below mean (buy signal). Formula: score = clip((SMA - price) / (std * num_std), -1, 1) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/mean_reversion.py
ZScoreAlpha
Z-Score mean reversion alpha. Computes z-score of current price vs rolling window, then negates it for mean reversion (below-mean = positive signal). Formula: score = clip(-(price - mean) / std, -clip_value, clip_value) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/mean_reversion.py
PercentileAlpha
Percentile mean reversion alpha. Computes the percentile rank of current price within the lookback window, then inverts for mean reversion. Price at bottom of range yields positive signal. Formula: score = -(percentile_rank - 0.5) * 2 Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/mean_reversion.py
MomentumAlpha
Simple momentum alpha (return over lookback period). Computes the price return over the lookback window as a momentum signal. Formula: momentum = (price_t - price_{t-n}) / price_{t-n} Positive values indicate upward momentum, negative values indicate downward momentum. The lookback is derived from Input.lookback. Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/momentum.py
RSIAlpha
RSI alpha normalized to [-1, 1]. Computes RSI and normalizes to [-1, 1] range for direct use as alpha signal. Formula: RSI = 100 - 100 / (1 + avg_gain / avg_loss) Normalized: (RSI - 50) / 50 Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/momentum.py
TrendStrengthAlpha
Trend strength alpha (annualized slope of log prices). Fits a linear regression on log prices over the lookback window and annualizes the slope. Higher slope indicates stronger upward trend. Formula: slope = cov(t, log(price)) / var(t), annualized by * 252 Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/momentum.py
VolumeStabilityAlpha
Volume stability alpha signal favoring consistent trading volume. Measures volume stability as the inverse of the coefficient of variation (CV) of volume over the lookback window. Assets with more stable volume patterns receive higher scores. Formula: CV = std(volume[-window:]) / mean(volume[-window:]) alpha = 1 / CV Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/quality.py
PriceImpactAlpha
Price impact alpha signal favoring lower market impact. Estimates price impact as the average ratio of absolute returns to log-volume over the lookback window. The result is negated so that assets with lower price impact (better execution quality) score higher. Formula: impact_t = |r_t| / log(volume_t + 1) alpha = -mean(impact[-window:]) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/quality.py
MarketDepthProxyAlpha
Market depth proxy alpha signal favoring deeper, more liquid markets. Approximates market depth as the ratio of average volume to return volatility over the lookback window. Higher values indicate that the asset can absorb larger trades with less price movement. Formula: volatility = std(returns[-window:]) alpha = mean(volume[-window:]) / volatility Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/quality.py
DollarVolumeSizeAlpha
Dollar volume size alpha signal based on log-scaled average dollar volume. Computes the natural logarithm of the average dollar volume (close multiplied by volume) over the lookback window. The log transform compresses the scale, making the signal suitable for cross-sectional comparison of assets with vastly different trading activity. Formula: alpha = log(mean(close[-window:] * volume[-window:]) + 1) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/size.py
RealizedSpreadAlpha
Realized spread alpha signal favoring tighter realized spreads. Computes the realized bid-ask spread proxy using the high-low range normalized by the close price, averaged over the lookback window. The result is negated so that assets with tighter spreads (better value) receive higher scores. Formula: spread_t = (high_t - low_t) / close_t alpha = -mean(spread[-window:]) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/value.py
PriceEfficiencyAlpha
Price efficiency alpha signal favoring prices that close near the midpoint. Measures how far the close price deviates from the mid-price (average of high and low), normalized by the price range. The result is negated so that assets whose close consistently lands near the midpoint (indicating efficient price discovery) receive higher scores. Formula: mid_t = (high_t + low_t) / 2 deviation_t = |close_t - mid_t| / (high_t - low_t) alpha = -mean(deviation[-window:]) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/value.py
ImpliedBasisAlpha
Implied basis alpha signal as a Sharpe-ratio-style momentum proxy. Computes the mean return divided by the standard deviation of returns over the lookback window, producing a risk-adjusted momentum measure analogous to the Sharpe ratio. Formula: alpha = mean(returns[-window:]) / std(returns[-window:]) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/value.py
VolatilityAlpha
Inverse volatility alpha (lower volatility = higher score). Computes annualized volatility of returns and negates it so that lower-volatility assets receive higher scores (defensive signal). Formula: score = -(std(returns) * sqrt(252)) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/volatility.py
VolatilityRegimeAlpha
Volatility regime alpha (current vol / average vol). Compares short-term volatility to long-term volatility to detect regime changes. Low ratio means calm market (positive signal). Formula: score = -(short_vol / long_vol) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/volatility.py
VolumeAlpha
Volume alpha signal based on relative volume. Computes the ratio of the most recent volume to the average volume over a lookback window. Values greater than 1 indicate above-average activity. Formula: alpha = volume_current / mean(volume[-lookback:]) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/volume.py
DollarVolumeAlpha
Dollar volume alpha signal based on average dollar volume. Computes the mean dollar volume (price multiplied by volume) over a lookback window. Higher dollar volume indicates greater market activity and liquidity. Formula: alpha = mean(close[-window:] * volume[-window:]) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/volume.py
VolumeRatioAlpha
Volume ratio alpha signal comparing short-term to long-term average volume. Computes the ratio of a short-window moving average of volume to a long-window moving average. Values greater than 1 indicate recent volume acceleration relative to the longer-term trend. Formula: alpha = mean(volume[-short_window:]) / mean(volume[-long_window:]) Role:ALPHA | Ephemeral: No
Parameters
Usage
Source Code
Fullcompute() implementation — no hidden logic.
apps/trading/operators/signal/alpha/volume.py
Related Pages
Operator Protocol
How operators implement the compute() interface
StatefulGraph
How operators compose into a DAG

