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
WonderTrader
14 documents
Alphalens
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 considers whether to constrain the intercept to zero when estimating a security’s factor beta from a single-factor time-series regression. Asset-pricing theory implies a zero intercept for excess returns, while practical regressions may produce…

Factor investingStatisticsBacktesting
Quant Q&A

The document asks whether returns used to construct the size and value components of a Fama–French three-factor model should be converted to the home currency when the market-return data have already been converted. The example concerns a Danish investor…

EquitiesFactor investingPortfolio construction
Quant Q&A

The discussion examines whether low-volatility stocks outperform high-volatility stocks over long periods and whether the result depends on the sample window. It points to research across equities and other asset classes that reports weak or absent positive…

EquitiesVolatilityFactor investingStatistics
Quant Q&A

The document seeks introductory resources on systematic strategies in fixed income, with particular interest in corporate bonds, options, and foreign exchange. The replies point to a research paper on systematic credit investing that covers investment-grade…

Fixed incomeFactor investingStatisticsDerivatives pricing
Quant Q&A

The document raises two questions about using principal component analysis on index and sector returns as predictors of a single stock’s return. It asks whether the first component, or a set of leading components, should explain a minimum share of variance…

StatisticsEquitiesFactor investing
Quant Q&A

The document describes an attempt to estimate three-factor Fama–French regressions for annual stock portfolios sorted into ROIC quartiles. The proposed setup creates four portfolios per year and regresses each constituent company’s annual excess return on…

Factor investingEquitiesStatistics
Quant Q&A

The document compares ways to summarize price-to-book ratios across a sector, emphasizing that the appropriate measure depends on the intended use. A simple average or median of company ratios describes a typical constituent but can be distorted by extreme…

EquitiesFactor investingStatistics
Quant Q&A

The document explores whether CAPM remains valid when investor preferences follow Prospect Theory, with utility that is concave for gains and convex for losses. It contrasts this pattern with the concave utility and mean-variance assumptions often used to…

Portfolio constructionStatisticsRisk managementFactor investing
Quant Q&A

The document considers why a regression of an individual stock’s returns on the Fama–French three factors produces a lower R-squared than expected from the original factor-model paper. The questioner describes aligning monthly stock returns with monthly…

EquitiesFactor investingStatistics
Quant Q&A

The document considers whether Beneish’s M-Score, developed using US company data, can be applied to UK firms reporting under IFRS. Its answer is that the model may still be usable, but financial statements should first be brought into a common accounting…

EquitiesFactor investingStatistics
Quant Q&A

The document asks whether a multi-factor rolling beta can be estimated by regressing a hedge fund index’s returns on several asset-class return series, then repeating the regression over a moving window. It confirms this as the basic approach, while warning…

Multi-assetStatisticsFactor investing
Quant Q&A

The document explains why the Fama–French three-factor model adds size and book-to-market factors to the market factor. The cited account says the factors were selected because historical returns for small firms and firms with high book-to-market ratios…

EquitiesFactor investingStatisticsBacktesting
Quant Q&A

The document asks how to pair weekly share prices with earnings when calculating price-to-earnings ratios. The responses explain that the earnings measure depends on the purpose of the analysis and the data available. Trailing twelve-month earnings are…

EquitiesFactor investingBacktestingStatistics
Quant Q&A

The document considers whether monthly investment returns can be expanded into daily observations for factor regressions and portfolio weight analysis. Its main proposal is stochastic backfilling: model the lower frequency asset’s return distribution,…

StatisticsPortfolio constructionFactor investingBacktesting
Quant Q&A

The document asks how a linear multifactor model for asset returns under Arbitrage Pricing Theory can imply a pricing kernel, or stochastic discount factor, that is linear in the same factors. It defines asset factor loadings, factor returns, residuals, and…

Factor investingStatisticsDerivatives pricing
Quant Q&A

The document asks why Alphalens raises a length mismatch while cleaning factor data and computing forward returns. Its example aligns factor observations and price data by common assets and dates, then removes the final price date, yet still encounters…

EquitiesFactor investingBacktestingStatistics
Quant Q&A

The document describes an attempt to test valuation, size, and momentum premia with Fama-MacBeth regressions. The proposed design estimates factor loadings in rolling 60-month time-series regressions for 50 portfolios, then runs monthly cross-sectional…

Factor investingStatisticsEquitiesBacktesting
Quant Q&A

The document explains that rolling CAPM beta can be calculated either by regression or from rolling correlation multiplied by the ratio of the asset’s standard deviation to the market’s. It argues that the estimation horizon should reflect the investor’s…

EquitiesStatisticsFactor investingRisk management
Quant Q&A

The document introduces factor grouping as a way to condition stock signals on categories such as sector or industry. It describes two common transformations: subtracting a group’s average return from each stock’s return, or ranking stocks within their…

EquitiesFactor investingMean reversionStatistics
Quant Q&A

The document poses an estimation problem for a single-factor asset pricing model when the factor is not itself a return. It specifies time-series regressions of asset excess returns on the factor, with intercepts constrained by factor loadings, the factor…

Factor investingStatisticsEquities
Quant Q&A

The discussion considers why a multivariate regression of monthly returns on fundamental factors such as valuation, book value, and cash flow may have strongly autocorrelated residuals. Suggested responses include fitting an ARMA model to the returns first…

EquitiesStatisticsFactor investing
Quant Q&A

The document clarifies how to calculate returns for portfolios formed by sorting S&P 500 companies on market-to-book ratios. For a value-weighted return within each bucket, each constituent’s monthly return is multiplied by its market capitalization divided…

EquitiesFactor investingPortfolio construction
Quant Q&A

The document raises a model-selection question for estimating an asset or fund’s beta and risk exposures to one or more factors: whether to fit a regression on a short recent window or a longer historical record. A short window can better reflect current…

StatisticsFactor investingRisk management
Quant Q&A

The document explains industry fixed effects in cross-sectional regressions used in asset pricing. The method adds industry-specific constant terms, often implemented as indicator variables, to the regression. These terms capture average return differences…

EquitiesFactor investingStatistics