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
Binance API docs
45 documents
Quantopian lectures
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

An equity risk premium is the extra return investors demand for holding risky stocks relative to safer assets. One explanation is that companies face greater failure risk than stable governments, so they must offer investors the prospect of higher returns.…

EquitiesRisk managementStatisticsFactor investing
Quant Q&A

The document examines whether factors estimated by singular value decomposition remain stable when the asset-return matrix is re-estimated in overlapping rolling windows. It compares factor-return vectors over their shared dates using cosine distance. A…

Factor investingStatisticsPortfolio construction
Quant Q&A

The document describes a simple stock ranking model that combines market capitalization, liquidity, and value at risk. Each factor is divided into three intervals and assigned a score, then the scores are combined with weights of 25%, 25%, and 50%,…

EquitiesFactor investingBacktesting
Quant Q&A

The document describes a cross-sectional factor model in which a vector of security returns is explained by factor exposures multiplied by factor values, plus a Gaussian residual vector. It considers compressing the original factor set through a linear…

Factor investingStatisticsPortfolio construction
Quant Q&A

The document presents the single-index, or market, model for a security’s return: an intercept plus its market return exposure, represented by beta, and a residual term. It asks what the residual represents, how it is computed, which probability distribution…

EquitiesStatisticsFactor investing
Quant Q&A

The document raises a model-evaluation question about a two-stage Fama–MacBeth analysis of Fama–French risk premia. The researcher first estimates company-level betas, then runs cross-sectional regressions over successive periods and averages the estimated…

StatisticsFactor investing
Quant Q&A

The document compares relative momentum against country-specific factor models for allocating among four international equity ETFs based on performance versus the US market. It favors ranking the country funds against the US benchmark, arguing that separate…

EquitiesMomentumFactor investingPortfolio construction
Quant Q&A

The document asks how to convert Ang et al.’s daily volatility-mimicking factor, FVIX, into a monthly measure. The factor is constructed by regressing daily changes in the VIX on returns of five portfolios sorted by their sensitivity to those changes, then…

VolatilityFactor investingPortfolio constructionStatistics
Quant Q&A

The document considers how to estimate an active bond fund’s positioning relative to its benchmark using returns on rates, credit spreads, and other sub-indices as explanatory factors. It compares subtracting factor betas estimated from separate fund and…

Fixed incomeStatisticsFactor investing
Quant Q&A

The note examines whether adding dividend yield to earnings growth in the PEGY ratio double counts earnings distributed to shareholders. It rewrites the ratio using price, the change in earnings, and dividends, illustrating how dividends add to the…

EquitiesFactor investingStatistics
Quant Q&A

The document examines sign flips and unstable ordering in principal component loadings computed on rolling windows of stock data. Because an eigenvector and its negative represent the same component, one suggested convention is to require a chosen loading,…

EquitiesStatisticsFactor investing
Quant Q&A

The document asks how to decompose a security’s compounded annual return into alpha, factor return, and interaction contributions. For each period, the security return is expressed as alpha plus net factor contribution; compounding across periods creates…

Factor investingStatisticsPortfolio construction
Quant Q&A

A positive and statistically significant intercept in a Carhart regression can coexist with a large portfolio loss. The intercept measures performance relative to the model’s factor exposures, not whether the portfolio made money in absolute terms. A…

Factor investingStatisticsPortfolio construction
Quant Q&A

This discussion asks how to determine which of two highly correlated stocks drives the other. One response suggests testing for Granger causality as a starting point, while warning that the results must be interpreted carefully and that the test has…

EquitiesStatisticsFactor investing
Quant Q&A

The discussion gives several explanations for why investors may care about skewness and other moments beyond average return and variance. Behavioral probability weighting can make large positive outcomes especially attractive, encouraging demand for…

EquitiesStatisticsRisk managementFactor investing
Quant Q&A

The document explains how monthly stock momentum variables can use return windows that end before the current month. For a six-month signal, it describes compounding five monthly returns through the month before the measurement month; the twelve-month…

EquitiesMomentumFactor investingStatistics
Quant Q&A

The discussion considers how to express a relative return belief such as one asset outperforming another without specifying a fixed return spread. A standard Black-Litterman view can encode a specified difference between expected returns, but the proposed…

Portfolio constructionStatisticsFactor investing
Quant Q&A

The document addresses whether a public mapping exists between the Standard Industrial Classification system and the Global Industry Classification Standard. It reports that mappings between some other systems, including SIC and NAICS, are available, but…

EquitiesFactor investing
Quant Q&A

The document introduces principal component analysis through a numerical example with standardized observations. It forms a covariance matrix, decomposes it into eigenvectors and eigenvalues, and explains that principal component scores are obtained by…

StatisticsFactor investingFixed incomeDerivatives pricing
Quant Q&A

The note discusses the common transformation of firm age as the logarithm of one plus age, rather than the logarithm of age alone. Adding one permits observations with age zero to be included, since the logarithm of zero is undefined. This is useful when a…

EquitiesStatisticsFactor investing
Quant Q&A

The document distinguishes the single-index model from the Capital Asset Pricing Model (CAPM). The single-index model is presented as an empirical framework: estimate a regression of an asset's excess returns on a market or other index return, producing an…

EquitiesStatisticsFactor investing
Quant Q&A

The document compares two ways to display the historical performance of a long–short factor such as Fama–French HML. A compounded wealth series applies each period’s return to the prior wealth, representing how an investment grows through reinvestment. A…

Factor investingStatistics
Quant Q&A

The document frames a panel regression question about estimating a carbon risk premium with the Fama–MacBeth method. The proposed monthly cross-sectional setup predicts next-period excess returns from size, book-to-market, and carbon intensity measured in…

EquitiesFactor investingStatisticsBacktesting
Quant Q&A

The question concerns the meaning of share codes 10 or 11 in the stock sample described by Fama and French (2015), and whether these codes identify securities in the same way as CUSIP, PERMNO, or PERMCO. The answer points readers to the definition of the…

EquitiesUS marketsFactor investing