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

12,303 documents

Quant Q&A

The document asks whether a two-factor Hull–White short-rate model, also called G2++, can represent swaption volatility smiles or skews, and whether fitting it to out-of-the-money swaptions would help. The answer points to local- and stochastic-volatility…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document addresses unstable numerical integration in Heston option pricing, where an oscillatory or slowly decaying integrand can produce negative computed prices, especially for deep out-of-the-money options. A recommended first remedy is the Little…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The question concerns estimating how a multi-day event affects volatility in one-minute equity returns, where extreme observations challenge normal-error ARCH and GARCH specifications. The response recommends matching the conditional error distribution to…

EquitiesVolatilityEvent-drivenStatistics
Quant Q&A

The document explains how a Lévy process such as variance gamma, NIG, or CGMY can be time-changed by the integrated rate of a mean-reverting CIR process. This produces a stochastic volatility Lévy process: the clock remains nonnegative and increasing, but…

OptionsVolatilityDerivatives pricingFixed income
Quant Q&A

In swaption quoting conventions, a volatility surface is often arranged with option expiry increasing down the first column and the maturity of the underlying swap increasing across the top row. Under that layout, the upper-left region represents options…

Fixed incomeOptionsVolatility
Quant Q&A

The document derives the hedging error that arises when a call is priced with Black–Scholes implied volatility but the underlying stock realizes a different volatility. The option price satisfies the Black–Scholes partial differential equation using the…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document presents a failed calibration of the raw SVI total-variance parametrization for a single options maturity. The example converts market implied volatilities to total variance, computes forward log-moneyness, and minimizes squared fitting error…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document clarifies how a volatility surface indexed by moneyness can remain consistent with put-call parity. Although the question assumes calls and puts use opposite moneyness ratios, the answer explains that moneyness is generally defined the same way…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document asks how to scale returns calculated from hourly bars to create volatility-adjusted features at longer horizons, including several-hour and calendar-period returns. It specifically considers whether a multi-hour return should be divided by…

VolatilityTechnical indicatorsStatistics
Quant Q&A

P&L leakage is a small, recurring loss that may be hard to notice in daily results but accumulates into a material drag over time. The note places the concept in hedging and trading, where a reported or expected profit can omit costs and risks that are…

Risk managementExecutionVolatility
Quant Q&A

The document presents Gyöngy’s theorem as a way to construct a local volatility process whose one-time probability distributions match those of a given stochastic process. In the stated result, the local drift and variance are conditional expectations of the…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document addresses how to infer forward rate or caplet volatilities from cap prices or quoted cap volatilities. Its central method is volatility stripping: order caps by maturity, take price differences between consecutive maturities, associate each…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document asks whether the process driven by an imaginary multiple of real Brownian motion has negative variance. The answer distinguishes the process’s imaginary-valued increments from its variance: at time t, the process is an imaginary multiple of…

StatisticsVolatility
Quant Q&A

The document asks how the return of a function of an asset changes when the underlying asset’s drift rises by a constant, assuming the asset follows geometric Brownian motion. It applies Itô’s lemma to the function, separating the stochastic term from the…

StatisticsVolatilityDerivatives pricing
Quant Q&A

The document examines whether negative forward variance inferred from at-the-money-forward implied volatility across two maturities signals an arbitrage. It defines forward variance from the difference in total implied variance over the two time intervals.…

OptionsVolatilityArbitrageDerivatives pricing
Quant Q&A

The answer distinguishes preferences for return skewness according to an investor’s objective. It says that maximizing expected log wealth can favor higher odd moments, such as mean return and skewness, while favoring lower even moments, such as volatility…

StatisticsRisk managementVolatility
Quant Q&A

The document derives an expression for the expected log return over a time interval under a local volatility stochastic differential equation. Applying Itô’s lemma gives a drift contribution and a negative half-variance contribution; the expected stochastic…

VolatilityStatisticsDerivatives pricing
Quant Q&A

The note considers which call strike to use when a trader expects realized volatility to exceed implied volatility and plans to delta hedge, aiming for gamma gains to outweigh option decay. It explains that the approximate gamma contribution to daily profit…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document considers whether option pricing should distinguish upward from downward volatility. One response frames asymmetric volatility as a choice of a different underlying model, with risk-neutral pricing still used to value options. It suggests…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document asks what implied-volatility fitting error is acceptable for an equity-index surface calibrated with stochastic-volatility models such as Heston or SABR. The replies do not establish a universal tolerance. One practical suggestion is to compare…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document compares distributional choices for modeling interest rates, beginning with a proposed sequence of nonnegative independent observations. Responses caution that this assumption misses persistence and changing volatility: rates tend to cluster…

Fixed incomeStatisticsMean reversionVolatility
Quant Q&A

The document asks how to adapt a closed-form implied volatility estimator from a call option to a put. It presents an equation attributed to Hallerbach (2004) for estimating volatility from a call price, spot price, strike, and time to expiry. This makes the…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document describes an attempt to infer local volatility from synthetic option prices generated under a Heston stochastic volatility model. Prices are computed with the COS method, while finite differences estimate the time derivative of call prices and…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document describes using a normal, or Gaussian, model to price caplets and floorlets when rates can be negative. Under the stated setup, the forward rate evolves as a Gaussian martingale with constant absolute volatility, so its value at expiry has a…

Fixed incomeOptionsDerivatives pricingVolatility