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

12,303 documents

Quant Q&A

The document asks how to model changes in implied volatility when approximating an option portfolio’s profit and loss with delta, gamma, and vega terms. It distinguishes historical VaR, which can reprice a portfolio across observed market scenarios without…

OptionsVolatilityRisk managementDerivatives pricing
Quant Q&A

The document asks whether the volatility smile and the volatility-of-volatility smile can both arise from dependence between spot and volatility. It proposes viewing the relationship in two directions: volatility moves affecting spot may help explain the…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document clarifies an example about a forward-start variance swap and whether a statement about implied volatility contains a typo. It explains that the relevant forward-start swap strike represents today’s expectation of the variance-swap strike for a…

VolatilityDerivatives pricingOptions
Quant Q&A

The document explains how Dupire’s formula relates local volatility to the time and strike derivatives of call prices, assuming no dividends. It walks through a small strike-and-maturity table to estimate those derivatives with finite differences and obtain…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

In the Basel market risk framework, the reduced set of risk factors is used to calibrate stressed expected shortfall when a sufficiently long history is unavailable for the full model. Banks select factors relevant to their portfolio and with adequate…

Risk managementVolatilityFixed income
Quant Q&A

The note explains why an at-the-money short-dated straddle can be approximated using implied volatility. In a Black–Scholes setting, put-call parity reduces the value of an ATM-forward straddle to twice the call value. The ATM call value is approximated as a…

OptionsVolatilityDerivatives pricing
Quant Q&A

The discussion clarifies whether the VIX is leading or lagging. Because it is calculated from option prices and represents the market’s implied expectation of volatility over the coming period, it is forward-looking in that sense. It does not independently…

OptionsVolatilityUS marketsDerivatives pricing
Quant Q&A

The discussion explains why out-of-the-money VIX puts expiring on a given date can lose value even when the spot VIX falls sharply. The key distinction is that VIX options are tied to the VIX futures contract for their expiration, not directly to the spot…

OptionsFuturesVolatilityDerivatives pricing
Quant Q&A

The document raises a question about constructing a variance-swap replication portfolio from options. It describes an apparent jump in implied volatility when the option wing switches from puts below a strike to calls above it. The quoted explanation is that…

OptionsVolatilityDerivatives pricingMarket microstructure
Quant Q&A

The document investigates whether an FX option’s time to expiry in an at-the-money delta-neutral strike calculation includes hours and minutes or counts only whole days. It applies the standard forward-based strike formula to a one-day example, using the…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The document reconciles several formulations of Durrleman’s condition for preventing butterfly arbitrage in an implied volatility surface. It explains how expressions differ when volatility is represented as raw volatility, total volatility, or total…

OptionsDerivatives pricingVolatilityArbitrage
Quant Q&A

The document asks why volatility models often treat out-of-the-money calls and puts as a group even though their implied volatilities can differ. It identifies liquidity as a reason for focusing on OTM contracts and notes that OTM puts commonly carry higher…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains how to convert a perturbative approximation for a vanilla call's equivalent Black volatility into an expansion centered at the midpoint between the current forward and strike. The original approximation expands the local volatility…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document describes a daily-rolled backtest of EURUSD options using one-month and two-month straddles, 25-delta risk reversals, and 25-delta butterflies. Each position is held for one trading day, with the next day's valuation using the full volatility…

ForexOptionsVolatilityBacktesting
Quant Q&A

The document sketches why a market with stochastic volatility may be incomplete when volatility risk is driven by an independent source of randomness that cannot be traded directly. In a one-stock setting, changing the risk premium associated with the…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document investigates a Python QuantLib TypeError raised while constructing Heston model calibration helpers for options. The replies point to mismatched input types or values as the likely cause and identify code issues to check, including an…

OptionsVolatilityDerivatives pricing
Quant Q&A

The response distinguishes two interpretations of a share purchase plan in which the bank can terminate during the purchase period. If the customer’s price is the average only through the termination date, the answer argues that termination does not create…

EquitiesOptionsVolatilityDerivatives pricing
Quant Q&A

The document clarifies how SVI parameterizations describe implied volatility data. Raw and natural SVI parameterizations represent total implied variance across strikes for a single expiry, while SVI-Jump-Wings represents implied variance for a single…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document explains why binary option quotes that appear inconsistent with a simple Black–Scholes volatility range may still be reasonable. It gives the digital call price in terms of the forward price, strike, time to expiry, rates, and volatility, then…

OptionsVolatilityDerivatives pricingUS markets
Quant Q&A

The document considers how to adjust a fitted vanilla-option implied volatility surface to represent a lower-volatility market or an abrupt volatility shock. It cautions that blindly adding a constant to implied volatility or multiplying it by a scale factor…

OptionsVolatilityArbitrageDerivatives pricing
Quant Q&A

The document raises a teaching question about the apparent mismatch in subtracting half the squared standard deviation from a rate when estimating geometric growth. It notes the familiar approximation that geometric mean return equals arithmetic mean return…

StatisticsVolatilityDerivatives pricing
Quant Q&A

The document asks whether no-arbitrage conditions are known for Bachelier, or normal, implied volatility surfaces. Normal volatility is defined through the parameter that reproduces an option price under the Bachelier formula. The author contrasts this with…

OptionsVolatilityDerivatives pricingFixed income
Quant Q&A

The document compares practical considerations for stochastic-volatility and GARCH option models, emphasizing that model choice depends on the option type and the goal. It argues that GARCH can be attractive because its next-step conditional volatility is…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document surveys practical considerations for options with expiries ranging from hours to minutes. It cautions that very short-horizon returns should not be assumed to follow a lognormal process simply because the horizon is short. Instead, intraday…

OptionsVolatilityDerivatives pricingRisk management