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 identifies a suspected comparison error in the Optimal Number of Clusters procedure associated with de Prado and Lewis's work on detecting false investment strategies. The algorithm recursively reclusters groups whose silhouette-based…

Machine learningStatisticsPortfolio construction
Quant Q&A

This answer derives how many shares to sell after a price change to restore an asset to its initial portfolio weight, assuming sale proceeds remain in cash and no outside capital is added. It writes the starting and ending portfolio values, equates the…

Portfolio constructionPosition sizingRisk management
Quant Q&A

This exchange explains that mean-variance optimization does not inherently require portfolio weights to sum to one. That condition is an added modeling choice, commonly used to represent allocating all available capital to long-only positions, or to require…

Portfolio constructionRisk managementStatistics
Quant Q&A

This exchange considers whether an asset with negative expected return can still be useful when combined with a portfolio, especially if its returns are negatively correlated or uncorrelated with the portfolio. The answer focuses on expected return relative…

Portfolio constructionRisk managementPosition sizing
Quant Q&A

The document asks how to extend mean-variance portfolio optimization with limits on factor exposures and individual positions. The objective is the familiar trade-off between expected return and variance, whose unconstrained solution depends on the inverse…

Portfolio constructionFactor investingRisk managementStatistics
Quant Q&A

Market-neutral long–short portfolios can produce positive profit and loss while having little or no net invested capital, making a conventional return denominator unclear. The document presents two ways to define returns for Sharpe ratio analysis: divide…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document considers a claim whose payoff is the time integral of an asset’s proportional price change. Its main replication argument is direct: hold one unit of the underlying’s inverse price, or equivalently one dollar of stock exposure, so the…

Derivatives pricingPortfolio constructionEquities
Quant Q&A

The document explains how CAPM relates to modern portfolio theory and mean-variance optimization. MPT uses expected returns, variances, and covariances to construct an efficient frontier; combining a tangency portfolio with a risk-free asset gives a capital…

Portfolio constructionStatisticsMomentumFactor investing
Quant Q&A

The document considers an out-of-sample portfolio process that updates monthly. It uses a rolling 36-month covariance estimate to construct a minimum-variance portfolio, reverse-optimizes those weights into implied returns, combines the estimates with…

Portfolio constructionBacktestingRisk management
Quant Q&A

The document considers whether a trend-following trader should express a signal on a base currency, such as GBP, through several currency pairs rather than through a single pair. The response argues that a basket of terms currencies may better represent…

ForexTrend followingPortfolio constructionRisk management
Quant Q&A

The document works through an exam-style question about finding an asset’s covariance with a market portfolio when that portfolio is defined as a weighted combination of two assets. By applying covariance’s linearity, the answer expands the covariance into…

StatisticsPortfolio construction
Quant Q&A

The question concerns a two-period consumption model in which an investor allocates wealth between a risky asset and a zero-coupon bond. The displayed equations appear to let the bond position transfer funds between periods, while the question asks why bond…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document asks whether a portfolio of two stocks can have both lower volatility and a higher return than either stock, and whether adding more stocks changes the answer. The response gives a mathematical edge case: if two assets have identical volatility…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The document investigates why a global equity portfolio that lagged its benchmark during a short, volatile period could still show a daily regression beta below one. Its main explanation is nonsynchronous trading: markets in different time zones close at…

EquitiesStatisticsPortfolio constructionRisk management
Quant Q&A

The document considers whether unknown asset-class returns can be recovered by regressing observed portfolio returns on known allocation weights. It notes a potential identification problem because the weights in each portfolio sum to one, creating a…

StatisticsPortfolio constructionFactor investing
Quant Q&A

The document describes a practitioner’s attempt to extend univariate GARCH risk analysis to a three-series DCC-GARCH model. The workflow fits separate conditional volatility models, combines them through a dynamic conditional correlation specification, and…

StatisticsRisk managementBacktestingPortfolio construction
Quant Q&A

The document examines why CAPM assigns an asset with zero market beta an expected return equal to the risk-free rate, even though a single zero-beta asset can still carry substantial risk. It explains diversification using the variance of an equally weighted…

StatisticsPortfolio constructionRisk managementFactor investing
Quant Q&A

A self-financing portfolio changes value only through changes in the assets it holds, with no external deposits or withdrawals. For holdings phi_i in assets priced S_i, its infinitesimal value change is the sum of each holding multiplied by that asset’s…

Portfolio constructionDerivatives pricingStatistics
Quant Q&A

The discussion explores whether equal risk contribution portfolios can be built using tail measures such as value at risk or expected shortfall, and what conditions support the approach. It highlights positive homogeneity: for a differentiable risk measure…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document offers guidance for choosing a short applied mathematics project involving financial data and time-series analysis. It recommends aligning the topic with the supervisor’s research interests and adapting an existing empirical paper into a smaller…

StatisticsHigh-frequency tradingPortfolio constructionVolatility
Quant Q&A

The discussion examines whether principal component analysis of yield curves has practical value beyond describing movements as level, slope, and curvature. One answer argues that PCA may help create a denoised correlation matrix, but questions using…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The post asks whether minimum-risk and minimum-variance portfolios are equivalent, prompted by a paper that distinguishes proposed minimum-risk portfolios from traditional minimum-variance portfolios. The answers explain that the distinction depends on how…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document frames portfolio construction as minimizing variance, expressed with a covariance matrix and portfolio weights that sum to one. It asks how to add lower and upper limits on the weights when implementing a constrained minimum-variance problem,…

Portfolio constructionRisk management
Quant Q&A

The document considers how to calculate returns for a portfolio combining equities and credit, using an equity index and an investment-grade credit index as examples. It cautions that a credit default swap position does not have a meaningful return from…

Fixed incomeDerivatives pricingPortfolio construction