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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

4,194 documents

Quant Q&A

The document asks for a rule of thumb for the share of a stock’s daily return variance explained by market movement, framed as the typical correlation between a stock and the market. The accepted response cites historical risk-model research and reports that…

EquitiesStatisticsFactor investingRisk management
Quant Q&A

The document discusses ways to assess whether a strategy’s live profits reflect a repeatable signal or chance, especially when market volatility is large relative to the observed gains. One proposed test, attributed to Alfred Cowles, preserves the trader’s…

StatisticsBacktestingFactor investingRisk management
Quant Q&A

The document distinguishes trading expected returns from trading mean reversion in the residuals of a factor model. Its answer argues that residual strategies can capture unexplained, potentially orthogonal return sources, which may diversify established…

EquitiesMean reversionFactor investing
Quant Q&A

The note explains how to interpret a question from Grinold and Kahn’s portfolio theory exercises about the characteristic associated with the Major Markets Index portfolio. The proposed interpretation is to identify the attribute for which the MMI portfolio…

Factor investingPortfolio constructionStatistics
Quant Q&A

The document asks whether monthly factor returns should be aggregated into overlapping quarterly, semiannual, or annual returns before regressing them on lagged market- and funding-liquidity variables. The proposed motivation is that monthly observations may…

Factor investingStatisticsBacktesting
Quant Q&A

The document describes a long–short factor backtest that ranks assets into top and bottom quintiles. The signal has positive performance at monthly, quarterly, and annual rebalancing frequencies, with returns improving as rebalancing becomes less frequent.…

BacktestingFactor investingPortfolio constructionRisk management
Quant Q&A

The document distinguishes common uses of excess return: an asset's return minus the risk-free rate, and one asset's return minus another benchmark's return, such as the market. Both are differences between returns and can be interpreted as the payoff on a…

EquitiesStatisticsFactor investingRisk management
Quant Q&A

The discussion asks why an equally weighted portfolio of mutual funds can have a much higher four-factor model R-squared than the average R-squared from separate regressions for each fund. The explanation is that fund-specific return noise tends to cancel…

StatisticsFactor investingPortfolio construction
Quant Q&A

The document reports Fama–MacBeth regressions examining whether idiosyncratic volatility predicts stock returns, with beta, size, book-to-market, short-term reversal, illiquidity, maximum return, coskewness, and idiosyncratic skewness considered as controls.…

EquitiesStatisticsFactor investing
Quant Q&A

The note explains why a long-short factor portfolio such as SMB or HML is not necessarily market neutral. The factors are assembled from six portfolios formed by sorting stocks on size and book-to-market, rather than by explicitly targeting zero market…

EquitiesFactor investingPortfolio constructionRisk management
Quant Q&A

The document describes the Heston and Rouwenhorst approach to decomposing stock returns into a world component, country effects, and industry effects. It uses monthly cross-sectional weighted least squares on individual stocks, with market capitalization as…

EquitiesFactor investingStatistics
Quant Q&A

The document raises a portfolio-construction question about coordinating an alpha model with a statistical risk model. The risk model decomposes returns into factor exposures and factor returns, leaving residual returns. The proposed alpha model uses…

Factor investingPortfolio constructionMachine learningStatistics
Quant Q&A

The document addresses why bank profitability ratios can differ across references, focusing on net profit margin and return on assets. Net profit margin may use net interest income or broader total income as its denominator, while return on assets may use…

EquitiesStatisticsFactor investing
Quant Q&A

The discussion examines why a portfolio’s benchmark beta can fall and lose statistical significance when size, value, and momentum factors are added to a regression. In the example, the benchmark-only model reports a larger, significant loading, while the…

Factor investingStatisticsEquities
Quant Q&A

The document considers how machine learning could extend cross-sectional factor models used to explain security returns and estimate portfolio variance. It suggests modeling factor exposures as functions of observable security characteristics, such as size,…

Machine learningFactor investingEquitiesPortfolio construction
Quant Q&A

The document raises an alternative to the common factor backtest that buys the highest-ranked group and shorts the lowest-ranked group. It quotes a research proposal to construct a long-only portfolio with exposure to a chosen factor while targeting a…

Factor investingBacktestingPortfolio construction
Quant Q&A

The document describes a thesis design for testing cross-sectional momentum in cryptocurrencies. Each week, coins are ranked by their past value-weighted log returns over several lookback windows, then divided into five equal-weighted portfolios. The…

CryptoMomentumFactor investingPortfolio construction
Quant Q&A

The note addresses one part of the Gibbons, Ross, and Shanken test used to evaluate asset-pricing factor models. The test statistic combines estimated pricing errors with a scaling adjustment based on the factor returns. The specific question is how to…

StatisticsFactor investingEquities
Quant Q&A

The document frames a statistical problem: testing whether the average returns of stock decile portfolios differ from model-predicted returns. The data are monthly portfolio returns spanning a long historical period, and the target is an annual return…

EquitiesStatisticsFactor investing
Quant Q&A

The document asks how to determine whether a factor such as size changes a strategy’s performance, using backtests on large- and small-cap stock groups as an example. Comparing returns or Sharpe ratios alone does not establish that the difference reflects a…

Factor investingEquitiesStatisticsBacktesting
Quant Q&A

The document explores how to allocate a total change in a metric among several multiplicative components. It frames the attribution as integrating a multivariable function’s total derivative between its initial and final values. Because partial contributions…

StatisticsFactor investing
Quant Q&A

The document clarifies where to obtain the Fama–French value factor, HML, and how it relates to portfolios sorted by company size and book-to-market. The six size and book-to-market portfolio returns can be used to reproduce HML, so labels such as the…

Factor investingEquitiesUS markets
Quant Q&A

The document reports an empirical research question about Indian firms, examining financial constraints, research and development spending, and stock returns. The researcher says the constraint index was built using approaches associated with Kaplan and…

EquitiesFactor investingStatistics
Quant Q&A

The document raises a question about how to interpret a passage on stock return comovement and factor models. The cited example imagines a characteristic that predicts higher average returns, such as ticker-letter position, but does not necessarily cause…

EquitiesFactor investingStatistics