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

The document outlines a two-step generalized method of moments procedure for testing a multifactor asset-pricing model. Using the Fama–French five-factor model and portfolios sorted by size and book-to-market as test assets, it explains how to form excess…

Factor investingStatisticsBacktestingEquities
Quant Q&A

The document asks how to reconcile a normalized pricing-kernel equation from a quality-investing paper with the consumption-based stochastic discount factor, which is usually expressed using a discount factor and the ratio of marginal utilities. The response…

StatisticsRisk managementFactor investing
Quant Q&A

The document offers intuition for the title of John Cochrane’s argument defending return predictability. It connects the phrase to a Sherlock Holmes story in which the absence of an expected response provides a clue. In the paper’s setting, the relevant…

EquitiesStatisticsFactor investing
Quant Q&A

The document examines whether observed return anomalies falsify the efficient market hypothesis (EMH). Its central point is that an anomaly is identified relative to an asset pricing model, so testing it is a joint test of market efficiency and that model. A…

StatisticsFactor investingMomentumBacktesting
Quant Q&A

The document gives a practical way to choose the scale constant in a volatility-managed portfolio whose next-period factor return is multiplied by a constant divided by recent realized variance. The proposed procedure begins with a trial value for the…

VolatilityFactor investingPortfolio constructionRisk management
Quant Q&A

The note explains the academic distinction between value and growth stocks through valuation ratios rather than a sharp difference in investing philosophy. Value stocks are relatively cheap, with fundamentals such as book value, earnings, sales, or dividends…

EquitiesFactor investingStatistics
Quant Q&A

The note explains how the Fama–MacBeth procedure uses repeated cross-sectional regressions to estimate risk premia and assess asset-pricing models. In each period, excess returns are regressed on estimated asset betas; the resulting factor-premium estimates…

EquitiesFactor investingStatistics
Quant Q&A

The document considers whether the price-to-sales ratio can predict broad stock-market movements or serve as a measure of intrinsic value. A questioner reports substantial explained variance from a regression using P/S and suggests that market gains may…

EquitiesFactor investingStatistics
Quant Q&A

The document asks how the CAPM’s prediction about expected returns can be tested using realized returns. It outlines a two-stage empirical setup: estimate each stock’s market beta from a time-series regression of excess returns on the market excess return,…

EquitiesFactor investingStatistics
Quant Q&A

The document describes an attempted replication of the large-cap high- and low-prior-return portfolios used in the Fama-French momentum factor. The researcher maps stocks to Russell 1000 constituents and follows a 12-to-2-month return sort with upper and…

EquitiesMomentumFactor investingBacktesting
Quant Q&A

The document asks how to interpret a positive or negative intercept when an asset or factor is regressed on a set of other factors. Its example regresses the value factor on market, size, profitability, and investment factors, then asks what a negative,…

Factor investingStatistics
Quant Q&A

The document distinguishes two ways to build low-volatility equity portfolios: ranking stocks by standalone volatility or beta, and minimizing portfolio variance using a covariance matrix subject to constraints. It asks whether optimized minimum-volatility…

EquitiesFactor investingPortfolio construction
Quant Q&A

The post concerns replicating the cash-flow-to-assets component of Piotroski's F-Score when Compustat's operating cash flow item is unavailable for earlier years. The questioner notes that the desired historical sample begins before the reported start of…

EquitiesFactor investingStatistics
Quant Q&A

The document explains how to estimate asset exposures to factors and how to interpret factor-attributed returns in an Arbitrage Pricing Theory framework. For a single factor, exposure is the covariance between factor and asset returns divided by the factor’s…

Factor investingStatisticsPortfolio construction
Quant Q&A

The document discusses using nonnegative matrix factorization (NMF) to identify latent factors in stock data. It describes decomposing a positive input matrix into loadings and factors, and recounts attempts using stock prices and returns shifted to positive…

EquitiesMachine learningFactor investingStatistics
Quant Q&A

The document outlines a workflow for constructing and evaluating factor models of asset returns. Begin by selecting factors with an economic rationale, then gather factor and test-asset data. For portfolio-based factors, construction choices include…

Factor investingStatisticsPortfolio constructionRisk management
Quant Q&A

The document compares two neural-network asset pricing models that use firm characteristics and macroeconomic variables to estimate time-varying stochastic discount factors and tangency portfolios. It reports differing out-of-sample performance, portfolio…

EquitiesMachine learningFactor investingPortfolio construction
Quant Q&A

The document distinguishes testing whether a pricing model’s restrictions hold from comparing a larger model with a restricted version. It uses the CAPM and an expanded cross-sectional return regression to show how intercepts and coefficients on additional…

Factor investingStatisticsEquitiesBacktesting
Quant Q&A

The document derives the single-index variance decomposition: an asset’s return variance consists of the market-driven component, scaled by beta squared, plus residual variance. It starts with the return model, removes the risk-free constant because…

StatisticsRisk managementFactor investing
Quant Q&A

The document considers whether machine learning can identify firm characteristics that sort stocks into portfolios with predictive returns, and whether it can estimate asset returns in a CAPM-style setting. Its answer focuses on factor discovery: regress…

Machine learningFactor investingEquitiesStatistics
Quant Q&A

The discussion considers whether a company’s annual dividend can be modeled as a function of its stock price. The response suggests grounding assumptions in behavioral finance and dividend theory, particularly the idea that investors favor relatively smooth…

EquitiesStatisticsFactor investing
Quant Q&A

The document considers how to combine conflicting valuation signals, such as price-to-book and price-to-earnings readings, when assessing whether a sector is cheap or expensive. It discusses using correlations between valuation measures at one time and…

EquitiesFactor investingStatisticsBacktesting
Quant Q&A

The document addresses an ambiguity in the definition of information coefficient (IC), a measure used to evaluate the relationship between an investment manager’s forecasts and subsequent returns. Some sources say simply “correlation,” which can reasonably…

EquitiesStatisticsFactor investing
Quant Q&A

The document asks how to attribute a portfolio’s factor-model variance to individual factors. It starts from a covariance decomposition into factor risk and specific risk, then forms position-weighted factor exposures by multiplying asset weights by the…

Factor investingRisk managementPortfolio constructionStatistics