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

5,922 documents

Quant Q&A

The document examines a flaw in quadratic utility: its marginal utility can become negative above a wealth threshold, so an additional gain may reduce utility. It argues that this is especially concerning when the utility function is applied to investment…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document asks how to shrink a sample covariance matrix when a constant-correlation target is unsuitable for a portfolio containing different asset classes, such as stocks and bonds. Covariance shrinkage blends sample estimates with a structured target to…

StatisticsPortfolio constructionMulti-assetRisk management
Quant Q&A

The question asks how to keep hierarchical risk parity allocations within per-asset bounds while preserving the method’s recursive allocation across correlation clusters. One proposed approach examines each pair of branches at every split. It calculates each…

Portfolio constructionRisk managementPosition sizing
Quant Q&A

The discussion addresses a concern that passive funds may link large amounts of capital to stocks whose daily trading value is small. It distinguishes assets indexed to a stock from the stock’s own market value and explains that an index fund need not hold…

EquitiesPortfolio constructionExecutionMarket microstructure
Quant Q&A

The document considers whether shares held by physically replicated equity ETFs should be excluded from free-float statistics and whether ETF ownership reduces trading in the underlying stocks. Its central argument is that ETF investors might otherwise have…

EquitiesMarket microstructurePortfolio construction
Quant Q&A

The document discusses two related but distinct portfolio goals: minimizing portfolio variance through asset weights, and selecting a fixed number of futures contracts whose return streams are less redundant. For minimum variance, it recommends estimating a…

FuturesPortfolio constructionStatisticsRisk management
Quant Q&A

The document asks whether a correlation matrix is necessarily better conditioned than the covariance matrix from the same multivariate return data. One answer reports observing that correlation matrices were more well-conditioned in randomly generated…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document explains a replicating portfolio approach for modelling bank deposits, particularly non-maturing deposits whose interest rates and withdrawal behavior do not match a fixed contractual maturity. It describes allocating the deposit balance across…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document poses a two-asset portfolio question: under a no-short-selling constraint, what variance would make the lower-return asset alone the minimum-variance portfolio? It asks whether that asset would need to be risk-free to be preferable, and seeks a…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document examines whether “alpha” has the same meaning in academic finance and practitioner portfolio management. It presents a linear factor model in which an asset’s excess return is decomposed into an intercept, factor exposures and returns, and an…

Factor investingStatisticsPortfolio construction
Quant Q&A

The author describes sorting investments into ten portfolio buckets using six attributes, including returns, and measuring the attributes at time t before investing at t+1. The proposed comparison is between return distributions on the measurement day and…

EquitiesStatisticsPortfolio constructionRisk management
Quant Q&A

The document questions whether mean-variance optimization (MVO) works in practice and whether it explains the underfunding of defined benefit pension plans. The response argues that Markowitz portfolios can be numerically unstable, especially beyond two…

Portfolio constructionEquitiesFixed incomeRisk management
Quant Q&A

The document asks what return and volatility assumptions would make risk-based portfolios, especially equal risk contribution (ERC), optimal under mean-variance analysis. It contrasts ERC with minimum variance, which it says is optimal when expected returns…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document explains how to calculate a portfolio’s beta from the betas of its individual assets. It represents each asset’s return as an intercept, a benchmark-linked component, and a residual, then substitutes those expressions into the weighted portfolio…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document discusses how to extend pairs trading to baskets of more than two securities. Its central idea is to seek portfolio weights that produce a stationary portfolio series, then trade deviations as they revert. It points to general portfolio methods…

Mean reversionPairs tradingStatisticsPortfolio construction
Quant Q&A

The document introduces entropic value-at-risk (EVaR) as a coherent risk measure and discusses how it compares with conditional value-at-risk (CVaR). It describes EVaR as a tight upper bound related to VaR and CVaR through the Chernoff inequality, and…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document shows how sector allocation limits can be represented as linear inequalities in a portfolio optimization problem. For each sector, a row of the constraint matrix selects that sector’s asset weights; paired rows can impose upper and lower bounds.…

Portfolio constructionEquitiesRisk managementStatistics
Quant Q&A

The discussion addresses forecasting private equity fund capital calls and distributions, including whether forecasts can be related to market and economic conditions. It points to a theoretical reference on modeling illiquid alternative asset funds and…

Machine learningStatisticsPortfolio construction
Quant Q&A

The discussion considers how to put stocks or other instruments on comparable scales using volatility. One approach is to normalize returns by an estimated volatility, removing the effect of differing return variability. For multivariate comparisons,…

VolatilityStatisticsRisk managementPortfolio construction
Quant Q&A

The document outlines three ways to size the long single-stock variance leg against the short index variance leg in a dispersion trade. Vega weighting equates index vega with the sum of constituent-stock vegas. Theta weighting instead matches vega multiplied…

OptionsVolatilityDerivatives pricingPortfolio construction
Quant Q&A

The document derives the exposure properties of style factor portfolios formed from a cross-sectional ordinary least squares regression. Asset returns are regressed on a matrix whose columns contain the assets’ style loadings. The estimated factor returns…

Factor investingPortfolio constructionStatistics
Quant Q&A

The document considers whether financial models should use the full return distribution instead of relying on mean and standard deviation, and whether skewness and kurtosis add useful information. Its answer depends on the task and the assumed model. In a…

StatisticsRisk managementPortfolio constructionVolatility
Quant Q&A

The document considers how to choose weights for several input time series so their weighted combination remains close to a target level over time. It presents two approaches. A no-intercept regression of the target on the input series chooses weights that…

StatisticsPortfolio constructionBacktesting
Quant Q&A

The document explains how to recreate portfolio sorts associated with the Fama–French study of characteristics, covariances, and average returns. It first describes forming nine portfolios by independently sorting stocks on size and book-to-market ratio,…

EquitiesFactor investingPortfolio constructionStatistics