Translate a trading hypothesis into a documented feature specification using horizon alignment, driver hypothesis, and role separation.
Choose a feature's reference frame, representation, and aggregation to match the economic claim and execution horizon, and distinguish hypothesis-changing choices from noise-control choices.
Distinguish signal features from state variables and identify when each should be used marginally, as an interaction, or as a conditioning variable.
Design representative feature specifications across price-derived, structural and cross-instrument, and contextual data families, with explicit timing assumptions and failure modes.
Combine signals with state variables using gating, scaling, and conditional variants, and evaluate whether the interaction adds incremental information.
Apply point-in-time discipline to slow-moving and revised data, including reporting lags, event timing, and vintage-aware availability rules.
Control feature-search degrees of freedom using one-knob-at-a-time exploration, within-family deduplication, and multiple-testing-aware triage.
8.1
Capturing and configuring the economic drivers
This section establishes the framework for turning strategy narratives into computable features through three filters: horizon alignment (matching lookback and aggregation to the label horizon), driver hypothesis (mapping to persistence, reversion, risk compensation, or predictable-clock mechanisms), and role separation (classifying each feature as a signal or a state variable). It introduces three configurable knobs — reference frame, representation, and aggregation — and requires a formal feature specification that records name, family, role, driver, inputs, lookback, failure modes, and observability constraints. The reader learns that a feature without a named mechanism and documented failure modes is an input awaiting a hypothesis, not a finished design.
8.2
Price-derived features
This section develops five feature families computed from an asset's own price, volume, and trade data: trend/momentum (cumulative returns, moving-average slopes, residual momentum), reversal (distance-to-anchor statistics with explicit anchor and normalization choices), volatility and tail risk (range-based estimators including Parkinson, Garman-Klass, and Yang-Zhang with 5-14x efficiency gains over close-to-close), liquidity/tradability proxies, and microstructure/order-flow features (OFI, Kyle's lambda, depth metrics). For each family, the section separates meaning-changing knobs from noise-reduction knobs and catalogues typical failure modes. The reader takes away a systematic vocabulary for price-derived features, concrete estimator selection guidance by case study, and the discipline of testing delay sensitivity before optimizing microstructure details.
8.3
Structural and cross-instrument features
This section covers three feature families that require data beyond a single price series: carry and term structure (roll yield, funding rates, curve shape), cross-asset relative value (peer-mean deviations, factor-neutral residuals, lead-lag dynamics), and options-implied features (ATM IV, implied-realized spread, risk reversals, term-structure slope, put-call skew). A worked example shows that SPY-TLT rolling correlation conditions momentum IC with a 17 percentage-point swing across regimes, demonstrating that cross-instrument features can carry more conditioning power than any single-asset signal. The reader learns that neutralization defines the hypothesis (not cleanup), that surface policy drift is a hidden structural break, and that lead-lag claims require careful validation — the section's own SPY-to-sector test yields an instructive negative result.
8.4
Contextual and slow-moving features
This section covers three externally-sourced feature families — fundamentals/characteristics, calendar/event encodings, and macro/policy state — united by low update frequency, strict point-in-time requirements, and a primary role as conditioning variables for faster signals. It emphasizes that repeating quarterly values across daily rows inflates nominal sample size without adding information, and that reporting lags, revision policies, and vintage series are meaning-changing knobs. Calendar features use cyclical sin/cos encodings and time-to-event proximity, while macro state variables (yield-curve slope, credit spreads, VIX percentile) condition when trend and carry signals work. The reader learns that for these features, data integrity is the binding constraint and that point-in-time correctness is non-negotiable.
8.5
Cross-cutting feature types and the limits of direct aggregation
This section identifies two cross-cutting feature types that span families — learned representations (PCA, autoencoders, foundation-model embeddings) and flows/positioning proxies (CoT, on-chain data) — and argues that direct aggregation over trailing windows cannot capture conditional dynamics, latent states, cyclical structure, or path geometry. It marks the transition from deterministic features (Sections 8.2-8.4) to model-based features (Chapter 9), explaining that fitted objects such as GARCH, HMM, FFT, and path signatures extract structure invisible in raw series but require walk-forward discipline for point-in-time correctness.
8.6
Combining features and controlling search
This section addresses how to combine signal features with state features through three interaction templates — gating (trade only when favorable), scaling (adjust exposure by state), and conditional variants (signal-in-regime) — and provides a worked example showing momentum IC decaying monotonically across volatility terciles. It prescribes degrees-of-freedom discipline: budget variants by family and role, vary one knob at a time, and deduplicate near-duplicates via hierarchical clustering before modeling. Three implementation choices that change the hypothesis rather than reduce noise — residualization, winsorization bounds, and fractional differencing order — are flagged as requiring walk-forward fitting. The reader learns that feature combination multiplies the searched set and must be accompanied by explicit trial-family accounting.
8.7
Summary
Related Case Studies
See where these chapter concepts get applied in end-to-end trading workflows.
Mark B. Garman and Michael J. Klass (1980) — The Journal of Business · 1472 citations
Introduces a set of volatility estimators using Open, High, Low, and Close prices that are up to 8 times more efficient than standard close-to-close variance calculations.
Albert S. Kyle (1985) — Econometrica · 9334 citations
The foundational paper establishing 'Kyle's Lambda' as a measure of market impact, proving that an informed monopolist trades gradually to disguise information, resulting in constant market depth and prices that follow Brownian motion.
Eugene F. Fama and Kenneth R. French (1992) — The Journal of Finance · 8981 citations
This seminal paper dismantles the CAPM by showing that market beta has no explanatory power for stock returns, while Size and Book-to-Market equity are the primary drivers of cross-sectional variance.
Narasimhan Jegadeesh and Sheridan Titman (1993) — The Journal of Finance · 11065 citations
This seminal paper establishes the existence of 'Momentum' in stock prices, showing that buying past 6-month winners and selling losers generates ~1% monthly excess returns over medium horizons (3-12 months).
R. N. Mantegna (1999) — Computer Physics Communications · 47 citations
The paper shows how to extract economically meaningful “sector-like” structure from stock price time series by converting correlations into distances and building a minimum spanning tree (MST) / ultrametric hierarchy.
Joseph D. Piotroski (2000) — Journal of Accounting Research · 1151 citations
Introduces the 'F-Score', a 9-point composite metric based on financial statements that separates winners from losers within high book-to-market portfolios, increasing annual returns by 7.5% over generic value strategies.
Dennis Yang and Qiang Zhang (2000) — The Journal of Business · 470 citations
The authors introduce the 'Yang-Zhang' volatility estimator, which uses OHLC data to provide a minimum-variance estimate that is robust to both price trends (drift) and overnight gaps (opening jumps).
Introduces the 'Amihud Ratio' (ILLIQ)—a measure of price impact using daily data—and proves that illiquidity is a priced risk factor that predicts stock returns both cross-sectionally and over time.
Peter Carr and Liuren Wu (2009) — The Review of Financial Studies · 1164 citations
This paper proposes a method to quantify the variance risk premium by synthesizing variance swap rates from option prices and finds that variance risk premiums are significantly negative for major stock indexes, suggesting investors are willing to pay a premium to hedge against volatility increases.
Andrew Ang and Allan Timmermann (2011) · 454 citations
This paper reviews how regime-switching models (HMMs) capture the abrupt, persistent changes in financial data (volatility clustering, skewness) that linear models miss, demonstrating that optimal portfolios must dynamically adjust to 'bull' and 'bear' states.
Clifford S. Asness et al. (2013) — The Journal of Finance
Value and Momentum strategies work consistently across eight diverse asset classes and markets, and their negative correlation allows a combined strategy to achieve a Sharpe ratio of 1.45, significantly outperforming either strategy alone.
Rama Cont et al. (2014) — Journal of Financial Econometrics · 414 citations
Price changes are primarily driven by Order Flow Imbalance (OFI)—the net change in bid/ask queue sizes—rather than trade volume, following a linear relationship inversely scaled by market depth.
The paper demonstrates that while traditional Tick Rules correctly identify the aggressor side of trades, the Bulk Volume Classification (BVC) algorithm better identifies the presence of informed trading and future price movements in modern high-frequency markets.
A catalog of 101 explicit, executable quantitative trading alpha formulas with empirical analysis showing returns scale with volatility (exponent ~0.76) but are independent of turnover.
...and the Cross-Section of Expected Returns
Campbell R. Harvey et al. (2016) — Review of Financial Studies · 1838 citations
Due to extensive data mining in asset pricing ('the factor zoo'), the standard t-statistic threshold of 2.0 is insufficient; this paper mathematically demonstrates that a t-statistic > 3.0 is required to establish true significance.
Ari Levine and Lasse Heje Pedersen (2016) — Financial Analysts Journal
This paper proves that Time-Series Momentum (TSMOM) and Moving-Average Crossover (MACROSS) strategies are mathematically equivalent linear filters, suggesting practitioners should focus on portfolio construction rather than signal selection.
Jeremiah Green et al. (2017) — The Review of Financial Studies
By simultaneously testing 94 firm characteristics, the authors find that only 12 provide independent return information for non-microcap stocks, and this predictability effectively vanished after 2003 due to increased market efficiency.
Establishes a standardized framework for classifying equity portfolio factor exposures into 8 groups using the Barra GEMLT model, defining specific thresholds for what constitutes a significant factor tilt.
Advances in Financial Machine Learning
Marcos Lopez de Prado (2018) — John Wiley & Sons · 106 citations
Ming-Yu Liu et al. (2021) — Journal of Financial Markets
By filtering momentum stocks using options-implied volatility spreads and skews, practitioners can distinguish between 'early-stage' trends that persist and 'late-stage' trends that reverse, significantly improving returns.
David Easley et al. (2021) — The Review of Financial Studies · 68 citations
Machine learning demonstrates that traditional microstructure measures (specifically VPIN and Roll) retain significant out-of-sample predictive power for volatility and liquidity in modern high-frequency markets, especially when using dollar-volume bars and cross-asset features.
Using an iterative selection method on 153 factors, this paper demonstrates that a parsimonious model of ~15 factors can explain the alpha of the entire 'factor zoo,' significantly outperforming standard academic models like Fama-French.
Stefan Klein et al. (2025) — The Journal of Portfolio Management
Conditioning factor strategies on firm life-cycle stages (defined by cash flow patterns) significantly improves performance, revealing that factors like Value and Momentum only work in specific stages.
Michael Parkinson — The Journal of Business · 1938 citations
This paper introduces the extreme value method for estimating the variance of the rate of return of a common stock, demonstrating its superior efficiency compared to the traditional method using closing prices.
Price momentum is merely a noisy proxy for earnings momentum; trading earnings momentum while neutralizing past price performance eliminates momentum crashes and improves Sharpe ratios.
A Century of Evidence on Trend-Following Investing
Brian Hurst et al. · 185 citations
Using a novel dataset extending back to 1880, this paper demonstrates that trend-following strategies have consistently generated positive returns across all decades and 8 out of 10 major financial crises.
Eugene F. Fama and Kenneth R. French (1993) — Journal of Financial Economics
Fama and French propose and test a five-factor model—three equity factors (market, size, value) and two bond factors (term, default)—and show it explains most comovement in stock and bond returns and largely explains average returns across diversified portfolios.
Value versus growth: The international evidence
Eugene F Fama and Kenneth R French (1998) — The journal of finance
This seminal paper validates the 'value premium' as a pervasive global phenomenon across 13 major markets and emerging economies, demonstrating that value stocks outperform growth stocks due to risk compensation (relative distress) rather than just US-specific data mining.
Harrison Hong et al. (2000) — The Journal of Finance
Momentum profits are significantly higher in stocks with low analyst coverage, particularly for past losers, supporting the theory that information (especially bad news) diffuses gradually.
R. Cont (2001) — Quantitative Finance · 3429 citations
This paper reviews the 'stylized facts' of asset returns across various markets and instruments, highlighting statistical properties like heavy tails, volatility clustering, and the absence of linear autocorrelations, while also discussing the statistical issues that arise when analyzing financial time series.
Gurdip Bakshi et al. (2003) — The Review of Financial Studies
This paper examines the differential pricing of individual equity options versus market index options, linking it to return skewness, risk aversion, and deriving 'skew laws' to decompose individual return skewness.
John H. Cochrane (2011) — The Journal of Finance · 1718 citations
This paper surveys the facts, theories, and applications of discount rate variation, arguing that it is the central organizing question of current asset-pricing research, and that all price-dividend variation corresponds to discount-rate variation.
Robert Novy-Marx (2012) — Journal of Financial Economics
This paper argues that momentum is primarily driven by firms' performance 12 to seven months prior to portfolio formation, not by recent past performance, and this holds across various asset classes.
The paper introduces a k-nearest-neighbor (non-binning) estimator for mutual information between a discrete variable and a continuous variable, showing it is more accurate and easier to tune than histogram/binning approaches.
Eugene F. Fama and Kenneth R. French (2015) — Journal of Financial Economics
Fama and French expand their classic three-factor model by adding profitability and investment factors, finding that these additions render the value factor (HML) redundant while significantly improving the explanation of average returns.
Ralph S. J. Koijen et al. (2018) — Journal of Financial Economics
This paper introduces a generalized definition of 'carry' applicable across various asset classes and demonstrates its predictive power for returns in global equities, bonds, commodities, credit, and options.
Naftali Cohen et al. (2019) — arXiv:1907.10046 [cs, q-fin]
This paper demonstrates that transforming financial time-series data into candlestick images allows machine learning models to effectively recover complex, algebraically-defined technical trading signals with high accuracy.
CatBoost introduces “ordered” (permutation-based) target statistics for categorical variables and “ordered boosting” to prevent a subtle target leakage/prediction shift in standard GBDT training, improving accuracy versus XGBoost/LightGBM on common benchmarks—especially for small datasets.
Feature Engineering for Mid-Price Prediction With Deep Learning
Adamantios Ntakaris et al. (2019) — IEEE Access
This paper demonstrates that handcrafted econometric features (volatility, noise measures) significantly outperform automated feature extraction (LSTM Autoencoders) for high-frequency mid-price prediction using deep learning.
This paper argues that using Shapley-value feature attributions as a feature selection rule (e.g., “pick the top-k Shapley features”) can be fundamentally misaligned with feature selection goals because the Shapley axioms encourage model-averaged “fair credit,” not “choose the best subset.”
Kewei Hou et al. (2021) — Review of Finance · 248 citations
This paper introduces an expected growth factor, constructed from Tobin's q, operating cash flows, and change in return on equity, which significantly improves the explanatory power of the q-factor model for asset pricing anomalies.
The paper builds a real-time machine-learning benchmark for expected earnings and uses it to measure (and trade on) analysts’ conditional optimism, showing that more optimistic analyst-vs-ML earnings expectations predict lower future stock returns and higher subsequent equity issuance.
Stephen Marra (2023) — The Journal of Portfolio Management
A practitioner-focused survey comparing common volatility forecasting models (historical, ARMA/GARCH, and option-implied) and showing why relatively simple, well-designed historical models can be robust inputs for volatility targeting and risk-parity allocation.
Turan G Bali et al. (2023) — The Review of Financial Studies
This paper uses machine learning to predict individual equity option returns, finding that nonlinear models significantly outperform linear models and that both option-based and stock-based characteristics are important predictors, with informational frictions and option mispricing driving the predictability.
This paper introduces a systematic procedure using machine learning to generate novel, interpretable hypotheses about human behavior, illustrated by analyzing judge decisions on pre-trial detention based on defendant mugshots.
The paper proposes an RL-based alpha-mining framework that generates a set of interpretable formulaic alphas optimized jointly for how well they perform together in a downstream model, rather than mining alphas one-by-one.
Hugo Gobato Souto and Amir Moradi (2024) — Software Impacts
A Python library automating the calculation of the Yang-Zhang realized volatility estimator, a minimum-variance proxy that handles overnight jumps and drift better than standard metrics.
Thomas M. Idzorek et al. (2024) — The Journal of Portfolio Management · 1 citations
The authors argue that the chaotic 'Factor Zoo' should be tamed not by statistical reduction alone, but by applying the Popularity Asset Pricing Model (PAPM) to distinguish between temporary attribution artifacts and genuine priced premiums derived from investor tastes.
Matt Lutey (2025) — The Journal of Portfolio Management
The paper is an instructional tutorial showing how to convert financial price time series into images (e.g., Gramian Angular Fields and Recurrence Plots) so CNNs can learn chart-like patterns for forecasting, screening, and risk monitoring.
Mohammadreza Tavakoli Baghdadabad and Girijasankar Mallik (2025) — The Journal of Portfolio Management
A new decomposition of the Market-to-Book ratio reveals that the value premium is driven almost exclusively by Retained Earnings and firm-specific mispricing, rendering Contributed Capital and AOCI irrelevant for return prediction.
:RUNLQJ 3DSHU KWWS ZZZ QEHU RUJ SDSHUV Z
Zrxog Olnh Wr Wkdqn et al.
This paper decomposes firm-level stock returns into cash-flow news and expected-return news, finding that cash-flow news is the dominant driver, especially for larger firms, while expected-return news is more correlated across firms and drives aggregate returns.
Keywan Christian Rasekhschaffe and Robert C. Jones — Financial Analysts Journal
This paper demonstrates that combining forecasts from multiple machine learning algorithms and distinct training windows (recent, seasonal, and 'hedge') significantly outperforms linear models and reduces overfitting in stock selection.
Laurens Swinkels (2004) — Journal of Asset Management
A comprehensive survey of momentum strategies establishing them as the strongest anomaly (1.08% monthly excess return) while analyzing decomposition, behavioral drivers, and the critical impact of transaction costs on net profitability.
Bengio and LeCun argue that shallow, local kernel methods (e.g., Gaussian SVMs) scale poorly for AI-relevant perception tasks, and that deep, compositional architectures (notably convolutional nets and layer-wise pre-trained deep nets) can represent complex functions far more efficiently.
Chris J. C. Burges (2010) — Foundations and Trends in Machine Learning
A tutorial monograph that organizes and explains core dimension-reduction methods—projection-based and manifold-based—along with intrinsic-dimension estimation and the Nyström method that makes several algorithms scalable and out-of-sample.
Robert Novy-Marx (2013) — Journal of Financial Economics
Gross profitability (gross profits-to-assets) predicts stock returns about as strongly as book-to-market, improves value investing when used as a control, and helps explain many “anomalies” via a profitability factor.
This paper examines how changes in option implied volatilities predict future stock returns, and how stock returns predict future option implied volatilities, finding that increases in call (put) implied volatilities predict high (low) future stock returns, and that high past stock returns predict increases in call implied volatilities and decreases in realized stock volatility.
This paper investigates using Neural Networks for S&P 500 prediction, finding that wavelet de-noising degrades performance while a novel 'gradual data sub-sampling' technique significantly improves returns.
Turan G. Bali et al. (2014) — The Review of Financial Studies
This paper investigates how stock prices react to stock-level liquidity shocks, finding that the market underreacts, leading to predictable return continuations for up to six months, which is more pronounced in stocks with less investor attention and higher illiquidity.
Kewei Hou et al. (2015) — The Review of Financial Studies · 1929 citations
The authors propose the q-factor model (Market, Size, Investment, Profitability), demonstrating that it outperforms Fama-French and Carhart models by explaining over half of 80 known anomalies through the lens of firm investment and profitability.
Francisco Barillas and Jay Shanken (2018) — The Journal of Finance · 336 citations
This paper develops a Bayesian asset pricing test to compare different factor models and finds that models including a momentum factor, along with updated value and profitability factors, outperform recent models by Hou, Xue, and Zhang (2015a, 2015b) and Fama and French (2015, 2016).
Leland McInnes et al. (2018) — arXiv:1802.03426 [cs, stat]
UMAP is a fast, scalable manifold-learning algorithm that builds a weighted k-NN graph and optimizes a low-dimensional embedding by minimizing a fuzzy-set cross-entropy, aiming to match t-SNE-quality visualizations while better preserving global structure and scaling to millions of points.
Shihao Gu et al. (2020) — The Review of Financial Studies · 1802 citations
This paper benchmarks major machine-learning methods for predicting U.S. equity risk premia and shows that nonlinear models (especially shallow neural nets and trees) materially improve out-of-sample forecast accuracy and investable Sharpe ratios versus classic linear/panel regressions.
Guanhao Feng et al. (2020) — The Journal of Finance · 490 citations
The authors propose a Double-Selection LASSO methodology to evaluate new asset pricing factors against hundreds of existing ones, finding that while most new factors are redundant, profitability and investment factors provide significant marginal value.
This paper introduces a novel approach to stock return prediction by converting historical price and volume data into images and using convolutional neural networks (CNNs) to identify predictive patterns, significantly outperforming traditional technical analysis signals.
Deep learning models trained on stationary Order Flow (OF) inputs significantly outperform those trained on raw Limit Order Book (LOB) states, with predictive power peaking at a horizon of two average price changes.
Stefano Giglio et al. (2022) — Annual Review of Financial Economics
This paper surveys how machine learning methods are revolutionizing asset pricing by improving the estimation of expected returns, factors, risk exposures, and risk premia, especially in high-dimensional settings with many assets and characteristics.
This paper introduces a novel methodology using convolutional neural networks (CNNs) to extract predictive information from option implied volatility (IV) surfaces for stock returns, demonstrating superior performance compared to existing option-implied characteristics.
Antoine Didisheim et al. (2023) — National Bureau of Economic Research Working Paper Series · 11 citations
This paper theoretically and empirically demonstrates that more complex asset pricing models, with a large number of factors, outperform simpler models in out-of-sample performance, challenging the traditional view that a small number of risk factors should suffice.
R. Douglas Martin et al. (2023) — The Journal of Portfolio Management
The paper shows how modern robust regression and robust covariance estimators can materially change factor-model inference and portfolio risk estimates by down-weighting a small fraction of influential outliers that can severely distort least-squares and sample-covariance results.
The paper proposes Multi-Factor Inception Networks (MFIN), an end-to-end deep learning framework that ingests many crypto “factors” (price, volume, on-chain, tweets, Google Trends) and directly outputs portfolio weights to maximize Sharpe, producing returns that are largely uncorrelated to classic momentum/reversion rules and holding up better in 2022–2023.
Benton Chambers et al. (2024) — The Journal of Portfolio Management
This paper demonstrates that simple, model-free definitions of Value, Carry, Quality, and Momentum generate robust risk-adjusted returns across US Investment Grade, High Yield, and Emerging Markets, with a multi-factor US High Yield portfolio achieving an Information Ratio of 0.68 after transaction costs.
A two-stage framework that uses a generative neural network to mine interpretable alpha formulas and a dynamic linear model to re-weight them daily, significantly outperforming static factor combinations.
Ricky Cooper and Zixuan Jiao (2025) — The Journal of Portfolio Management
A momentum-neutralized, linear combination of Value, Profitability, and Momentum factors outperforms sequential sorting strategies, delivering higher risk-adjusted returns with significantly lower turnover.
Rashmi Malhotra and D. K. Malhotra (2025) — The Journal of Portfolio Management
The paper shows how unsupervised clustering (k-means, DBSCAN, hierarchical) can group stocks by realized risk–return behavior (return, volatility, Sharpe) rather than sector labels, enabling behavior-aware diversification, defensive positioning, and thematic idea generation.
Megan Czasonis et al. (2025) — The Journal of Portfolio Management
The paper introduces relevance-based importance (RBI), a variable-importance measure that stays interpretable under collinearity and regime shifts and, unlike Shapley values, attributes importance based on prediction reliability at the individual-forecast level.
Jang Ho Kim et al. (2025) — The Journal of Portfolio Management
This paper explains how random forests (RF) deliver interpretable, nonlinear prediction in finance via built-in variable importance tools (MDA/MDI/SHAP), and reviews how practitioners and researchers use them for feature selection across macro regimes, equity factors, and credit markets.
Svetlana Bryzgalova et al. (2025) — The Journal of Finance · 73 citations
This paper introduces Asset Pricing Trees (AP Trees), a novel method for constructing cross-sections of asset returns that outperforms traditional sorting methods and machine learning techniques by endogenously grouping similar stocks based on decision trees to better span the stochastic discount factor.
Ming Deng et al. (2025) — The Journal of Portfolio Management
Four vendor news-sentiment feeds are only weakly correlated, and averaging them into a single monthly firm-level signal produces a stronger, robust cross-sectional return premium that looks like slow-moving fundamental information rather than compensation for risk.