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

5,922 documents

Quant Q&A

The document considers how to identify which candidate factor returns help explain mutual fund returns. It presents factor selection as a feature-selection problem and lists several approaches: rank factors using individual correlations, use recursive…

Factor investingMachine learningStatisticsPortfolio construction
Quant Q&A

The document asks how Barra risk models construct covariance matrices from volatility and correlation estimates. It identifies exponential decay through half-life parameters and asks how Newey–West lag adjustments and a separate volatility-regime half-life…

EquitiesStatisticsRisk managementPortfolio construction
Quant Q&A

The discussion addresses whether stock returns and estimated factor exposures should be combined for principal component analysis, and whether each dataset should be standardized first. The replies emphasize that the answer depends on the intended model,…

StatisticsFactor investingPortfolio construction
Quant Q&A

The document explains how to calculate the return of a long position in one stock and a short position in another over a holding period. It recommends calculating each asset’s ordinary return, then multiplying by its portfolio weight: positive for the long…

EquitiesPairs tradingPortfolio constructionStatistics
Quant Q&A

The document asks what an estimated equilibrium return on 90-day Treasury bills means when it appears as the risk-free rate in a reference portfolio review. The accepted answer interprets the figure as a long-run estimate of the policy-rate environment,…

Fixed incomeMulti-assetPortfolio construction
Quant Q&A

The document explains how the variance-covariance approach estimates portfolio volatility for value at risk. It requires historical returns for each asset to estimate the variance-covariance matrix, then combines that matrix with portfolio weights to…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document considers whether Black–Litterman portfolio analysis can use return distributions that are not normal. It separates two roles often combined in implementations: deriving implied-return priors from a market portfolio and covariance structure, and…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document explains how to include ridge shrinkage when minimizing portfolio variance subject to weights summing to one. It distinguishes a quadratic penalty on squared weights from a linear term and shows how the penalty fits the quadratic-programming…

Portfolio constructionRisk managementStatistics
Quant Q&A

The discussion examines whether replacing a zero-beta stock with a risk-free asset preserves a portfolio’s expected return while changing its volatility. It distinguishes a well-diversified portfolio, where the stock’s remaining contribution is unsystematic…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The document explains why a minimum-variance portfolio need not assign all capital to the single asset with the lowest standalone variance. Portfolio risk depends on both each asset’s volatility and its covariance with the others, so combining assets can…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document poses a probability question: whether the chance that one stock rises can be inferred from another stock’s rise probability and the correlation between their movements. It also asks whether probabilities and correlations across several stocks…

StatisticsEquitiesPortfolio construction
Quant Q&A

The document considers how to add an unobserved risk factor to a correlation model when its correlation with one existing asset is known. The proposed method writes the new factor as a linear regression on that asset plus a residual. Choosing the regression…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document discusses how to organize daily stock prices and company financial statements in a database for screening and backtesting. Its main recommendation is to model instruments, trading venues, price observations, and companies as related entities, so…

EquitiesBacktestingPortfolio construction
Quant Q&A

The document asks how quantitative funds build factor portfolios, such as momentum strategies, while reducing unwanted industry and style exposures. The response notes that factors commonly carry exposure to other return drivers: momentum may load on…

Factor investingPortfolio constructionRisk management
Quant Q&A

The document poses a valuation question about an acquired subsidiary funded partly with debt and partly with equity. It gives the acquirer’s financing assumptions, a separate target capital structure and cost of equity for comparable businesses, a tax rate,…

EquitiesPortfolio construction
Quant Q&A

The document distinguishes estimating a portfolio’s variance from using a covariance matrix in mean-variance optimization. A covariance matrix estimated from historical returns can be rank deficient when the number of observations is too small relative to…

StatisticsRisk managementPortfolio construction
Quant Q&A

The discussion explains why Sharpe and Sortino ratios are usually not the main operating measures for passive ETF managers. Since these funds aim to track an index, their risk-adjusted returns largely reflect the index itself, leaving limited scope for…

Portfolio constructionRisk managementExecutionMarket microstructure
Quant Q&A

The document addresses how to estimate the maximum duration of a fixed-coupon bond when maturity is determined from a yield curve and a target duration. The duration–maturity relationship can rise and then fall for below-par bonds, making it possible for a…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document compares ways to explain a daily rebalanced portfolio’s realized performance by its component strategies. One approach measures each strategy’s actual contribution, but that result can depend on how the other strategies performed along the path.…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document describes a proposed way to evaluate a multi-asset portfolio using weekly returns and a time-varying matrix of portfolio weights. The intended test samples start dates, measures performance over a one-year period, rebalances at regular…

BacktestingPortfolio constructionPosition sizingExecution
Quant Q&A

The document asks how to select a smaller representative set from a collection of currency pairs whose return series appear similar. It reports applying principal component analysis to returns and shows variance shares and loadings for a set of…

ForexStatisticsPortfolio construction
Quant Q&A

The document proposes ways to compare how stable asset allocation weights are over time, motivated by the concentration and sharp rebalancing that can arise in classical Markowitz portfolios. It describes portfolio turnover as the sum of absolute changes…

Portfolio constructionStatisticsRisk management
Quant Q&A

The question describes a trade list with tickers, buy dates, and sell dates, and asks how to evaluate its performance when each stock receives equal weight. The response points to Backtrader as a Python library for building and running backtests. It offers a…

BacktestingEquitiesPortfolio construction