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 note shows how to choose the 5-year and 10-year weights in a 5s/7s/10s interest-rate butterfly so its exposure to the first two principal components is zero. It represents the portfolio’s key-rate sensitivities in PV01 terms, sets the 7-year position as…

Fixed incomePortfolio constructionRisk managementStatistics
Quant Q&A

The document asks about statistical properties of a sample estimator for average value at risk, also called conditional value at risk. It presents the population objective as a minimization over a threshold parameter, with expected tail loss beyond that…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document poses a quadratic minimization problem with a positive-definite matrix and constraints requiring each linear form in the decision vector to have magnitude greater than one. Although the objective is convex, the feasible set is non-convex because…

StatisticsPortfolio construction
Quant Q&A

A portfolio’s dollar volatility is unchanged when every position is reversed: variance is sign-insensitive, so a short portfolio with the same absolute value as a long portfolio has the same standard deviation. The discussion distinguishes this total risk…

Portfolio constructionVolatilityRisk management
Quant Q&A

The accepted answer explains how to raise a portfolio’s volatility by combining a tangency portfolio with a risk-free asset. Since the risk-free asset has zero volatility and is uncorrelated with the tangency portfolio, the combined portfolio’s volatility is…

Portfolio constructionRisk managementPosition sizing
Quant Q&A

This note explains how to build a constant-correlation covariance target from a sample covariance matrix, then blend that target with the sample estimate using a chosen shrinkage weight. It first converts each off-diagonal covariance into a correlation,…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document considers whether a portfolio should rebalance less often when its return forecasts cover a longer horizon. It explains that more frequent rebalancing can incorporate updated views and potentially improve alignment with target exposures, while…

Portfolio constructionBacktestingExecutionRisk management
Quant Q&A

The document offers a basic principle for market makers managing quotes across multiple securities: adjust prices in response to inventory in the quoted asset, and also account for inventory in assets considered similar. This extends single-instrument…

Market makingPortfolio constructionExecutionMarket microstructure
Quant Q&A

The document explains how to interpret the Treynor ratio, which measures a portfolio’s excess return per unit of beta, alongside the CAPM market risk premium. Under CAPM with zero alpha, a portfolio’s expected Treynor ratio equals the market risk premium.…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document derives the cash account needed to keep a portfolio self-financing when its stock holding changes over time. Portfolio value is written as the shares held times the stock price plus the balance in an interest-bearing account. Applying the…

Portfolio constructionDerivatives pricingRisk managementStatistics
Quant Q&A

The document surveys practical ways pension plans can set investment risk appetite within an asset-liability management framework. It presents examples from public pension investors: risk limits can include relative performance measures against a reference…

Risk managementPortfolio constructionFixed incomeEquities
Quant Q&A

The document explains how principal component analysis (PCA) is used to summarize yield curve movements. In the example, the first three components account for 58%, 85%, and 93% of cumulative variance, and their coefficient patterns are commonly interpreted…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document asks how to assess three portfolios against the Capital Market Line (CML) and how to allocate capital to achieve a target return. With a 2% risk-free rate and a market portfolio expected to return 10% with 20% standard deviation, the CML slope…

Portfolio constructionRisk managementPosition sizingStatistics
Quant Q&A

This document introduces notation used to describe a jointly normally distributed vector of financial variables. It presents a multivariate normal density built from a mean vector and a variance–covariance matrix, then asks how to interpret the density and…

Risk managementStatisticsPortfolio constructionFixed income
Quant Q&A

This discussion outlines how optimal control concepts apply to quantitative finance. In dynamic portfolio construction, an investor allocates capital across instruments while accounting for expected returns, risk, and the costs of changing positions over…

Portfolio constructionOptionsRisk managementDerivatives pricing
Quant Q&A

The document asks how researchers should estimate correlation matrices from historical financial data. It highlights choices that can affect the result, including observation frequency, sample size, and the method used to extract correlations from time…

StatisticsPortfolio constructionRisk managementEquities
Quant Q&A

The document raises modeling and portfolio attribution questions about minimum lower partial moment hedging with order two, in the setting of currency hedges for international equity portfolios. It contrasts downside co-moments with covariance matrices,…

EquitiesForexRisk managementPortfolio construction
Quant Q&A

The document formulates portfolio liquidation as a continuous-time optimization. It balances a trading cost that depends on the rate of position change against a penalty for holding portfolio variance, represented using positions and their covariance matrix.…

Portfolio constructionExecutionRisk managementStatistics
Quant Q&A

The document examines whether a two-asset minimum-variance portfolio can determine how much of one stock to buy or short against a holding in another. It describes calculating the portfolio weight from the assets’ return volatilities and correlation, then…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The document solves a two-asset allocation problem for an investor with quadratic utility over terminal wealth. The investor begins with $100 and chooses a share to place in a risky asset, with the remainder earning the risk-free rate. The risky asset has…

Portfolio constructionPosition sizingRisk managementStatistics
Quant Q&A

The document compares two ways to estimate hedge positions for replicating a signed, equal-weighted portfolio of stocks with other instruments. One approach runs a separate rolling regression for each constituent and averages the resulting hedge…

Portfolio constructionEquitiesStatisticsBacktesting
Quant Q&A

The document explains why a portfolio value written as holdings in a stock and a risk-free asset can be modeled using only the gains from those assets under a self-financing strategy. Applying the product rule to each holding reveals additional terms…

Derivatives pricingPortfolio constructionStatistics
Quant Q&A

The document addresses whether portfolio weights should be optimized using asset returns or returns measured relative to a benchmark. Its answer favors raw portfolio returns when the goal is to evaluate a complete investment strategy without a specific…

Portfolio constructionBacktestingRisk management
Quant Q&A

The document explains how to calculate account performance when deposits, withdrawals, and currency conversions can occur at any time. It recommends treating the account like a fund: track the number of units outstanding and the net asset value per unit in a…

ForexSpot marketsPortfolio constructionRisk management