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

Search the library

10,263 documents

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

Treasury futures allow the short to choose which eligible bond to deliver, creating a quality option for the short and affecting the futures price. If the cheapest-to-deliver bond is already known, pricing can be based on that bond’s forward price adjusted…

FuturesFixed incomeDerivatives pricingOptions
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 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 answer describes how to derive a forward rate from a simulated Hull–White short-rate path. At each simulated future time, use the current short rate in the model’s zero-coupon bond pricing expression, with the model’s time-dependent A and B terms, to…

Fixed incomeFuturesDerivatives 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 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 clarifies how gross basis relates a bond’s cash price to a bond futures contract. It gives the relationship as bond price minus futures price multiplied by the bond’s conversion factor. This frames gross basis as the difference between the bond…

Fixed incomeFuturesDerivatives 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 asks how to infer zero-coupon discount factors from clean and dirty prices of coupon bonds with annual coupons and staggered maturities. It proposes expressing a bond's dirty price as the sum of its coupon and principal cash flows, each…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document discusses maintaining interest rate curves built from swap and other market data, with particular attention to calibration failures and kinks. It recommends keeping user-adjustable configuration manageable, supported by instrument symbology and…

Fixed incomeDerivatives pricingRisk management
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 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 asks what drives the price of a bond futures calendar spread when both contracts share the same deliverable basket and cheapest-to-deliver bond. The accepted answer identifies the forward repo rate implied by term repo rates extending to each…

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