Skip to content

Knowledge library

Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.

Quant Q&A
20,364 documents
SuperMind
12,226 documents
OKX Learn
8,431 documents
Strategy library
7,910 documents
MQL5 code base
7,090 documents
BigQuant
3,481 documents
Bitget Academy
3,298 documents
MQL5 articles
3,012 documents
TradingView scripts
1,976 documents
ProRealCode
1,507 documents
Deribit Insights
1,232 documents
Machine Learning for Trading
1,124 documents
arXiv papers
1,033 documents
Amberdata research
766 documents
FMZ forum
682 documents
FMZ digest
662 documents
vn.py community
560 documents
QuantInsti blog
511 documents
Galaxy Research
340 documents
QuantStart
246 documents
Stratmill research code
219 documents
Robot Wealth
195 documents
NautilusTrader
191 documents
Hummingbot docs
181 documents
Paradigm research
175 documents
Lumibot
164 documents
Kraken Learn
163 documents
Quant course library
157 documents
OctoBot
152 documents
Cryptohopper blog
144 documents
Systematic trading blog (Rob Carver)
132 documents
Qlib
116 documents
TqSdk
86 documents
Quantpedia
86 documents
Hyperliquid docs
79 documents
Freqtrade
68 documents
Hudson & Thames
62 documents
Awesome Systematic Trading
61 documents
backtrader
54 documents
vn.py
50 documents
Quantopian lectures
45 documents
Binance API docs
45 documents
FMZ guides
38 documents
pysystemtrade
34 documents
Freqtrade docs
32 documents
quant-trading
31 documents
FinRL
28 documents
Zipline
22 documents
FMZ live strategies
21 documents
Jesse
17 documents
pyfolio
16 documents
Alphalens
14 documents
WonderTrader
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

4,194 documents

Quant Q&A

This document poses a factor-modeling question: how to put returns measured on different scales onto comparable scales before predicting target returns. It lists several candidate methods: subtracting the mean and dividing by standard deviation, dividing by…

Factor investingStatisticsMachine learning
Quant Q&A

The document explains how the first-stage time-series regression in the Fama–MacBeth procedure estimates each asset’s market beta from realized excess returns. It distinguishes this beta estimation step from the later cross-sectional regressions used to test…

EquitiesStatisticsFactor investing
Quant Q&A

The document explains how to interpret a portfolio’s loading on the SMB factor in a Fama–French three-factor regression. Under a factor-replication interpretation, the SMB coefficient is the exposure to a portfolio that is long small-cap stocks and short…

Factor investingEquitiesStatistics
Quant Q&A

The document clarifies how to use monthly returns for portfolios sorted by size and other characteristics in empirical asset-pricing regressions. The portfolio-return series from the Kenneth French data library are raw returns, so researchers testing the…

EquitiesFactor investingStatisticsPortfolio construction
Quant Q&A

The document considers whether the CAPM regression alpha and beta of an equally weighted portfolio can be found by averaging the corresponding estimates for its constituents. For assets measured over the same observations against a common benchmark and…

StatisticsPortfolio constructionFactor investingMulti-asset
Quant Q&A

The document asks how to interpret the intercept and slope in a regression of an asset’s excess return on its beta. In the stated specification, the intercept γ₀ is the predicted excess return when beta is zero, while γ₁ scales the beta exposure and is…

EquitiesFactor investingStatistics
Quant Q&A

The document proposes applying volatility management to the six Fama–French factors, including momentum, and using the scaled factor returns to estimate risk premia. It describes scaling excess returns by a volatility target relative to conditional variance,…

Factor investingVolatilityPortfolio constructionBacktesting
Quant Q&A

The document clarifies how Fama-French factor portfolios use breakpoints when sorting stocks by size and book-to-market. The breakpoints are computed from NYSE stocks, then applied to stocks across NYSE, AMEX, and NASDAQ. Because stocks on the latter…

EquitiesFactor investingPortfolio constructionUS markets
Quant Q&A

The discussion distinguishes PCA components from investment factors such as momentum, value, carry, and volatility. Economic factors are defined by an interpretation or investment characteristic, while PCA is a statistical technique that extracts orthogonal…

Factor investingStatisticsPortfolio constructionRisk management
Quant Q&A

The document frames a forecasting problem: how to estimate 30-day volatility for an individual stock such as Apple relative to the broader market. A simple starting point is to scale a broad-market volatility estimate by the stock’s beta, but that approach…

EquitiesVolatilityStatisticsFactor investing
Quant Q&A

The document concerns choosing a mathematical topic for stock price forecasting and discusses geometric Brownian motion, differential equations, neural networks, ARIMA models, adaptive filtering, and factor methods. Its answer argues that neural networks…

EquitiesMachine learningStatisticsFactor investing
Quant Q&A

The note explains why Joel Greenblatt’s Magic Formula uses a roughly one-year holding period. It cites the book’s tax rationale: in taxable accounts, selling losing positions just before the one-year mark and winners just after it can give losses short-term…

EquitiesFactor investingPortfolio constructionRisk management
Quant Q&A

The note clarifies how a three-factor Fama–French regression can inform an expected return, interpreted as a cost of equity. It recommends estimating exposure coefficients from excess stock returns against the market, SMB, and HML factors, while including a…

EquitiesFactor investingStatistics
Quant Q&A

The document gathers suggested books and papers for learning quantitative alpha design and advanced quantitative finance. Its starting list includes texts on active and quantitative portfolio management, expected returns, financial machine learning,…

Portfolio constructionMachine learningFactor investingBacktesting
Quant Q&A

The document distinguishes broad factor styles from individual anomalies. It proposes that a style should have a plausible financial or behavioral explanation, persist across periods and markets, and withstand fitting bias. The best-known framework it…

EquitiesFactor investingStatistics
Quant Q&A

The document concerns the cross-product ratio (CPR) and its associated Z statistic in hedge fund performance persistence analysis. The questioner struggles to interpret a sigma appearing in different presentations of the equation, especially because the CPR…

StatisticsFactor investing
Quant Q&A

The document asks whether CAPM or the Fama–French model can be applied directly to futures and options, drawing a comparison with their use in analyzing stocks. The answer distinguishes studying an underlying asset from analyzing a derivative contract. These…

OptionsFuturesFactor investing
Quant Q&A

The document explains how to apply market-capitalization weights when regressing stock returns on factor scores. In weighted least squares, each observation's squared residual is multiplied by its weight in the objective function. If the desired observation…

EquitiesFactor investingStatistics
Quant Q&A

The document examines whether Tobin’s Q can be negative when calculated from company accounting data. It describes a formulation in which the numerator combines market equity value, preferred stock, and a debt measure that subtracts short-term assets from…

EquitiesStatisticsFactor investing
Quant Q&A

The document compares two ways to construct portfolios that track observable macroeconomic factors. Its naive proposal regresses each factor’s time series on returns from a base universe of assets; the resulting coefficients define weights that minimize…

Factor investingPortfolio constructionStatistics
Quant Q&A

The document considers how to determine whether a fund or portfolio has momentum exposure or tends to add to positions after strong past performance. It assumes access to a year of monthly holdings and returns. The question proposes regressing portfolio…

MomentumFactor investingPortfolio construction
Quant Q&A

The document asks how to formalize a proposed relationship between an external time series, such as an industry or government statistic, and a stock's price. It also asks how to evaluate expected profit and risk if the external variable can be forecast. The…

Factor investingStatisticsRisk management
Quant Q&A

The document presents the common-factor and specific-risk components of covariance between a portfolio and the market in a predicted beta framework. Common covariance is expressed through portfolio and market factor exposures and a factor covariance matrix.…

Factor investingPortfolio constructionRisk managementStatistics
Quant Q&A

The note explains how to use monthly cross-sectional regressions to estimate the return associations of observable firm characteristics, such as market capitalization and book-to-market ratio. Unlike the classic two-step asset-pricing setup, these…

EquitiesFactor investingStatistics