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 proposes combining annualized returns measured over several horizons with a weighted mean and weighted standard deviation. It illustrates assigning each horizon a weight that decays exponentially with its length, controlled by a chosen decay…

StatisticsPortfolio construction
Quant Q&A

The document surveys possible developments in quantitative finance that could gain wider use or appear in future textbooks. It describes machine learning as a newer tool applied to established tasks, including risk analysis, risk management, and algorithmic…

Machine learningFactor investingVolatilityPortfolio construction
Quant Q&A

The document asks how investors’ target risk might be chosen in light of wealth, future income, savings, housing, and expected expenses. It contrasts this problem with broad allocation rules and age-based target-date strategies, then proposes a questionnaire…

Risk managementPortfolio constructionStatistics
Quant Q&A

The document asks whether adding a derivative that depends on an otherwise unspanned source of risk makes an incomplete market complete. It sets up a continuous-time market with fewer traded risky assets than Brownian risk sources, including an example where…

Derivatives pricingRisk managementStatisticsPortfolio construction
Quant Q&A

The document frames a portfolio stress test for zero-coupon bonds using key-rate DV01 exposures. Each maturity bucket has minimum and maximum allowed DV01 bounds, and the sum of the bucket exposures is subject to an overall limit. Given a stress vector…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document outlines a Monte Carlo procedure for generating joint price paths for several stocks. First, draw a matrix of returns whose asset-level observations at each time step follow a specified multivariate distribution, using a covariance structure to…

EquitiesStatisticsPortfolio constructionRisk management
Quant Q&A

The document considers replacing a broad-market equity ETF with a portfolio of sector ETFs whose combined exposure approximates the market. At year end, an investor could sell sectors at a loss and buy similar sector funds from another provider, while…

EquitiesUS marketsPortfolio constructionRisk management
Quant Q&A

The document clarifies whether a parametric value-at-risk estimate should be scaled by changing asset standard deviations or by scaling the final VaR. Under a Gaussian model with zero mean, VaR is a quantile multiplier times the portfolio standard deviation.…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document asks whether portfolio factor models, such as Fama–French, reduce the estimation burden in portfolio optimization. Its central question is that although modeling covariance among a smaller set of factor portfolios can reduce the dimension of the…

Factor investingPortfolio constructionStatistics
Quant Q&A

The discussion interprets the Arbitrage Pricing Theory as a multifactor model in which expected returns are determined by exposure to risk factors and the premia associated with those factors. Its central point is that the cited equation has no separate…

Factor investingPortfolio constructionStatistics
Quant Q&A

The discussion distinguishes simple returns, logarithmic returns, and geometric returns, and considers how each applies to performance reporting, statistical analysis, and annualization. Simple returns directly express the percentage change in value over a…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document distinguishes two tracking error calculations. The direct method takes the standard deviation of the periodic return differences between a fund and its benchmark; under this definition, zero tracking error means the fund matches benchmark…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document examines whether gross exposure divided by capital is a useful definition of portfolio leverage. It points out that this measure omits cash and can overstate risk when offsetting holdings are highly correlated, then derives a risk-based…

Risk managementPortfolio constructionVolatilityStatistics
Quant Q&A

The document explores whether investor reallocation can explain spillovers between asset returns. It starts from a mean-variance utility model and derives an unconstrained relationship between an investor’s holdings in two assets: the sensitivity of one…

Multi-assetPortfolio constructionStatistics
Quant Q&A

The document explains two ways to simulate the return of a fixed-weight portfolio under a normal-return assumption. One method samples directly from a univariate normal distribution using the portfolio’s expected return and variance. The other draws asset…

Portfolio constructionStatisticsBacktesting
Quant Q&A

The document describes a proposed stress-testing exercise for a zero-coupon yield curve built from daily observations. The curve combines a money-market-based short tenor with longer tenors interpolated from secondary-market Treasury rates. The author…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document considers two equivalent ways to represent a complete market: state-contingent Arrow-Debreu securities and a set of complex securities whose payoff vectors span all possible states. It asks how to express the equilibrium price of each complex…

Derivatives pricingPortfolio constructionFixed incomeStatistics
Quant Q&A

The document presents a Python example that simulates portfolios by drawing random asset weights, scaling them to a fixed total, and calculating annualized return, volatility, and a return-to-risk ratio from historical returns and covariance. It asks how to…

Portfolio constructionBacktestingRisk management
Quant Q&A

The discussion explains that Value at Risk (VaR) is defined for a stated time horizon and confidence level; without a horizon, a VaR figure is incomplete. It outlines a common parametric approach: estimate portfolio return volatility from historical data, an…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document distinguishes two portfolio problems: choosing investments and sizing a group of trading strategies. For multiple strategies believed to be profitable and reasonably uncorrelated, one answer suggests allocating capital in inverse proportion to…

Portfolio constructionPosition sizingRisk management
Quant Q&A

The document explains how portfolio theory can be adapted when holdings and weights change over time. It describes dynamic optimization as repeatedly estimating allocations at scheduled rebalancing dates, using data available up to each date, rather than…

Multi-assetPortfolio constructionVolatility
Quant Q&A

The document considers how to measure the fit of a portfolio or linear combination of assets intended to reproduce another asset’s returns. It notes a weakness of relative error: dividing by the target return becomes unstable when that return is near zero.…

StatisticsPortfolio constructionBacktesting
Quant Q&A

The document explains how a pension fund can use interest rate swaps within liability-driven investing to reduce the gap between asset and liability duration. Its example assumes a long-dated liability valued using a government bond yield, with only part of…

Fixed incomeDerivatives pricingRisk managementPortfolio construction
Quant Q&A

The discussion considers what an interface for monitoring an algorithmic portfolio should show. Its central design principle is to choose metrics and visualizations according to the strategy and the decisions the dashboard must support, rather than building…

Risk managementPairs tradingExecutionPortfolio construction