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 asks whether a custom global index can serve as the market portfolio in a CAPM-based Black–Litterman estimate of expected returns for regional equity and bond ETFs. The response explains that if CAPM holds for individual assets, its relationship…

Multi-assetFactor investingPortfolio constructionRisk management
Quant Q&A

The document examines an argument that derives the Capital Asset Pricing Model from the Capital Market Line by multiplying the CML return equation by the correlation between a portfolio and the market. Under the standard setup with a risk-free asset,…

Portfolio constructionStatisticsFactor investing
Quant Q&A

The discussion addresses how to obtain historical company financial statements for testing equity screens and accounting ratios in R. The questioner has access to Datastream and Compustat and wants long histories for measures such as return on equity and…

EquitiesBacktestingFactor investing
Quant Q&A

The document explains a distinction between factor-based and characteristic-based accounts of value-stock returns. In the Fama–French framing, a stock behaves like a value stock when its returns move with a portfolio of stocks that have high book-to-market…

EquitiesFactor investingStatistics
Quant Q&A

The document asks how to extend mean-variance optimization to a Fama-French factor framework. It describes returns as factor exposures multiplied by factor returns, plus asset-specific returns, and asks how to represent portfolio risk when several factors…

Factor investingPortfolio constructionRisk managementStatistics
Quant Q&A

The discussion considers whether growth in passive and index investing could weaken price discovery by reducing the capital devoted to researching securities and trading on mispricing. It distinguishes low-cost passive investing from exact index replication,…

EquitiesFactor investingPortfolio constructionMarket microstructure
Quant Q&A

The document explains how principal component analysis applied to a stock covariance matrix identifies directions that capture the data’s variance. The first principal component is the direction with the greatest variance, and its loading pattern describes a…

EquitiesStatisticsFactor investing
Quant Q&A

The document examines a simulation in which the Gibbons–Ross–Shanken test is applied to portfolio returns generated under the CAPM. With the true market factor, the test does not reject when portfolio alphas are zero and rejects after nonzero alphas are…

StatisticsFactor investingBacktesting
Quant Q&A

The document considers why estimated Fama-French three-factor coefficients and their statistical significance may differ when portfolio returns are sampled daily or monthly. It does not recommend one frequency universally. Instead, it frames the choice…

EquitiesFactor investingStatistics
Quant Q&A

The document asks how to combine a momentum signal whose strongest predictive power is at a three-month horizon with a valuation signal that works best over one year. It proposes scaling the valuation signal by dividing it by four when using both in a…

MomentumFactor investingPortfolio constructionStatistics
Quant Q&A

The document asks which stocks to include when constructing country-specific Fama-French factors for tests of portfolio returns and alphas. The researcher’s test portfolios require five years of past data, raising the question of whether factor construction…

EquitiesFactor investingBacktesting
Quant Q&A

The document explains why Fama–French portfolio construction uses different size breakpoints in U.S. and international equity samples. In the U.S., the size breakpoint is calculated from NYSE stocks and then applied to the broader NYSE, AMEX, and NASDAQ…

EquitiesFactor investingPortfolio construction
Quant Q&A

The document explains how asynchronous market closes can distort factor model estimation for global equities. In a cross-sectional model, factor returns and asset-specific residuals are estimated from asset returns and exposures; return series then inform…

EquitiesFactor investingStatisticsPortfolio construction
Quant Q&A

The document considers clustering a large stock universe using both return correlations and company characteristics such as valuation and size. Correlation-based distances can group stocks that move in similar directions, while feature-based clustering…

EquitiesStatisticsMachine learningFactor investing
Quant Q&A

The document describes a systematic equity portfolio that selects the highest-scoring stocks and rebalances monthly against the MSCI World benchmark. Because holdings and weights may change substantially at each rebalance, the author wants to attribute each…

EquitiesFactor investingPortfolio constructionStatistics
Quant Q&A

The document raises a portfolio construction problem: a daily or weekly rebalanced equity portfolio should target a level of idiosyncratic risk while controlling market and sector exposures and retaining some style exposure. It asks whether correlated…

EquitiesFactor investingPortfolio constructionRisk management
Quant Q&A

The document outlines how to value a stock with the Gordon growth version of the dividend discount model. The model relates the next expected dividend to the difference between the required return on equity and the dividend growth rate. It explains that the…

EquitiesFactor investing
Quant Q&A

The document explains Jensen’s alpha as the return component an asset earns when the modeled factor returns are zero. In a CAPM setting, alpha indicates whether an asset’s return exceeded or fell short of the amount associated with its market risk: positive…

EquitiesStatisticsFactor investing
Quant Q&A

The document describes a researcher’s method for constructing monthly market excess returns while replicating Fama–French factors for German equities. The proposed calculation weights each company’s monthly simple return by its market value at the prior…

EquitiesFactor investingStatisticsPortfolio construction
Quant Q&A

The document considers how to turn return-based factors into expected returns for portfolio optimization. The question proposes forming a long-short portfolio, perhaps from the highest and lowest ranked assets, and combining standardized returns with…

Factor investingPortfolio constructionRisk managementStatistics
Quant Q&A

The note explains how to read return values in downloadable portfolios from Kenneth French’s Data Library. Its central point is that a reported value such as 1.37 represents a return of 1.37 percent, rather than a decimal return of 137 percent. This matters…

EquitiesFactor investingStatistics
Quant Q&A

The document raises a fixed-income forecasting question: research on interest-rate predictability often models excess returns over short rates using zero-coupon curves and risk premia, while traders may work directly with observed bond yields. It asks…

Fixed incomeStatisticsFactor investing
Quant Q&A

The note discusses why sales volume, measured as sales divided by total assets, can improve the predictive value of EBIT relative to total assets in Altman’s bankruptcy model. It describes sales volume as a suppressor variable: a predictor that may have…

EquitiesStatisticsFactor investing
Quant Q&A

The document examines why simple regressions of an equity premium on GDP, GDP growth, CPI, or consumer confidence may show little explanatory power. One explanation is that domestic output includes many activities outside listed firms, while major index…

EquitiesUS marketsStatisticsFactor investing