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 raises the question of how to price a European call whose underlying is itself the value of another European call. It defines the inner option by its underlying asset, strike, and expiry, then asks for a no-arbitrage price for an outer call on…

OptionsDerivatives pricing
Quant Q&A

The document introduces pricing a European exchange call that pays the positive difference between two stock prices at maturity. It shows how the payoff can be factored into the first stock’s value and a call-like payoff on the ratio of the second stock to…

OptionsDerivatives pricingEquities
Quant Q&A

The document explains an analogy between pricing European calls under a continuous dividend yield and under a known cash dividend. It frames Black–Scholes pricing through the risk-neutral distribution of the terminal asset price: when that price is…

OptionsDerivatives pricingEquities
Quant Q&A

The document examines how beta-weighted option deltas can express positions in different underlyings in index-equivalent terms for comparison or hedging. It corrects the idea that a beta of one means an asset has the same volatility as the index: beta…

OptionsPortfolio constructionRisk management
Quant Q&A

The document clarifies the outcome of replicating a long call with a dynamic position in the underlying and bonds. A replication portfolio is intended to match the option’s value changes, including losses from time passing; it is not designed to guarantee a…

OptionsDerivatives pricingRisk management
Quant Q&A

The discussion corrects the intuition that a deeply in-the-money European put might lose value as volatility rises because the underlying has little room to fall. For standard European options, put-call parity gives puts and calls the same volatility…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why holding shares against a short out-of-the-money call does not keep the position delta-neutral as the underlying moves. The call’s sensitivity changes with price, so a hedge established at inception can become inadequate after a…

OptionsRisk managementDerivatives pricing
Quant Q&A

The document considers how to model a path-dependent payoff whose number of vanilla calls increases when the underlying exceeds a threshold on periodic observation dates. It asks whether local volatility, stochastic volatility, or another model is…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document defines two notional measures for a position in call options on a stock. For a position of n contracts, each covering c shares, with strike K and current stock price P, strike notional is the contract share count multiplied by the strike, while…

EquitiesOptionsDerivatives pricing
Quant Q&A

The document raises two questions about dynamic delta hedging of a short European call in the Black–Scholes framework. It asks why, when rebalancing is frequent and transaction costs are absent, the discounted cash left after hedging and settling the option…

OptionsDerivatives pricingRisk management
Quant Q&A

The document discusses the possible outcomes of selling an out-of-the-money European call while delta hedging with the underlying stock. It contrasts a gradual rise toward the strike, where the call may expire worthless and the hedge can gain value, with a…

OptionsDerivatives pricingRisk managementVolatility
Quant Q&A

The document explains the idea behind selling options to collect the variance risk premium in the S&P 500. It describes a common pattern in which implied volatility is often above subsequently realized volatility, making options appear expensive relative to…

OptionsVolatilityRisk management
Quant Q&A

The document outlines how to compare models used to price European, American, and exotic options, including the accuracy of prices and hedging Greeks. For options included in calibration, calibration error is a direct comparison; for other products or uses,…

OptionsDerivatives pricingRisk managementStatistics
Quant Q&A

The document compares a binomial tree price for a European call with a much lower estimate from a Monte Carlo implementation. The key diagnostic is the simulated stock process: the original code builds paths with time points and Brownian increments that do…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks how to translate boundary conditions for a European call option into boundary conditions for the heat equation obtained by transforming the Black–Scholes partial differential equation. It states the call’s terminal payoff, the zero-price…

OptionsDerivatives pricingStatistics
Quant Q&A

The document compares calibrating SABR models at quoted tenors and interpolating their parameters with using a stochastic volatility LIBOR Market Model. The proposed interpolation approach can produce smiles at intermediate maturities from sparse market…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The discussion offers an intuitive explanation for why a deep in-the-money European put can retain positive vega, even when the underlying stock price is near zero. Its value includes time value as well as intrinsic value, and that remaining time value can…

OptionsVolatilityDerivatives pricing
Quant Q&A

The discussion considers how to adapt an equity Black–Scholes Monte Carlo framework, built around product definitions and simulation timelines, to price interest-rate swaptions. The suggested shortcut is to represent the underlying swap rate as a…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document asks why exotic options are especially common in foreign exchange markets compared with equities, bonds, and other assets. The responses offer several possible explanations rather than a single demonstrated cause. FX derivatives often hedge real…

ForexOptionsDerivatives pricing
Quant Q&A

The document compares simulating an asset price directly with simulating its logarithm under geometric Brownian motion. Applying Itô’s lemma gives log price a constant drift adjusted downward by half the variance and a volatility-scaled Wiener process. The…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The question concerns finding the underlying price at which a credit spread reaches a specified loss, using Black–Scholes option prices. The writer currently searches across underlying prices, which becomes slow when repeated across many spreads. The…

OptionsDerivatives pricingVolatility
Quant Q&A

The document asks how Lie groups, differential geometry, and string theory relate to mathematical finance, but the available answer gives only a brief connection. It notes that mathematical finance often involves partial differential equations also studied…

OptionsVolatilityDerivatives pricing
Quant Q&A

The discussion explains two presentations of the portfolio used to derive the Black–Scholes pricing equation. In the delta-hedging view, the portfolio is short an option and holds a number of underlying shares equal to the option’s delta. Under the…

OptionsDerivatives pricingRisk management
Quant Q&A

The document explains how to infer a risk-neutral terminal-price density from call prices. By the Breeden–Litzenberger result, the density at a strike is the second strike derivative of the call price, adjusted for discounting. Since market quotes are…

OptionsDerivatives pricingVolatilityStatistics