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
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

This note clarifies how to set up valuation equations for an asset whose dividends follow a Markov process. Its central distinction is between cum-dividend value, which includes a payment made today, and ex-dividend price, which excludes it. The investor’s…

Multi-assetStatisticsDerivatives pricing
Quant Q&A

The document explains how to generate multivariate Gaussian returns with a target covariance structure. Starting with a vector of independent standard normal draws, apply a matrix square root of the desired covariance matrix. A Cholesky factor is one such…

StatisticsPortfolio constructionBacktesting
Quant Q&A

The document explores representing Brazilian DI1 interest rate futures with rateslib for curve calibration and sensitivity analysis. It proposes a zero-coupon swap representation and distinguishes the futures’ annualized compounded internal rate of return…

FuturesFixed incomeDerivatives pricingStatistics
Quant Q&A

The document examines a proposed monthly regression of year-over-year stock index returns on lagged returns and macroeconomic variables, including credit spreads, inflation, and industrial production. It describes a forecasting setup that uses ARIMA…

EquitiesStatisticsBacktesting
Quant Q&A

The document explains why quasi-Monte Carlo methods use low-discrepancy sequences: these points fill a space more evenly than random samples, reducing large gaps. It defines discrepancy as a measure of how closely the fraction of points in a region matches…

StatisticsBacktestingDerivatives pricing
Quant Q&A

The document addresses why a stock’s cumulative return can fall below the risk-free return, even when investors expect equities to earn a premium over time. Its explanation is that risky assets can have poor outcomes over particular periods. The equity…

EquitiesStatisticsRisk management
Quant Q&A

This exchange diagnoses a dimensional error in a one-step geometric Brownian motion simulation. The closed-form process uses a drift term of (μ − σ²/2)T and a random term of σ√T multiplied by a standard normal shock. The code in the question instead…

StatisticsBacktesting
Quant Q&A

The document compares the classical LIBOR Market Model (LMM) with a stochastic-volatility extension called SABR-LMM. LMM models a family of forward rates jointly, allowing their correlation structure to inform the pricing of products that depend nonlinearly…

Fixed incomeDerivatives pricingVolatilityStatistics
Quant Q&A

The document explains how to assess completeness in a one-step trinomial stock model with a risk-free bond. An equivalent martingale measure assigns positive probabilities to all terminal states and makes the discounted stock price a martingale. The stock…

StatisticsOptionsDerivatives pricing
Quant Q&A

The document explains why the mean of a Black–Scholes log return is (μ − ½σ²)Δt rather than μΔt. Starting from geometric Brownian motion for the asset price, Itô’s lemma yields a log price whose drift includes the negative half variance term. Brownian…

StatisticsDerivatives pricingEquities
Quant Q&A

The document asks how to express the value of a European call at an intermediate node of a Cox–Ross–Rubinstein binomial tree. It defines the node by the time step and the number of upward moves, and describes a backward-induction recurrence that discounts…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains why differentiating the closed-form geometric Brownian motion solution as if it were an ordinary deterministic exponential gives the wrong drift. Because the exponent includes Brownian motion, the appropriate tool is Itô’s lemma, which…

StatisticsDerivatives pricing
Quant Q&A

The question asks whether a bank’s internal probability of default can be calculated from a single set of liquidity, profitability, debt-service, and solvency ratios. The answer says these figures alone are insufficient to produce a calibrated probability. A…

Risk managementStatistics
Quant Q&A

The document examines a spreadsheet that models portfolio wealth with a lognormal distribution derived from expected return and risk, then scales the log-return distribution across multiple years. The resulting wealth distributions spread out over time,…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document asks whether a proposed grocery store meets an accounting profitability hurdle, given its purchase cost, annual revenue and expenses, a ten-year operating period, and full depreciation of the property over that period. The answer focuses on the…

StatisticsRisk management
Quant Q&A

The document asks whether information criteria or divergence measures can guide SABR calibration. The response describes a common rates-market workflow: preset beta, solve alpha to match the at-the-money volatility, then optimize rho and nu against smile…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document examines why a bisection-style search for Black–Scholes implied volatility can fail for a put even when it works for a call. The key diagnosis is that the put price in the example is above the greatest value a European put can reach under the…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The note explains how Treasury issuance and secondary-market trading contribute to observed bond prices and derived yield curves. New issues can trade in the when-issued market before auction, where investors quote yields. At auction, the Treasury sets a…

Fixed incomeUS marketsMarket microstructureStatistics
Quant Q&A

The note distinguishes a portfolio’s Sharpe ratio from its alpha estimated against the Fama–French factors. Sharpe measures excess return relative to total return variability and can help compare portfolios. Alpha is benchmark-relative, so comparisons are…

StatisticsFactor investingRisk management
Quant Q&A

This document explains ways to calculate Macaulay and modified duration when a bond’s remaining maturity is not a whole number of years. One approach uses a bond analytics library to construct a fixed-rate bond with a maturity specified in days, then…

Fixed incomeStatistics
Quant Q&A

This document asks whether a minimum-variance portfolio is more likely than a maximum-Sharpe, or tangency, portfolio to deliver out-of-sample performance close to its in-sample estimate. It defines disappointment as the gap between predicted in-sample…

Portfolio constructionStatisticsRisk management
Quant Q&A

This document poses a sequential elimination game between two teams of four gladiators. In each round, Alice chooses a fighter first and Bob responds with a matchup; each duel has no tie, and the stronger fighter’s advantage is expressed as a probability…

StatisticsRisk management
Quant Q&A

The document asks about geometric Brownian motion models whose drift or volatility depends on the stock’s past path, rather than only its current value and time. It gives examples of drift built from an accumulated function of earlier prices or from the…

EquitiesStatisticsMachine learning
Quant Q&A

The document proposes measuring how much a stock price moves within a day by summing absolute changes between selected observations, rounding each change down in units of a chosen price increment, and normalizing the total by the day’s range. It asks whether…

EquitiesStatisticsMarket microstructure