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

8,116 documents

Quant Q&A

The document asks how to price a European claim that pays the natural logarithm of a stock price at maturity, including the possibility of a negative payoff when the stock finishes below one. It presents the general risk-neutral valuation rule: discount the…

Derivatives pricingOptionsStatistics
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 compares ways to choose the drift parameter in a recombining binomial tree. It describes the Cox–Ross–Rubinstein construction, which uses symmetric log-price steps, and an alternative that adds a fixed drift to the up and down multipliers. It…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document asks how to price a one-year call when a stock can move to either of two values, given a risk-free rate and equal real-world probabilities. It uses a one-step binomial model: calculate the call payoff in each state, form a replicating hedge, or…

OptionsDerivatives pricing
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 asks why an American call on a stock paying continuous dividends has a finite stock price above which early exercise is optimal. It contrasts the option’s value, which cannot fall below intrinsic value, with the possibility that the two values…

OptionsDerivatives 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 explains why a Black–Scholes option price is not the discounted expected payoff under real-world probabilities. That calculation uses the stock’s physical drift, which reflects expected returns, but ignores how traded assets and hedging…

OptionsDerivatives pricingArbitrageStatistics
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 examines a terminal payoff formed by taking the positive part of the stock’s gain over its current price, subtracting a fixed notional, and capping the result at zero. It asks how to price this payoff under risk-neutral valuation, while noting…

OptionsDerivatives pricingEquities
Quant Q&A

The document considers whether large traders can manipulate e-mini futures and whether that possibility makes systematic trading impractical. Its answers distinguish ordinary market impact from deliberate manipulation: large buy orders can push prices up,…

FuturesMarket microstructureExecutionOptions
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 asks how to compare the distributions of swaption market observations, such as volatility or liquidity spreads, across two time periods. It considers whether all USD swaption observations should be treated as two samples or whether observations…

Fixed incomeOptionsStatisticsDerivatives pricing
Quant Q&A

The document gives risk-neutral valuation formulas for continuously monitored geometric-average Asian options with a floating strike. It uses a symmetry between a floating-strike call and a fixed-strike put: after substituting the relevant parameters into…

OptionsDerivatives 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 note explains why two formulas for risk-neutral probabilities in a binomial option-pricing model may appear unequal. One expression gives the up-move probability directly, while the cited algorithm stores discounted up and down weights. Comparing them…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains how a delta-hedging argument leads to the Black–Scholes partial differential equation. A portfolio holds one derivative and shorts an amount of stock equal to the derivative’s sensitivity to the stock price. Applying Itô’s formula…

Derivatives pricingOptionsRisk management