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
WonderTrader
14 documents
Alphalens
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 explains why option returns cannot generally be modeled as a fixed fraction of the underlying asset’s returns. Options have nonlinear payoffs, so a more realistic scenario series requires repricing the option under each simulated underlying…

OptionsPortfolio constructionVolatilityDerivatives pricing
Quant Q&A

The document addresses a weighting problem in parametric value-at-risk when a newly starting interest rate swap has zero net present value. Since market-value portfolio weights assign no weight to a par swap, using position value alone misses its rate…

Fixed incomeDerivatives pricingRisk managementPortfolio construction
Quant Q&A

The document considers whether a hedge fund can meaningfully sum vega exposures across asset classes such as equities and credit. Its central point is that aggregate sensitivities are not exact measures of portfolio risk unless the underlying risk factors…

Multi-assetVolatilityRisk managementPortfolio construction
Quant Q&A

The response frames the tangency portfolio as the risky portfolio that maximizes the slope of the capital allocation line, equivalent to maximizing excess expected return per unit of volatility. For two assets, it writes portfolio return as a weight-based…

Portfolio constructionStatisticsRisk management
Quant Q&A

A minimum-return promise can be viewed from the beneficiary’s side as protection against losses and from the pension fund’s side as a short put. If portfolio returns fall below the guarantee, the fund must cover the shortfall; stronger returns pass through…

OptionsDerivatives pricingRisk managementMulti-asset
Quant Q&A

The document explains why randomly generated long-only portfolios may appear far from an optimized efficient frontier. It separates the choice of a random-weight sampling method from the structure of portfolios favored by an optimization objective. Sampling…

Portfolio constructionStatisticsRisk management
Quant Q&A

The discussion explains the Sharpe ratio as expected excess return divided by return standard deviation. It motivates standard deviation through dimensional consistency, its familiar role as a measure of spread, and a signal-to-noise interpretation. Because…

StatisticsRisk managementPortfolio construction
Quant Q&A

The question compares two proposed arbitrage tests based on initial portfolio cost and payoffs across possible states. It notices that a portfolio costing nothing or less may pay positively in one state while losing in another, and that positive payoffs in…

ArbitrageDerivatives pricingPortfolio construction
Quant Q&A

The document explains the largest eigenvalue of a returns covariance matrix through principal component analysis. Eigenvectors define directions in the asset space that can be viewed as uncorrelated portfolios, while their corresponding eigenvalues give the…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document asks how to infer the asset-class weights of a multi-asset fund from its daily returns when the fund’s actual holdings are unknown. The proposed approach regresses fund returns on broad asset-class returns, potentially using rolling windows to…

Multi-assetPortfolio constructionStatistics
Quant Q&A

The note outlines a factor-based way to attribute inflation-linked bond portfolio returns to nominal rates, real rates, and break-even inflation. Start with observed nominal and real bond prices or yields, transform them into zero or forward curves, and…

Fixed incomeRisk managementPortfolio constructionStatistics
Quant Q&A

The document outlines portfolio VaR simulation for five assets under Gaussian and Student-t distribution assumptions. Its Monte Carlo recipe generates independent standard normal draws, correlates them with a Cholesky factor, scales each asset by its…

Risk managementStatisticsPortfolio constructionBacktesting
Quant Q&A

The document explains why portfolio expected shortfall cannot generally be minimized by taking a weighted sum of the expected shortfalls of individual instruments. Portfolio risk depends on the distribution of the combined, weighted losses, so the objective…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document explains how to simulate several random walks whose returns have a chosen correlation structure, for example to illustrate portfolio diversification. It distinguishes correlation between return innovations from cointegration-like relationships…

StatisticsPortfolio constructionMulti-asset
Quant Q&A

The document diagnoses why a portfolio volatility calculation can return NaN values when constructing an efficient frontier from many stocks. Its explanation is that the return data may contain missing observations, causing some pairwise entries in the…

Portfolio constructionStatisticsRisk managementEquities
Quant Q&A

The document describes a mean–variance optimization problem that seeks to maximize the Sharpe ratio across a small set of assets. The author imposes only the budget condition that weights sum to one, then observes that the optimizer can produce extreme…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document considers estimating a portfolio’s variance-covariance matrix when one holding has less price history, such as a recently listed stock. It cautions that a short sample may be inadequate for some intended uses, while noting that practitioners…

EquitiesStatisticsPortfolio constructionRisk management
Quant Q&A

This discussion considers how to summarize yield for a portfolio containing US government bonds and Treasury futures. One proposed approach is to compute a market-value-weighted average of the bonds’ yields to maturity. The replies distinguish the role of…

Fixed incomeFuturesPortfolio constructionRisk management
Quant Q&A

The document concerns practical profit and loss attribution analysis for fixed income portfolios. It notes a perceived gap between the extensive literature on pricing interest rate derivatives and accessible explanations of the methods used to explain…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document shows how to express a portfolio beta bound in a linear optimizer’s constraint format. It starts from a weighted exposure involving deal stock consideration, each holding’s beta, and the market benchmark beta, with a permitted deviation of 0.1.…

EquitiesPortfolio constructionRisk management
Quant Q&A

The document compares two Sharpe ratio denominators: the standard deviation of excess returns and the standard deviation of portfolio returns. The theoretically consistent form measures both the average return difference over a benchmark and the variability…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document addresses how to estimate weekly bond returns when only a long-term corporate yield series is available. It explains that yields alone do not uniquely determine realized returns: bond prices also depend on coupon cash flows, maturity, and the…

Fixed incomePortfolio constructionStatistics
Quant Q&A

The document explains how a factor model can produce a time series of returns for a selected characteristic, such as dividend yield. The key idea is to run a cross-sectional regression at each date: asset returns are related to the characteristic of interest…

Factor investingEquitiesStatisticsPortfolio construction
Quant Q&A

The document explains why factor research often compares stocks with high and low values of a characteristic. A typical method sorts stocks at a point in time, then compares the subsequent returns of the high-characteristic group with those of the…

Factor investingEquitiesStatisticsMomentum