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

21,023 documents

Quant Q&A

The document asks how to generate observations from a four-factor t-copula when the dependence matrix changes over time. Its setting is a series of 2,000 correlation matrices from a copula-DCC model, with one matrix intended for each time step. The accepted…

Multi-assetStatisticsVolatilityBacktesting
Quant Q&A

The document explains how to select interpolation schemes when bootstrapping yield curves in QuantLib-Python. It shows a dual-curve setup using deposit, forward rate agreement, and swap helpers, then constructs curves with different interpolation choices,…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document compares two discrete approximations for estimating the volatility parameter in a mean-reverting stochastic differential equation with a deterministic time-varying mean. One approach begins from the continuous-time solution and approximates the…

StatisticsVolatility
Quant Q&A

The note addresses why variance minimization can help find cointegrating combinations among nonstationary series. It explains that when a cointegrating relationship exists, the coefficients can be estimated super-consistently, giving more flexibility in how…

StatisticsMulti-asset
Quant Q&A

The document shows how a bond price process can define a change of probability measure under which a shifted Brownian motion is Brownian. Starting from the bond’s risk-neutral dynamics, it forms a density process from the discounted bond price divided by its…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why a standard variance swap payoff uses a scaled sum of squared log returns without subtracting the sample mean squared. One answer distinguishes realized variance in the market convention from the statistical sample variance: the…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document asks how to determine whether a strategy’s performance edge has weakened across time periods. It mentions comparing period means with a t-test as an approach encountered elsewhere, while expressing concern that this test may be unreliable for…

StatisticsBacktestingRisk management
Quant Q&A

The document poses a pricing puzzle under Black–Scholes assumptions: with spot at 100, zero interest, and volatility chosen so the one-year one-standard-deviation price range is 50 to 200, the call at 200 costs more than the put at 50. It asks why strikes…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document explains how to infer a discount curve from fixed-rate bond prices using Rateslib. It contrasts sequential bootstrapping, which solves curve values in maturity order and relies on suitable instrument and curve conditions, with Rateslib’s global…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document examines how a power-law exponent affects the share of aggregate income received by the highest earners. It challenges an illustrative example by showing that merely doubling salaries while halving the number of earners at each level does not,…

Statistics
Quant Q&A

The document asks whether the negative half-variance term in the logarithm of a geometric Brownian motion price process is related to volatility drag when converting arithmetic returns into geometric returns. It supplies the Black–Scholes stochastic…

StatisticsVolatility
Quant Q&A

The document considers a three-day, 99% value-at-risk estimate for a portfolio split equally between two stocks, given an annualized covariance matrix and joint Student t returns with five degrees of freedom. It asks whether portfolio returns can be combined…

EquitiesStatisticsRisk managementPortfolio construction
Quant Q&A

The note explains that a product term in a regression represents an interaction: the association between one predictor and the outcome changes with the value of another predictor. For two predictors, including their product allows the fitted slope for one…

StatisticsVolatility
Quant Q&A

This note frames trading under an assumed known stochastic price model as a finite-horizon stochastic control problem. The trader’s state includes capital, current position, price, and model parameters; the model evolves price and parameters using noise. The…

StatisticsRisk managementPosition sizingBacktesting
Quant Q&A

This exercise asks whether a market with two assets and three states admits arbitrage, and how to bound the price of a risk-free asset. State prices assign a price to receiving a unit payoff in each state; multiplying the payoff matrix by the state-price…

Fixed incomeDerivatives pricingArbitrageStatistics
Quant Q&A

The document derives the probability density of the minimum of a standard Wiener process over a fixed time interval using the reflection principle. It first observes that the minimum has the same distribution as the negative of the process maximum, since…

StatisticsVolatility
Quant Q&A

The document raises a mathematical question about expressing the self-financing condition for a continuously traded portfolio when gains are defined through Lebesgue–Stieltjes integration. It contrasts this setting with discrete trading, where portfolio…

StatisticsPortfolio construction
Quant Q&A

The document explains how the bond price dynamics in the Vasicek short-rate model follow from the model’s closed-form bond price. That price is written as a time-dependent factor multiplied by an exponential involving the current short rate and the function…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document considers a daily classification task: using index features to predict whether the next day's open-to-close move is up or down. The proposed workflow forms a direction label, selects and scales features, trains an SVM on a rolling window, and…

Machine learningBacktestingStatistics
Quant Q&A

The discussion explores how discrete binomial models can help teach Itô's lemma and its correction term. One proposed illustration transforms a symmetric random walk with a convex function, such as squaring it, then compares the expected transformed value…

Statistics
Quant Q&A

The document examines whether one stock divided by another remains a martingale after changing from the money-market account to a stock numeraire. It sets out two uncorrelated stock processes under the risk-neutral measure and applies a Radon–Nikodym density…

Derivatives pricingStatisticsRisk management
Quant Q&A

In the classical mean-variance setup, expected returns and covariances are treated as known inputs, so optimization produces deterministic portfolio weights. The weights become random when the inputs are estimated from return data: changing samples can…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document examines a second-order approximation for the certainty equivalent of a risky payoff. Expanding utility around the payoff’s mean approximates expected utility using the utility curvature and payoff variance; a first-order expansion of utility at…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document presents a question about applying the Capital Asset Pricing Model to a two-stock portfolio. The investor supplies portfolio weights and estimated betas, then asks how to obtain the expected return and whether a correlation inferred from the…

EquitiesFactor investingStatistics