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
Quantpedia
86 documents
TqSdk
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

8,116 documents

Quant Q&A

The document presents an R routine that estimates SPX option implied volatility by repeatedly applying the Black–Scholes formula and narrowing a volatility bracket. Its failure occurs when the while-loop condition evaluates to a missing value rather than…

OptionsDerivatives pricingStatistics
Quant Q&A

The question compares a short-dated SPY put’s premium with its quoted implied volatility and asks why the annualized figure seems much larger than the option’s break-even move. The central explanation is that implied volatility is conventionally reported as…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document asks how to value early exercise for a contract paying the running arithmetic average of an asset price minus a fixed strike. The response says there is no closed-form value for the American exercise problem in the stated setting. It recommends…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document derives a call option value under a Bachelier-style arithmetic diffusion with constant interest rate and volatility. It first solves for the conditional distribution of the terminal asset price, which is normal, then discounts the expected…

OptionsDerivatives pricingVolatilityFutures
Quant Q&A

The document considers a Black–Scholes equation with deterministic, time-varying volatility and interest rates, and describes transformations that turn it into a heat equation. The discussion then points to a risk-neutral alternative: model the underlying…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document demonstrates a common SVI implementation mistake: feeding strike prices directly into the smile formula when the plotted horizontal axis uses log moneyness. In the example, the strike grid is converted to log strike over forward, and that…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document outlines a least-squares Monte Carlo setup for valuing a Bermudan swaption. At the final exercise date, the payoff is the positive part of the underlying swap value. At earlier exercise dates, the method regresses discounted future swaption…

Fixed incomeOptionsDerivatives pricingMachine learning
Quant Q&A

The document examines using discounted terminal spot as a control variate to reduce Monte Carlo error when pricing an option. A control variate adjusts simulated discounted payoffs by their covariance with another variable whose expectation is known; the…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document asks how to calibrate a stochastic discount factor so that a physical or risk-adjusted density derived from option-implied risk-neutral densities resembles a realized return distribution. It raises a practical alignment issue: realized densities…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains that interest rate derivatives can be valued or hedged by matching their cash flows or market sensitivities with traded instruments. Possible building blocks include money market accounts, swaps, forward rate agreements, and zero-coupon…

Fixed incomeDerivatives pricingOptionsRisk management
Quant Q&A

The document explains that options let traders express views beyond whether an underlying asset will rise or fall. Long options can benefit when realized volatility exceeds the level implied by current prices, or when implied volatility itself increases.…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document examines whether CMS options should be replicated with cash-settled or physically settled swaptions. The key distinction is the annuity used in settlement. Physical settlement uses a delivery annuity based on discount factors, while cash…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document asks how to compare the risk and return of options portfolios, noting that standard performance measures, market-risk measures, and option sensitivities capture different aspects of risk. It highlights a difficulty with comparing options by…

OptionsRisk managementDerivatives pricing
Quant Q&A

The document addresses the theoretical basis for using the implied volatility of a short-maturity, at-the-money option as a proxy for the instantaneous volatility of a stock’s log price. It states the key limiting idea: as option maturity tends to zero, this…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document derives a conditional expectation for a mean-reverting stochastic volatility process. It applies Itô’s lemma to an exponentially rescaled process, integrates the resulting stochastic differential equation over the forecast horizon, and takes the…

VolatilityStatisticsOptions
Quant Q&A

The document considers delta, vega, and gamma for a European call whose underlying is a weighted sum of two stock prices. It questions whether the basket’s vega can be obtained by weighting the individual asset vegas, and proposes shifting both volatilities…

OptionsEquitiesDerivatives pricingVolatility
Quant Q&A

A portfolio that matches a claim’s terminal payoff does not necessarily determine the claim’s price today. For replication to support pricing, the initial portfolio value must be enough to reach the payoff across possible outcomes, without later cash…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document explains how the Black–Scholes quantity N(d2) can approximate the probability that an option finishes in the money at expiration. N(d1), by contrast, corresponds to the option’s delta. This gives a practical starting point for estimating an…

OptionsDerivatives pricingStatisticsVolatility
Quant Q&A

Implied volatility is quoted as an annualized rate, while total implied variance scales squared volatility by time to maturity. Under constant volatility, this scaling follows the diffusion model: variance accumulates with elapsed time, as it does for sums…

OptionsVolatilityDerivatives pricingArbitrage
Quant Q&A

The document describes a proposed dimension-reduction approach for valuing options on the minimum of two equity prices. The author starts with implied-volatility surfaces for each asset, computes option prices on the minimum across strikes and maturities,…

OptionsEquitiesDerivatives pricingVolatility
Quant Q&A

This discussion examines why vanilla option deltas do not reliably estimate double no-touch option prices. For a single upper barrier, the answer gives a one-touch pricing formula under zero interest rates and compares it with the delta of a vanilla call at…

OptionsDerivatives pricingVolatility
Quant Q&A

The document asks whether strike-dependent implied volatility can be explained without relying only on trader preferences. It sketches a model-based intuition using Black–Scholes sensitivities. In that model, options away from at-the-money can have positive…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains how implied volatility can affect the Greeks of a put backspread, which holds one short put and two lower-strike long puts. It separates the effect on an individual option’s gamma from the net position’s vega. For gamma, the formula has…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document asks whether Turnbull and Wakeman’s approximation for continuously monitored arithmetic Asian options uses an Edgeworth expansion, and whether the method originated with them. The question describes the approach as matching the first two…

OptionsDerivatives pricingStatistics