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

21,023 documents

Quant Q&A

The question compares two ways to specify returns when modeling stock prices under the physical measure. A conventional GARCH model uses a constant conditional mean, with volatility changing through the variance process. An alternative adjusts the mean by…

StatisticsVolatilityOptionsRisk management
Quant Q&A

The discussion examines whether the risk-neutral measure, used to price securities, should also be used to forecast real-world returns. It argues for comparing predictive performance empirically rather than relying only on theoretical objections or strong…

StatisticsDerivatives pricingOptions
Quant Q&A

The discussion distinguishes elicitation from backtesting. Expected Shortfall (ES) lacks a scoring function that uniquely elicits it as a point forecast, but that limitation does not by itself make ES impossible to backtest. The document cites work proposing…

Risk managementBacktestingStatistics
Quant Q&A

The document addresses a mistaken either-or choice between modeling returns with a parametric probability distribution and using an autoregressive model. These describe different parts of a model: a distribution specifies the form of uncertainty, while…

StatisticsMachine learningVolatility
Quant Q&A

The document discusses the Corwin–Schultz estimator, which infers bid-ask spreads from high and low prices over consecutive days. Its derivation relies on a geometric Brownian motion assumption and a relationship between one-day and two-day variance,…

Market microstructureStatisticsHigh-frequency tradingExecution
Quant Q&A

The discussion asks whether variance is a convex risk measure and tests the question by expanding the variance of a weighted combination of two random variables. The key method is to bound covariance by its maximum possible value, attained when the variables…

StatisticsRisk management
Quant Q&A

The document explains how a Gaussian short-rate model with a multivariate Ornstein–Uhlenbeck state process produces a yield curve. Its derivation includes a maturity-dependent covariance adjustment; omitting that term gives the familiar Nelson–Siegel curve…

Fixed incomeArbitrageStatistics
Quant Q&A

The discussion addresses frequent Value at Risk exceedances in backtests of portfolios whose VaR was estimated with historical simulation using rolling samples of 250 or 500 daily returns. It frames the issue as potential underestimation of risk and mentions…

Risk managementBacktestingStatistics
Quant Q&A

Volatility forecast evaluation depends on what quantity is forecast and what observation serves as the benchmark. Possible targets include volatility, variance, or log volatility; because true volatility is latent, evaluation may use implied volatility or a…

VolatilityStatisticsBacktesting
Quant Q&A

The document asks how to approximate a portfolio’s loss distribution with a single-factor Vasicek model when individual loans have different default probabilities and correlations to the risk factor. The stated goal is to match the aggregate expected loss…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document describes a numerical failure when calculating implied volatility for American options with RQuantLib: the solver reports that it cannot bracket a root, even though the user obtains values by entering observations manually. The suggested…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document connects portfolio theory, CAPM, factor models, and the Sharpe ratio to the problem of analyzing short-term loan repayment data. It explains that loan portfolios are often assessed through loss distributions, since losses are a central driver of…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document derives a linear state-space representation for estimating parameters in a futures price model with two latent factors. The state variables follow continuous-time stochastic processes: one mean-reverts, while the other accumulates shocks.…

FuturesStatisticsVolatilityDerivatives pricing
Quant Q&A

The document asks whether potential pairs can be screened faster than testing every stock pair across every tick. It describes a theoretical approach based on fast matrix multiplication, which can reduce the asymptotic cost of computing a correlation matrix.…

Pairs tradingStatisticsEquitiesFutures
Quant Q&A

The document addresses how to prove subadditivity for an entropic risk measure, after monotonicity, positive homogeneity, and translation invariance have been established. The response introduces an auxiliary function of a random variable and a positive…

Risk managementStatistics
Quant Q&A

The document raises a modeling question about whether the short rate is Markov in the Heath–Jarrow–Morton framework. It presents an expression for the instantaneous forward rate and a derived spot-rate dynamics expression that includes a stochastic integral…

Fixed incomeStatistics
Quant Q&A

The document contrasts two approaches to generating alpha: forecasting future prices or returns, and estimating an asset’s intrinsic value. Valuation methods such as discounted cash flow and peer comparisons can identify a gap between estimated value and…

EquitiesStatisticsMean reversion
Quant Q&A

The document addresses a question about why portfolio weights from a mean variance optimization may not sum to one when short selling is allowed. It presents the Lagrange multiplier setup for minimizing portfolio variance subject to a budget constraint and a…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document explains the popularity of GARCH(1,1) as a volatility model. Its simple structure, connection to established time series methods, and ability to represent volatility clustering and heavy tailed returns help explain its use. The discussion cites…

VolatilityStatisticsBacktesting
Quant Q&A

The document asks how to annualize a Sharpe ratio for an intraday strategy evaluated with prices sampled every ten seconds. The trader describes computing each interval return, summing those returns to form a daily result, and then applying the usual…

High-frequency tradingStatisticsBacktesting
Quant Q&A

The document raises a question about why the COS method presents a characteristic-function relation specifically for Lévy processes. It notes that if a log price is represented as an initial log-moneyness plus a random log-price change, the characteristic…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains why rolling multi-day returns are statistically dependent and how that dependence affects covariance. It expands the covariance of two overlapping two-day return series into same-day covariance terms and cross-time covariance terms.…

StatisticsBacktesting