5D Compressed SMA Slope Factor

0•

Calculates the 5-day compressed SMA slope quantitative trend factor and generates rank-based trading signals from OHLCV data.

The 5D Compressed SMA Slope skill implements a quantitative directional alpha factor (R238) tailored for trend-following and momentum strategies across financial markets. Built with framework-neutral pandas and numpy implementations, it processes user-provided OHLCV data to measure short-term compressed moving average slopes, generate cross-sectional long/short rankings, and provide empirical real-data validation metrics for algorithmic trading workflows.

Key Features

01Processes standard OHLCV market data using framework-neutral pandas and numpy
02Generates cross-sectional rank-based long and short trading signals
030 GitHub stars
04Integrates seamlessly into modular quantitative research and backtesting pipelines
05Computes the 5-day compressed simple moving average (SMA) slope alpha factor
06Provides bundled real-data validation reports and diagnostic metrics

Use Cases

01Validating trend-following alpha persistence against real-world factor benchmarks
02Generating cross-sectional alpha factor rankings from custom historical OHLCV data
03Computing short-term momentum and trend metrics for equity factor models