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 examines whether CAPM and the Fama–French three-factor model should be viewed as cross-sectional models, time-series models, or tools for forecasting an individual asset’s future return. It distinguishes CAPM’s theoretical relation among…

EquitiesFactor investingStatisticsMachine learning
Quant Q&A

The document explains how to estimate a stock’s sensitivity to a proposed risk factor, such as interest rates, while also including the market factor. It frames each beta as a regression coefficient: stock returns are the dependent variable, and market and…

EquitiesFactor investingStatistics
Quant Q&A

The document explains the equity term structure as the relationship between cash-flow maturity and expected return, analogous to a bond yield curve. One approach estimates each stock’s duration as the discounted, price-weighted timing of its expected future…

EquitiesStatisticsFactor investingDerivatives pricing
Quant Q&A

The document introduces the Fama–French three-factor return model, in which market exposure is supplemented by size and value factors. It asks whether the significance and persistence of the size and value premiums show that small-cap and value stocks carry…

EquitiesFactor investingStatistics
Quant Q&A

The discussion explains why the Fama–French size and value factors are not readily available as current daily observations from the standard French data library: their underlying CRSP inputs are updated monthly. For a daily estimate, the answer proposes…

Factor investingEquitiesStatisticsUS markets
Quant Q&A

This question examines whether daily returns for replicated Fama–French five-factor portfolios should begin on the portfolio formation date or after a one-day delay. The author describes applying a one-day lag to portfolios formed at June-end, which treats…

Factor investingEquitiesBacktestingExecution
Quant Q&A

The document asks how to assess the statistical significance of a monthly rebalanced long–short value strategy over a long historical lookback. The answer recommends comparing several performance measures, including Sharpe and Sortino ratios, yearly profits,…

EquitiesFactor investingBacktestingStatistics
Quant Q&A

The document examines why a fund regression using principal components of correlated market and style indexes can produce a small beta for the broad market index after the component betas are mapped back to the original variables. The response explains that…

EquitiesStatisticsFactor investing
Quant Q&A

The document compares two ways to estimate performance relative to factors. In a two-stage approach, asset exposures are first estimated from time-series regressions, then factor risk premiums are estimated from cross-sectional regressions at each date and…

Factor investingStatisticsPortfolio construction
Quant Q&A

The document addresses the challenge of comparing Tobin’s Q across countries when direct data are unavailable. It notes that data needed to calculate the ratio are often missing, particularly for emerging markets, making broad country rankings difficult to…

EquitiesStatisticsFactor investingMulti-asset
Quant Q&A

The discussion answers a dissertation researcher seeking published work that uses the Kenneth French data library’s Fama-French three-factor data, so the researcher can cite precedent rather than calculate factors independently. The response notes that Fama…

EquitiesFactor investingStatistics
Quant Q&A

The note describes a factor-investing approach that begins with a diversified, market-cap-weighted index portfolio. Practitioners can adjust stock weights according to their estimated exposures to the Fama–French size and value factors, increasing weights in…

Factor investingPortfolio constructionEquities
Quant Q&A

The document discusses how to evaluate stock-return factor models and whether information criteria should be applied to time-series regressions for individual assets or to cross-sectional models. It explains that the answer depends on the model’s purpose and…

EquitiesFactor investingStatisticsPortfolio construction
Quant Q&A

The document explains how to recover factor returns from observed individual stock returns and a Barra factor exposure matrix. The suggested approach is a cross-sectional linear regression: stock returns are modeled as factor exposures multiplied by factor…

EquitiesFactor investingStatisticsRisk management
Quant Q&A

The document addresses how to test whether one factor can be removed from a multi-factor asset pricing model. A factor’s average return alone is not a sufficient criterion: omitting it changes the estimated exposures to the remaining factors. The proposed…

Factor investingStatisticsPortfolio construction
Quant Q&A

The document distinguishes Jensen’s alpha as the intercept in a regression of a fund’s excess returns on the market’s excess returns from a single-period difference between an observed return and its CAPM expected return. The regression estimates alpha and…

StatisticsEquitiesFactor investing
Quant Q&A

The document describes a practical problem in combining analysts’ ordinal ratings with quantitative stock factors. The ratings run from very good to very bad, but the watchlist excludes the worst stocks, so the observed scores cluster near the favorable end.…

EquitiesFactor investingStatistics
Quant Q&A

The document asks how to obtain residuals adjusted for heteroscedasticity and autocorrelation when testing whether the alphas in a factor model are jointly zero. Its answer explains that the Newey–West estimator in the R sandwich package returns a…

StatisticsFactor investing
Quant Q&A

The document raises a portfolio-construction question about how correlations among long-only and short-only factor portfolios relate to the correlation of their combined long-short portfolio. The example concerns quality and value portfolios: the long-only…

Factor investingPortfolio constructionStatistics
Quant Q&A

The exchange concerns a derivation connecting a stochastic discount factor (SDF) to a one-factor expected-return relation. The setup defines the SDF as one minus a traded tangency-portfolio return, then asks how the no-arbitrage pricing equation yields the…

Factor investingStatisticsPortfolio construction
Quant Q&A

The document explains why factor investing and machine-learning applications are more common in equities than in fixed income. Bonds differ by maturity, liquidity, optionality, and capital-structure position, so securities from one issuer are less…

Fixed incomeEquitiesFactor investingMachine learning
Quant Q&A

The document concerns construction of the unanticipated risk premium factor used in a stock-return study. It describes URP as the return difference between a low-grade bond index and a portfolio of long-term government bonds, then asks which return measure…

Factor investingFixed incomeEquities
Quant Q&A

The document raises a question about interpreting variation in price-dividend ratios. It cites a claim attributed to Cochrane and Fama: variation in these ratios is associated with changes in expected excess returns, or risk premiums, rather than news about…

EquitiesStatisticsFactor investing