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
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 whether correlation-based clustering can create statistical groupings of tradable instruments to supplement standard classifications such as GICS. The questioner converts correlations into distances and asks how hierarchical clustering…

EquitiesStatisticsPortfolio construction
Quant Q&A

The discussion outlines ways to evaluate an acquisition when forecasts are available but detailed balance-sheet information is missing. Suggested discount rates include WACC, cost of equity, cost of debt, an internal hurdle rate, or a risk-free rate,…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document asks how to measure returns and Sharpe ratios for a trading record when starting capital is unknown and portfolio value can be zero. It illustrates the difficulty with a long stock position funded by an equal short position in cash: dividing…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document considers how to divide a bankroll between two independent strategies to maximize expected logarithmic growth. Each strategy has two possible outcomes: an 8% gain or a 5% loss, with different probabilities of a gain. The allocation weights must…

Position sizingPortfolio constructionStatisticsRisk management
Quant Q&A

The document outlines a PCA workflow for studying relationships among selected assets and constructing portfolio spreads. It recommends converting price histories to log returns and centering the observations, then calculating a covariance matrix; a…

StatisticsPortfolio constructionForexMean reversion
Quant Q&A

The document compares approaches to allocating a fixed budget across stocks when only whole shares can be bought. One greedy method starts with one share per asset, repeatedly adds a share to the holding furthest below its target weight, and stops when the…

EquitiesPortfolio constructionPosition sizingStatistics
Quant Q&A

The document evaluates a portfolio manager’s claim that a 10% loss was good performance in a year when the market fell 30%. With a beta of 0.2 and a risk-free rate of 5%, the CAPM expected return is calculated as −2%. Comparing the observed return with that…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document addresses a singular excess-return covariance matrix that arises when cash earns exactly the risk-free rate. Because that return is constant relative to the chosen benchmark, cash has zero variance and zero covariance with the other assets,…

Portfolio constructionFixed incomeRisk managementStatistics
Quant Q&A

The document is a reading guide for researchers beginning portfolio backtests. It points to presentations and papers on the purpose of backtesting and common sources of misleading performance, with particular attention to multiple testing: repeatedly…

BacktestingPortfolio constructionRisk managementStatistics
Quant Q&A

The document considers repeated single-period portfolio choices among many risky assets with known, non-normal return distributions. Each asset either produces a large gain with a small probability or loses its full value; assets may be correlated, and the…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document asks how to estimate relationships among return series that begin at different times, a common issue in portfolio risk analysis. It contrasts filling missing observations with index returns scaled by estimated beta against a more integrated…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document asks whether portfolio weights can be applied directly to asset log returns to calculate realized portfolio returns. The setting is weekly data: volatility forecasts come from GARCH models, and the resulting estimates feed a mean-variance…

Portfolio constructionStatisticsRisk managementBacktesting
Quant Q&A

The document considers whether principal component analysis can convert a detailed interest rate risk ladder into exposures at selected benchmark tenors. PCA changes the coordinates used to represent risk, producing components ordered by how much historical…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document frames a conceptual question about how market makers and investors can both operate in financial markets often described as zero-sum. It characterizes market makers as selling derivatives, hedging exposures to market risk factors, and providing…

Market makingDerivatives pricingPortfolio constructionRisk management
Quant Q&A

The document resolves an apparent conflict between portfolio returns calculated from portfolio value and weighted averages of individual asset returns. The key is that portfolio weights for the return period must be measured at its start. With fixed asset…

Portfolio constructionStatistics
Quant Q&A

This question considers whether a long-only portfolio can be explained or replicated using a linear combination of long-short factor returns, such as Fama–French factors or Betting Against Beta. The proposed analysis is a return regression: factor…

EquitiesFactor investingPortfolio constructionStatistics
Quant Q&A

The document discusses ways to turn a forecast about a fixed-income spread into the confidence input used by Idzorek’s version of Black-Litterman. It contrasts an investor’s subjective judgment with estimates grounded in observed outcomes or statistical…

Fixed incomePortfolio constructionStatisticsBacktesting
Quant Q&A

The exchange describes a common fixed-income application of principal component analysis: analyzing changes in yields across maturities. The first three components are characterized approximately as level, slope, and curvature, and are said to capture most…

Fixed incomeFuturesPortfolio construction
Quant Q&A

The document examines how to interpret asset-level contributions to portfolio variance. It describes a marginal-risk measure based on twice the covariance between an asset and the portfolio, and explains why this quantity depends on the other holdings…

Portfolio constructionRisk managementStatistics
Quant Q&A

The note asks how shrinking an investment universe affects a mean-variance portfolio frontier and whether a lower global minimum variance proves that the entire larger-universe frontier dominates. The answer frames portfolio construction as a constrained…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document explains how currency translation changes the return variance of a foreign equity portfolio. It expresses a European investor’s return as the US equity return combined with the EURUSD exchange-rate return, then expands variance into the equity…

ForexEquitiesRisk managementPortfolio construction
Quant Q&A

The document raises a modeling question about projecting wealth over a long horizon with portfolio returns and scheduled cash inflows or outflows. It contrasts reducing nominal investment returns by an assumed inflation rate to obtain real returns with…

StatisticsPortfolio construction
Quant Q&A

Portfolio beta is defined relative to a chosen benchmark as the covariance of portfolio returns with benchmark returns divided by the benchmark’s return variance. When holdings span bonds, sectors, and broad equities, their individual betas may refer to…

Multi-assetPortfolio constructionStatisticsFixed income
Quant Q&A

The discussion examines whether cointegration can help construct portfolios or measure risk. It distinguishes cointegration, which describes a long-run relationship among nonstationary price series, from the variance-covariance approach commonly used to…

StatisticsRisk managementPortfolio constructionMean reversion