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

Search the library

8,116 documents

Quant Q&A

A call spread that is long a lower-strike call and short a higher-strike call can be priced by subtracting the short call’s value from the long call’s value. Each option is priced separately, then the signed values are combined to obtain the strategy’s…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document asks how to estimate the expiry stock price at which an option position breaks even after an initial delta hedge that is left unchanged. The reply assumes no stock financing or repo costs and no subsequent trading of the option’s gamma. Under…

OptionsEquitiesDerivatives pricingRisk management
Quant Q&A

The document explains how to value an American put with a two-step binomial model. Starting from the current underlying price, the tree applies the up and down factors at each step; because their product is the same in either order, the price tree…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document asks how to interpret a condition that arises in Gatheral’s relationship between local variance and the implied total variance surface. In that formula, the local variance is proportional to the maturity derivative of implied total variance…

OptionsVolatilityDerivatives pricingArbitrage
Quant Q&A

The discussion concerns how to infer implied volatility from options on VSTOXX. It describes an attempt using Black–Scholes with the corresponding VSTOXX futures as the underlying and an assumption about rates and yield, which produced an unsatisfactory gap…

OptionsVolatilityDerivatives pricing
Quant Q&A

The discussion explains why a commodity spread option may use variability measured in absolute price changes rather than return volatility. For a spread defined as the difference between two asset prices, the value can cross zero. That makes a geometric…

CommoditiesOptionsDerivatives pricingVolatility
Quant Q&A

The discussion explains that price gaps threaten market makers mainly when they have inventory or resting orders exposed to a move. A gap can turn a bid or ask fill into an immediate loss, while inventory held for later sale can lose value before it can be…

Market makingRisk managementMarket microstructureOptions
Quant Q&A

This note derives the risk-neutral up-move probability for a one-period binomial stock model. Under the risk-neutral measure, the expected stock price grows at the risk-free rate over the period. Equating the probability-weighted up and down stock values to…

OptionsDerivatives pricingStatistics
Quant Q&A

The document presents an implementation question about numerically solving a Dupire partial differential equation to price vanilla options in log-moneyness and time coordinates. The author uses a fully implicit finite-difference scheme and reports difficulty…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document describes a Clenshaw–Curtis quadrature implementation for pricing an American call on a stock that pays multiple discrete dividends. The author compares the computed price with a published result and with a Vellekoop–Nieuwenhuis implementation,…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains how a cash-or-nothing digital call relates to a vanilla call. Its price can be represented as the negative derivative of the call price with respect to strike, and a narrow call spread gives a practical approximation to the digital…

OptionsDerivatives pricingVolatility
Quant Q&A

The discussion considers two vanilla calls written on different, correlated assets under a Black–Scholes framework. For claims driven by correlated geometric Brownian motions, the instantaneous option returns inherit the underlying Brownian correlation,…

OptionsDerivatives pricingStatisticsRisk management
Quant Q&A

The answer challenges the idea that implied volatility (IV) is simply an unbiased forecast of future realized volatility. An option’s IV varies by strike and maturity, forming a smile or skew, while realized volatility is a single measure for a period. IV…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document explains how to value a fund arrangement in which party B receives scheduled proportional payments, party A covers a shortfall at maturity, and party C receives any surplus. Under risk-neutral valuation, the terminal claims of A and C are priced…

Derivatives pricingOptionsRisk management
Quant Q&A

The document diagnoses an error in a currency option valuation using a six-step binomial tree. The calculation sums discounted payoffs across terminal nodes but weights each node only by the risk-neutral probability of one particular sequence of up and down…

OptionsDerivatives pricingStatistics
Quant Q&A

This discussion outlines how optimal control concepts apply to quantitative finance. In dynamic portfolio construction, an investor allocates capital across instruments while accounting for expected returns, risk, and the costs of changing positions over…

Portfolio constructionOptionsRisk managementDerivatives pricing
Quant Q&A

This discussion separates the theoretical SABR model from formulas used to approximate its implied volatility. It examines a case with very high vol-of-vol where prices calculated by inserting Hagan implied volatilities into Black–Scholes appear to violate…

OptionsVolatilityDerivatives pricingArbitrage
Quant Q&A

The document asks how to reduce Monte Carlo estimation error when pricing vanilla options under the Heston stochastic volatility model. The questioner reports that Black–Scholes controls using implied, average, or long-term volatility have not worked well,…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The document introduces the Black–Scholes derivative of an option’s value with respect to its strike, often called dual delta. It gives the call and put formula and asks how to interpret the measure in practice when an option’s strike is fixed during the…

OptionsDerivatives pricingVolatility
Quant Q&A

The document examines how to simulate a local volatility model calibrated from European options using Dupire’s formula. It presents the Euler–Maruyama step, which evaluates volatility at the current time and state and holds it over the next interval. The…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document examines a currency-options parity exercise and questions whether the reciprocal of a lognormal exchange rate can be priced with the same Black–Scholes setup. It derives the reciprocal rate’s log distribution, observes that the variance…

ForexOptionsDerivatives pricingStatistics
Quant Q&A

The document asks how exchanges obtain implied volatilities and Greeks for American-style stock options, where early exercise makes direct use of standard European option formulas unsuitable. It suggests that a computationally manageable tree or…

OptionsDerivatives pricingVolatility
Quant Q&A

The document asks whether a stock’s dividend value under a Gordon-style discounted cash-flow model should include an additional option to sell when its market price exceeds the present value of future dividends. It frames the ability to liquidate before an…

EquitiesOptionsDerivatives pricingEvent-driven
Quant Q&A

The document explains why a trial-and-error Black–Scholes calculation can return a range of implied volatility estimates that appear to reproduce the same option price. The cause is limited numerical precision: the search stops when the difference between…

OptionsDerivatives pricingVolatilityStatistics