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 considers how to estimate a portfolio’s quarter-end return when valuations for some illiquid private assets have not yet arrived. It frames the task as predicting missing asset values from the returns of assets already marked and the portfolio’s…

Multi-assetStatisticsPortfolio constructionRisk management
Quant Q&A

The document explains the factor of one half in a mean-variance portfolio objective that subtracts a risk penalty proportional to portfolio variance from expected return. The factor is a mathematical convenience: when differentiating the quadratic variance…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document discusses adding a penalty proportional to absolute portfolio changes to a mean–variance objective, while retaining constraints such as long-only holdings and fully invested weights. Its central modeling idea is to represent each position change…

Portfolio constructionRisk managementBacktesting
Quant Q&A

The document asks whether two assets with equal return volatility can be combined into a product with greater percentage-return volatility, without simply using cash leverage. It considers a long-only linear combination and derives its variance from the…

Multi-assetPortfolio constructionVolatilityOptions
Quant Q&A

Subadditivity says that the risk assigned to a combined position should be no greater than the sum of the risks assigned to its components. The document explains the right-hand side as the separate risks of two positions, whether those positions are held in…

Risk managementPortfolio constructionStatistics
Quant Q&A

The document explains how to find the global minimum variance portfolio from two risky assets. It represents the portfolio with weights w and one minus w, then expresses portfolio variance using each asset’s variance and their covariance, represented through…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document investigates when the phrase “Modern Portfolio Theory” entered use, distinguishing the label from the ideas associated with Markowitz. It notes that Markowitz’s early work used different terminology and reports a 1965 article by Herbert Grubel…

Portfolio constructionStatistics
Quant Q&A

The document describes a portfolio-selection problem: individual strategies can be profitable yet generate trades in bursts, leaving gaps in activity and uneven profit growth. The author wants to combine strategies so that trades and returns are distributed…

Portfolio constructionBacktestingRisk management
Quant Q&A

The document raises a portfolio-construction problem from a life-insurance asset and liability model: whether a large bond portfolio can be represented by a smaller set of zero-coupon bonds with approximately matching cash flows. The motivation is to reduce…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document works through the variance of a weighted basket when all asset returns have correlation one. For two assets, it writes the usual portfolio variance expression, including the covariance term, and recognizes that the expression becomes the square…

StatisticsVolatilityPortfolio construction
Quant Q&A

The document explains how risk-free rates affect long-short portfolio returns. If the long and short legs have equal funding amounts, subtracting the risk-free rate from each leg before combining them gives the same result as calculating the long-short…

StatisticsFactor investingPortfolio construction
Quant Q&A

The document explains CAPM equilibrium as a market-clearing condition: aggregate demand for securities matches their supply. Under the model’s assumptions, investors choose combinations of the risk-free asset and the market portfolio, with their allocation…

EquitiesPortfolio constructionStatistics
Quant Q&A

The document outlines a rolling-window procedure for comparing portfolios by out-of-sample variance. At each step, returns within a fixed estimation window are used to construct portfolios; the window then advances by one month, dropping the oldest…

Portfolio constructionBacktestingRisk managementStatistics
Quant Q&A

The discussion distinguishes introductory portfolio theory from the more advanced subject of portfolio management. It recommends several books associated with portfolio management, while noting that these may be too advanced for a student whose course begins…

Multi-assetPortfolio constructionRisk management
Quant Q&A

The document poses a portfolio performance question involving three assets held at the start, the later sale of one asset, and updated values for the two remaining holdings. It asks how to calculate the portfolio return over the full period, but provides no…

Portfolio constructionStatisticsEquities
Quant Q&A

The document addresses why returns computed from MSCI World subindices may not match the published parent-index return when weights are based on each subindex’s index level. The answer states that MSCI indices are market-cap weighted, so a rough…

Multi-assetEquitiesPortfolio construction
Quant Q&A

The document raises a theoretical question about whether a positive equity risk premium could arise from a finite investable asset universe, even without investor risk aversion. It contrasts limited diversification in finite markets with a hypothetical…

EquitiesPortfolio constructionArbitrageRisk management
Quant Q&A

The document addresses how to describe one asset’s volatility in relation to a portfolio that contains several correlated assets. The answer identifies the quantity as the asset’s marginal volatility contribution and expresses it as the asset’s own standard…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document explains why a commonly quoted All Weather allocation may not show equal risk contributions when measured with portfolio software. According to the accepted answer, the weights came from an interview describing an unleveraged sample portfolio…

Multi-assetPortfolio constructionRisk managementFixed income
Quant Q&A

The document considers whether it is reasonable to average correlation matrices estimated from the same underlying prices but sampled at different return frequencies. Its answer indicates that this practice has been observed in risk modeling, including…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document examines why annualized volatility estimated from weekly or other lower-frequency returns can exceed an estimate from daily returns. The square-root-of-time scaling rule relies on returns being identically distributed and independent; serial…

VolatilityStatisticsPortfolio constructionMulti-asset
Quant Q&A

The document recommends *Active Portfolio Management* by Richard Grinold and Ronald Kahn as a possible preparation for graduate study in asset pricing and portfolio choice. The original question asks for a book that is accessible to a beginner yet rigorous…

Portfolio construction
Quant Q&A

The document considers how to hedge a leveraged liability whose value depends on a basket of two assets and U.S. dollars. It questions whether a hedge based on the assets’ historical correlation is reliable, especially if that relationship changes. The…

Risk managementPortfolio constructionStatistics
Quant Q&A

For a mean-variance portfolio, the covariance matrix can be separated into asset volatilities and pairwise correlations. Place the estimated standard deviations on the diagonal of a diagonal matrix, then multiply that matrix by the correlation matrix and by…

Portfolio constructionStatisticsRisk management