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 addresses a question about Lagrange multipliers for non-negativity constraints in a mean-variance portfolio problem. The response describes the allocation problem as maximizing expected return less a risk penalty, subject to fully invested and…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document considers a portfolio objective that combines expected return, covariance-based risk, and a cubic co-skewness term. It explains that the cubic objective cannot generally be rewritten exactly as a quadratic, but can be approximated locally with a…

Portfolio constructionStatisticsRisk management
Quant Q&A

The discussion considers whether cryptography and speech recognition methods inform financial forecasting, with the accepted answer reframing cryptography as information theory. It connects Kelly-style allocation to sizing capital across strategies and notes…

Machine learningStatisticsPosition sizingPortfolio construction
Quant Q&A

This brief question challenges the idea that retail investors can reliably secure a currently high yield by buying long-term bonds and holding them to maturity. It argues that investors without fixed, matching liabilities remain exposed to inflation and may…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document discusses portfolio variance calculated as the weight vector multiplied by a historical variance–covariance matrix and by the transposed weight vector. With weights held fixed, this calculation represents the variance of portfolio returns over…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document asks whether the coefficients in a regression with two predictors can be recovered without the underlying observations, given each predictor’s separate regression coefficient, the predictors’ variances and correlation, and the outcome variance.…

StatisticsPortfolio construction
Quant Q&A

The document asks how to interpret an asset’s beta when the reference portfolio is a personal portfolio rather than the market. Its example considers a high-volatility stock with zero correlation to an existing portfolio, then discusses how the stock’s…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The document asks how to backtest a minimum-variance portfolio that is rebalanced at regular intervals while using all return observations available before each rebalance. It focuses on the training-period and rolling-window arguments in PortfolioAnalytics’…

Portfolio constructionBacktestingRisk management
Quant Q&A

The document explains why a tangency portfolio in mean-variance analysis can fall on the lower half of the risky-asset frontier when the risk-free rate is sufficiently high. In this case, the tangency portfolio is not on the efficient portion of the…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document frames a dimensionality-reduction problem for an interest-rate par risk strip with many buckets. It seeks a smaller set of representative risk buckets and an aggregation function that best preserve the original strip’s delta P&L. Principal…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document discusses the ANTICOR portfolio algorithm, introduced in a paper on learning to outperform the best stock. It characterizes the method as a windowed form of constant rebalanced portfolio allocation and notes that its appeal rests on strong…

Portfolio constructionBacktestingEquitiesRisk management
Quant Q&A

The note explains how to estimate skewness and kurtosis for a two-asset portfolio from return observations. It first frames the inputs as aligned return time series combined using portfolio weights, with the resulting portfolio returns serving as the…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document asks which utility function is appropriate for evaluating multi-asset funds using historical return distributions across different levels of risk aversion. It compares constant relative risk aversion (CRRA) utility with quadratic utility and…

Multi-assetPortfolio constructionStatistics
Quant Q&A

The document compares several ways to quantify portfolio diversification. One approach allocates total portfolio volatility across assets and treats a portfolio as more diversified when those risk contributions are more evenly distributed. It also mentions…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document distinguishes risk parity from simply assigning equal asset volatilities. A portfolio’s total volatility is derived from its covariance matrix, and each asset’s risk contribution is its weight multiplied by its marginal contribution to portfolio…

Portfolio constructionRisk managementStatisticsMulti-asset
Quant Q&A

This explanation derives a first-order approximation of portfolio loss when value is modeled as a function of time and observable risk factors. Applying a Taylor expansion separates the change in portfolio value into a time derivative and exposures to…

Risk managementPortfolio constructionStatistics
Quant Q&A

This explanation distinguishes the Capital Market Line (CML) from the Security Market Line (SML). The CML relates expected return to standard deviation for efficient portfolios, while the SML relates expected return to beta for individual securities or…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document considers how to choose a tradable universe for statistical arbitrage that models shared factors or indices and trades residuals. It contrasts liquidity cutoffs, selecting assets by their contribution to strategy performance, and using principal…

ArbitragePortfolio constructionFactor investingBacktesting
Quant Q&A

The note derives the Black–Litterman risk-aversion coefficient from the market portfolio’s equilibrium weights and implied excess returns. Starting from the unconstrained mean–variance objective, its first-order solution gives implied returns as risk…

Multi-assetPortfolio constructionRisk management
Quant Q&A

The document discusses how to interpret negative cost of equity estimates produced from CAPM beta calculations. It argues that a negative expected return can be consistent with portfolio theory: an asset that offsets another asset’s risk may have a negative…

EquitiesFactor investingPortfolio constructionStatistics
Quant Q&A

The document presents a long-only portfolio problem that seeks to maximize expected excess return divided by portfolio volatility, then asks how to recast it for a general quadratic programming solver. The proposed transformation introduces scaled portfolio…

Portfolio constructionStatistics
Quant Q&A

The document explains how the Hamilton-Jacobi-Bellman equation arises in the Merton portfolio problem. An investor allocates a fraction of wealth to a risky asset and the remainder to a risk-free asset, giving a stochastic differential equation for wealth.…

Portfolio constructionStatistics
Quant Q&A

The document explains how principal component analysis (PCA) can reduce the number of risk drivers used to model a commodity forward curve. At each historical observation date, the data matrix has one row per delivery bucket and one column per date; its…

CommoditiesFuturesStatisticsPortfolio construction
Quant Q&A

The document asks how to apply Marchenko–Pastur random matrix filtering to an exponentially weighted moving average (EWMA) correlation matrix. For a conventional sample matrix, it describes using the ratio of observations to variables to set an eigenvalue…

StatisticsPortfolio constructionRisk management