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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

8,116 documents

Quant Q&A

The document discusses whether traders can forecast future option prices directly, then outlines volatility-based approaches. It describes gamma trading as selling options when implied volatility is expected to exceed realized volatility, with delta hedging…

OptionsVolatilityDerivatives pricingExecution
Quant Q&A

The document explains the origin and limits of a simple approximation that relates implied variance at a strike and maturity to local variance near the initial spot and the strike at expiry. It places this shortcut alongside short-maturity results: the…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document considers how to obtain long exposure to the VDC ETF with options when its dividend payouts are irregular. It raises a tradeoff between possible option positions and dividend-related price changes around an ex-dividend date. The author is…

OptionsEquitiesRisk management
Quant Q&A

The document explains that volatility skew and statistical skewness are related terms with distinct meanings. Implied volatility skew describes how option-implied volatility varies across strikes for a fixed expiry; it is observable from option prices after…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document discusses why Yahoo Finance may report zero implied volatility for some in-the-money options, especially shortly after the market opens. It offers possible explanations rather than a confirmed account of Yahoo’s calculation: missing or unstable…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document resolves a question about replicating a European call in a zero-interest-rate market where the stock’s diffusion coefficient depends on its price. The key result is that the number of shares in the replicating portfolio is the option’s stock…

OptionsDerivatives pricingRisk management
Quant Q&A

The document raises the problem of converting probabilities inferred from stock option prices under a risk-neutral measure into real-world, or physical, probabilities. Its only proposed method is the Recovery Theorem, named in a brief answer. No derivation,…

OptionsStatisticsDerivatives pricing
Quant Q&A

The document explains how to estimate the probability that an underlying asset reaches an option strike before expiry. It distinguishes this first-passage event from the probability of finishing in the money, noting that option delta is not generally the…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The discussion examines whether theta-to-gamma ratios can guide exits from short at-the-money options paired with long-tail options. It relates the ratio of cash theta to cash gamma to implied variance, and extends this relationship to a portfolio by…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document explains the role of the underlying asset position in a variance swap replication strategy. A short variance swap can be hedged with a strip of options across strikes, often represented in practice by an at-the-money straddle together with…

OptionsVolatilityDerivatives pricingExecution
Quant Q&A

The document distinguishes the fair strike of a plain variance swap from the price of a variance swap whose realized variance is capped. A strip of vanilla options can be used to replicate the uncapped variance exposure under standard assumptions, so…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document examines a stop-loss style strategy for replicating a call option and asks how its hedging costs relate to the time the underlying spends near the strike. The answer explains the call payoff using the Tanaka-Ito-Meyer decomposition: intrinsic…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

A Bermudan swaption allows exercise on multiple specified dates, giving it more exercise flexibility than a European swaption. The document notes that these products are actively traded rates volatility instruments and are used in callable bond structures: a…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

The document explains how to revalue a swaption one week after observing its implied volatility in a rates volatility cube. The option retains its underlying forward swap and strike, while its remaining expiry shortens. Its value at the later date is…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

The document addresses pricing European options on the ASX 200 index when dividends paid by constituent companies affect the index level. It reports that using a continuous dividend yield in Black–Scholes–Merton produced a price consistent with the observed…

OptionsFuturesDerivatives pricingEquities
Quant Q&A

The discussion explains how a contract combining one touch barrier with one no-touch barrier can pay, using upper and lower barriers as an example. A one-touch feature generally triggers a payout when its barrier is reached, while a no-touch feature can…

OptionsDerivatives pricing
Quant Q&A

The document explains how prices of European receiver swaptions relate to the risk-neutral distribution of the underlying swap rate. It corrects the idea that an out-of-the-money premium, compared directly with an at-the-money premium, gives the probability…

Fixed incomeOptionsDerivatives pricingStatistics
Quant Q&A

The document outlines maximum-likelihood estimation for a GARCH(1,1)-M return model under the physical measure, then discusses an implementation problem in an R optimizer. The model specifies conditional returns using a known risk-free rate, an estimated…

StatisticsVolatilityOptionsDerivatives pricing
Quant Q&A

The document distinguishes implied volatility from historical volatility. Implied volatility is the volatility parameter that makes an option pricing model reproduce the market price of an option; it is inferred from current prices rather than calculated…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The explanation links negative correlation between an asset’s spot price and its instantaneous volatility to a downward implied-volatility skew. It contrasts the result with the standard Black–Scholes assumption of constant volatility, under which…

OptionsVolatilityDerivatives pricing
Quant Q&A

The discussion explains why an index does not itself have a single gamma position and how market commentary may instead estimate the aggregate gamma exposure of option dealers. A simplified calculation assigns dealers the opposite side of customer put and…

OptionsDerivatives pricingMarket microstructure
Quant Q&A

The document discusses why the differential equation for an American put may be written as an inequality in the continuation region above the optimal exercise boundary. One response links the inequality to the option’s delta at the boundary and the condition…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document explains that short-rate models describe the evolution of an instantaneous interest rate and use it to derive discount factors as expected accumulated discounting over time. Because the instantaneous rate is not directly observable, the response…

Fixed incomeOptionsDerivatives pricingStatistics
Quant Q&A

The document recommends a practical scenario approach for pricing down-and-in puts when vanilla option prices and implied volatilities are available. Apply a spot shift and test a small set of implied volatility shifts, using the existing volatility surface…

OptionsVolatilityDerivatives pricingRisk management