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 considers pricing a European option when the underlying asset’s daily return is constrained to a fixed interval. It proposes replacing the usual return density with a two-sided truncated normal risk-neutral density, then valuing the option by…

OptionsDerivatives pricingVolatility
Quant Q&A

The document contrasts rational exercise models with behavioral approaches for embedded options, such as mortgage refinancing rights and callable corporate debt. Borrowers and issuers may exercise based on private circumstances, including personal finances…

OptionsFixed incomeDerivatives pricing
Quant Q&A

This question asks how SABR is used in practical option workflows. It contrasts fitting or interpolating a volatility surface with SABR to obtain Black implied volatilities, then managing positions with Black Greeks, against measuring and managing risk…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document explains how to express a Bachelier caplet as the difference between an asset-or-nothing payoff and a cash-or-nothing payoff. Under the stated forward-measure setup, the cash digital component is proportional to the strike times the probability…

Fixed incomeOptionsDerivatives pricingStatistics
Quant Q&A

The document asks for a more accessible derivation of the semi-closed-form price of a European call under the Heston stochastic-volatility model. It does not derive the pricing formula itself; instead, the replies point readers toward a paper with a…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document raises a question about P&L attribution for a single stock option. It defines daily P&L as the change between desk market values and proposes explaining that change through underlying-price delta and gamma effects, implied-volatility vega, and…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The document asks how to close an in-the-money American put in a limited-margin IRA when the option has poor liquidity, uncovered options and short stock positions are prohibited, and exercising would forfeit remaining time value. It considers buying a…

OptionsVolatilityRisk managementExecution
Quant Q&A

The response explains why a volatility surface matters when pricing a Bermudan swaption, an option exercisable on specified dates. It first clarifies that a Bermudan contract need not be exercisable from the beginning of its life, then outlines a model-based…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

This note shows how to price a path-dependent lookback call in a two-period binomial model. A European payoff depends only on the terminal asset price, so the two paths that reach the same middle terminal node can be combined and their probabilities added. A…

OptionsDerivatives pricingBacktesting
Quant Q&A

This note explains how to connect a Black–Scholes call’s volatility sensitivity to the strike derivative used to price a cash-or-nothing digital option. It starts from the call price and its vega, then shows that the apparent mismatch between a term…

OptionsDerivatives pricingVolatility
Quant Q&A

The exchange addresses how to obtain the underlying input needed to analyze an options dataset when spot prices are unavailable. It suggests estimating a forward price from put and call quotes at a common maturity: identify the strike where their prices are…

OptionsDerivatives pricingVolatilityEquities
Quant Q&A

A special cash dividend or another corporate action can change an option contract’s deliverable. As a result, an adjusted, nonstandard contract may appear beside a newly issued standard contract with the same underlying, strike, expiration, and call or put…

OptionsEquitiesEvent-drivenDerivatives pricing
Quant Q&A

The document discusses how to hedge a caplet dynamically in a theoretical framework, comparing it with delta hedging an equity call. One suggested approach is to use a forward rate agreement with the relevant expiry, such as an at-the-money FRA, and adjust…

OptionsFixed incomeDerivatives pricingRisk management
Quant Q&A

The discussion examines why the variance sensitivity of a variance swap may seem inconsistent with the sensitivities of the options used to replicate it. Under assumptions of continuous paths and a continuum of strikes, the question treats the option…

OptionsDerivatives pricingVolatility
Quant Q&A

The discussion asks whether Bitcoin has a quantifiable fair value and how mispricing might be recognized. The answers describe its traded price as an outcome of supply and demand once the market is sufficiently liquid, while emphasizing that speculation is…

CryptoSpot marketsOptionsVolatility
Quant Q&A

The document raises a practical calibration problem: fitting an SVI or SABR volatility surface to mid implied volatility produced a satisfactory fit, while separate fits to bid or ask implied volatility performed poorly. It asks how to fit surfaces to…

OptionsVolatilityDerivatives pricingMarket microstructure
Quant Q&A

The document asks how to value a cancelable swap whose termination payment is linked to an index, then isolates the question of choosing when to pay an index-based amount. The provided answers treat the simplified payment as a scaled forward-like payoff and…

Derivatives pricingOptionsFixed incomeEquities
Quant Q&A

The document considers how to describe option risk across an implied volatility surface. Standard Black–Scholes Greeks measure sensitivity to model inputs, but Vega is difficult to aggregate across options because an implied volatility move need not be…

OptionsVolatilityRisk managementDerivatives pricing
Quant Q&A

The document explains why a smile that bends down or up around the forward does not, by itself, establish whether option prices admit arbitrage. Smile curvature is related to the shape of the implied risk-neutral distribution: a concave smile can accompany a…

OptionsVolatilityDerivatives pricingArbitrage
Quant Q&A

The document addresses whether Black-Scholes time to expiration should be measured in trading days or calendar days when volatility is estimated using trading-day data, and asks how the risk-free rate should be treated. One response advises keeping the time…

OptionsDerivatives pricingVolatility
Quant Q&A

The document asks how market makers choose bid-ask spreads for options quoted in implied volatility terms. It gives an example of a quote with a one-point gap between bid and ask volatility, and suggests that market volatility and the need to hedge inventory…

OptionsMarket makingVolatilityMarket microstructure
Quant Q&A

The document asks how to price a European option on an amortizing interest-rate swap when market volatility quotes are available only for standard, non-amortizing swaptions. It outlines the usual Black-style swaption valuation using an annuity, forward swap…

OptionsFixed incomeDerivatives pricingVolatility
Quant Q&A

The document addresses how to assess an exotic option pricing model when direct market prices are scarce. It proposes first checking whether the contract can be reduced to a simpler exotic structure that has observable quotes; if so, the model should…

OptionsDerivatives pricingBacktestingRisk management
Quant Q&A

The document explains how to derive the Black–Scholes pricing equation from a risk-neutral valuation formula. It assumes the underlying follows a geometric Brownian motion under the risk-neutral measure, with deterministic interest rates and constant…

OptionsDerivatives pricingStatistics