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
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

5,922 documents

Quant Q&A

The document asks what recent ideas might significantly change portfolio theory, portfolio selection and optimization, or equity valuation. It does not present a particular strategy or analysis; instead, a respondent suggests several areas to investigate,…

Portfolio constructionEquitiesStatistics
Quant Q&A

The document explains how to decompose portfolio risk into the component associated with a world equity index and residual risk when only expected returns and a covariance matrix are available. For each asset, its beta to the world index can be obtained from…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The document explains why Fama–French portfolio construction uses different size breakpoints in U.S. and international equity samples. In the U.S., the size breakpoint is calculated from NYSE stocks and then applied to the broader NYSE, AMEX, and NASDAQ…

EquitiesFactor investingPortfolio construction
Quant Q&A

The document explains how asynchronous market closes can distort factor model estimation for global equities. In a cross-sectional model, factor returns and asset-specific residuals are estimated from asset returns and exposures; return series then inform…

EquitiesFactor investingStatisticsPortfolio construction
Quant Q&A

The document asks how to infer an average one-year transition matrix when multiplying three annual matrices produces a three-year transition matrix. The response proposes taking a matrix cube root: if the relevant matrix can be diagonalized with distinct…

StatisticsPortfolio construction
Quant Q&A

Factor loadings describe how modeled risk factors contribute to a credit outcome, though the term can refer to different quantities in different model classes. In a Cox-style default framework, factors may influence a firm-specific process that declines…

Fixed incomeRisk managementStatisticsPortfolio construction
Quant Q&A

The document asks how to impose an upper weight limit for a particular asset while tracing a mean-variance efficient frontier with CVXOPT. The example sets up a quadratic program with a covariance matrix, expected returns, inequality constraints, and…

Portfolio constructionBacktestingRisk management
Quant Q&A

The document distinguishes several ways to aggregate stock performance over a period. Taking the percentage change of an arithmetic average of share prices produces the return of a price-weighted basket with a fixed number of shares in each constituent.…

EquitiesPortfolio constructionBacktesting
Quant Q&A

The document addresses how a limited stock portfolio optimized for the highest Sharpe ratio relates to the CAPM market portfolio and the efficient frontier. It explains that an efficient risky portfolio can be combined with a riskless asset, such as cash, to…

Portfolio constructionRisk managementEquitiesStatistics
Quant Q&A

The document frames a choice between total return indices, which account for dividends, and price indices, which track price changes. It asks which index is appropriate for portfolio construction and risk management, and proposes that long-term investors…

EquitiesPortfolio constructionRisk management
Quant Q&A

The discussion asks what the security market line adds beyond estimating expected returns directly. The answers connect the line to CAPM: in the model, it relates an asset’s expected excess return to its market beta, providing a benchmark for comparing an…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The document asks why the Ledoit-Wolf covariance shrinkage method, using a single-index factor model target, produces an optimal shrinkage intensity of order K/T. The author understands much of the derivation but is uncertain how the asymptotic result…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document discusses how near-zero yields affect strategic asset allocation, especially for pension funds that use capital market assumptions and constrained mean-variance optimization. It notes that starting bond yields have historically helped forecast…

Multi-assetFixed incomePortfolio constructionRisk management
Quant Q&A

The document considers how to estimate a basket put option’s price sensitivity to changes in the weights of its underlying assets. It describes simulating asset prices jointly from assumed returns, volatilities, and correlations, then calculating the…

OptionsEquitiesPortfolio constructionDerivatives pricing
Quant Q&A

The document considers whether a discounted cash flow model can use a changing weighted average cost of capital during its explicit forecast period. The proposed approach would update equity cost by relevering beta each year, adjust debt cost as capital…

EquitiesFixed incomePortfolio construction
Quant Q&A

The document explains how a statistical arbitrage trade using principal-component eigenportfolios can pair an individual stock position with positions in portfolios representing common movements across stocks. In the paper’s sector or industry approach, the…

EquitiesArbitrageStatisticsPortfolio construction
Quant Q&A

The document describes a data-processing problem involving a wide monthly return table with more than a thousand company columns and an eleven-year sample. The goal is to calculate a rolling cumulative return over the previous twelve months, with a one-month…

EquitiesStatisticsPortfolio constructionMomentum
Quant Q&A

The document describes a systematic equity portfolio that selects the highest-scoring stocks and rebalances monthly against the MSCI World benchmark. Because holdings and weights may change substantially at each rebalance, the author wants to attribute each…

EquitiesFactor investingPortfolio constructionStatistics
Quant Q&A

The document explains why forecast combination weights are sometimes constrained to sum to one, and why that constraint is not universally optimal. A sum of one preserves the level and unbiasedness of forecasts when the target has a nonzero mean. For…

StatisticsBacktestingPortfolio construction
Quant Q&A

The document surveys ways to quantify whether a group of stocks moves more or less together over time. Its main measure is realized cross-sectional return dispersion: at each time point, calculate the standard deviation of returns across the stock universe.…

EquitiesStatisticsPortfolio construction
Quant Q&A

The answer separates mean-variance portfolio choice from asset pricing. Mean-variance optimization describes how an investor chooses a portfolio given return distributions and preferences. It does not, by itself, dictate how expected returns relate to risk.…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document describes a stock momentum strategy that buys the strongest recent performer and shorts the weakest, while using overlapping holding periods. Each month, one cohort is replaced, so the portfolio contains positions initiated at different dates.…

EquitiesMomentumBacktestingPortfolio construction
Quant Q&A

The document considers how to measure a trading desk’s monthly performance when daily net banking income and credit risk capital are available. It contrasts dividing month-end income by month-end capital with calculating daily income-to-capital ratios and…

Risk managementPortfolio constructionStatistics
Quant Q&A

The discussion considers whether portfolio managers’ behavioral biases can be scored objectively and compared across managers. Suggested observable patterns include stronger returns near quarter or year ends, large funds’ allocation shifts preceding similar…

Portfolio constructionStatistics