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 considers how to compare two mutual funds when only a short sequence of annual returns is available, alongside market returns. A standard test of mean returns and a bootstrap estimate are mentioned, but the central issue is that a small sample…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document considers selecting five stocks from a universe of fifteen by enumerating combinations and comparing the eigenvalues of each candidate portfolio's data. It notes that a large first eigenvalue can indicate substantial variance concentrated in a…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document outlines a common design for quantitative fundamental equity research. Investors select company measures spanning value, momentum, quality, and growth, rank stocks on those measures, and group them into deciles. They then choose a portfolio…

EquitiesFactor investingBacktestingPortfolio construction
Quant Q&A

The document explores how a market-cap-weighted ETF with two stock holdings might represent a two-times long position. It asks how to determine the fund’s initial share price and share count, then works through a one-day example in which the holdings rise by…

EquitiesPortfolio constructionRisk managementPosition sizing
Quant Q&A

The document addresses why explanations of futures notional value may multiply contract size by either the futures price or the spot price. The response argues that futures contract size and notional conventions are not universal measures of comparable…

FuturesRisk managementPortfolio construction
Quant Q&A

The document outlines how to construct a self-financing portfolio that replicates a bounded terminal claim when an equivalent martingale measure exists. It discounts the claim by the savings account and takes its conditional expectation under that measure,…

Derivatives pricingRisk managementPortfolio construction
Quant Q&A

The document considers how to turn multi-day price forecasts and predictive intervals into trade selection and capital allocation. It cautions against maximizing forecast return alone, since that can lead to concentrated, all-in positions. Instead, it points…

Position sizingRisk managementPortfolio constructionBacktesting
Quant Q&A

The document surveys several ways discrete mathematics and graph theory appear in quantitative finance. Network analysis can model links among banks and trace how credit stress spreads, examine industry concentration and stock returns, and study how…

ArbitragePortfolio constructionRisk managementEquities
Quant Q&A

The discussion considers which standard finance models become problematic when nominal interest rates turn negative. It distinguishes models that impose a nonnegative rate floor, such as the basic CIR specification, from Gaussian models that can already…

Fixed incomeOptionsDerivatives pricingPortfolio construction
Quant Q&A

The document surveys ways to judge whether a fund manager’s excess returns reflect repeatable skill or chance. One proposal compares portfolio and market returns using a market-adjusted standard deviation, then forms a t-statistic from average excess return…

StatisticsRisk managementBacktestingPortfolio construction
Quant Q&A

The document considers a real estate portfolio whose historical return series may understate risk because it reflects market averages and contains gaps. It asks how an optimizer can incorporate concerns about particular property types or locations when…

Portfolio constructionRisk management
Quant Q&A

The document explains how portfolio return variance relates to the covariance of constituent returns. For a portfolio holding fixed share counts, each period’s return is a weighted sum of the assets’ returns, with weights determined by each holding’s market…

EquitiesStatisticsPortfolio constructionRisk management
Quant Q&A

The document considers a 16-week portfolio contest in which participants seek the highest return, can observe one another's weekly results and holdings, and do not affect market prices. It asks whether copying successful portfolios offers a game-theoretic…

EquitiesPortfolio constructionRisk managementPosition sizing
Quant Q&A

The document clarifies that Markowitz mean-variance optimization does not mathematically require normally distributed asset returns. It requires the investor to make decisions using expected return and variance as the relevant criteria. Normality is one way…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document explains how to separate an industry factor’s returns from broad market movements when estimating security exposures. It describes a Gram–Schmidt-style adjustment: regress industry returns on market returns, subtract the market component using…

EquitiesFactor investingStatisticsPortfolio construction
Quant Q&A

The document considers moving a portfolio from current holdings to target weights when transaction fees are deducted from the traded assets and there is no separate cash balance. One proposed approach estimates post-fee portfolio value from initial…

Portfolio constructionExecutionRisk management
Quant Q&A

The document frames return-based style analysis as finding nonnegative weights on index returns that sum to one and minimize the variance of the difference between a portfolio’s returns and the weighted index returns. This estimates how a portfolio’s return…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document derives portfolio weights that minimize variance subject to achieving a specified expected return. It uses a Lagrangian for the quadratic variance objective and the linear target-return constraint, then solves the first-order condition to…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document compares two ways to calculate returns and volatility for a 70/30 stock-and-bond risk benchmark. One method rebalances to the target weights monthly; the other lets weights drift for a chosen period before calculating returns. The question is…

Multi-assetPortfolio constructionRisk managementBacktesting
Quant Q&A

The document explains why the characteristic portfolio for a chosen asset characteristic is not constrained to have weights summing to one. In the cited construction, the portfolio minimizes variance subject to achieving a unit exposure to the…

Portfolio constructionRisk managementFactor investing
Quant Q&A

The document frames required return as a threshold expected return that makes an investor indifferent between holding a market portfolio alone and adding a risky asset. It starts with a probability model for the asset and market returns, derives the…

Portfolio constructionRisk managementStatisticsFactor investing
Quant Q&A

The document considers whether an investor comfortable with all-equity exposure could hold a diversified stock-bond portfolio and use leverage to bring its volatility up to the level of stocks. The proposed rationale is that the mix may offer better…

Multi-assetPortfolio constructionRisk managementStatistics
Quant Q&A

The question asks how an asset with zero standalone return, such as insurance, could improve the compound growth of a portfolio when combined with a risky holding. The intuition offered is that the hedge can offset severe losses, helping preserve capital…

Risk managementPortfolio constructionStatistics
Quant Q&A

This note derives marginal risk contribution for a two-asset portfolio by differentiating portfolio volatility with respect to an asset weight. Applying the chain rule to the square root of portfolio variance leaves portfolio volatility in the denominator;…

Portfolio constructionRisk managementStatistics