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 explains why the discounted price of an American option need not be a martingale under risk-neutral pricing. A European contract has a specified maturity payoff, so its discounted price can be represented as a conditional expectation of that…

OptionsDerivatives pricingStatistics
Quant Q&A

The document discusses estimating option gamma with a central second difference and choosing the underlying price shock, h. The estimate is an approximation, so h should not be reverse-engineered to force agreement with a market gamma. A small step is a…

OptionsDerivatives pricingRisk managementStatistics
Quant Q&A

The document describes how to choose the forward input when extracting implied volatility from European SPX options. It treats the forward as the primary quantity for a given maturity, with the yield rate derived from the forward and spot index level.…

OptionsDerivatives pricingVolatilityUS markets
Quant Q&A

The document explores how an issuer might set the coupon on a barrier reverse convertible (BRC), a structured product with a comparatively high stated payment. It proposes that the coupon may be linked to the value of the embedded down-and-in put on the…

OptionsDerivatives pricingVolatility
Quant Q&A

The note explains how to read volatility shocks in the CCAR 2018 severely adverse scenario. It clarifies that the listed shock sizes are additive percentage-point changes to implied volatility, rather than relative percentages or basis-point changes. For…

OptionsVolatilityRisk management
Quant Q&A

The document asks how to derive an approximation for the volatility of the profit and loss on a hedged short at-the-money option. It describes a simulation setup in which an underlying follows geometric Brownian motion, the option is priced using the process…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document considers how to value a corporate rights issue, in which existing shareholders receive rights to buy additional shares at a stated price. Although an individual right resembles a call option, the issue grants rights broadly to shareholders, so…

EquitiesOptionsDerivatives pricing
Quant Q&A

The document explains why swaps do not share a single pricing formula: their fair terms depend on the underlying, cash flows, market conventions, and valuation framework. It distinguishes setting a contract’s fixed rate or strike at inception so its value is…

Derivatives pricingVolatilityFixed incomeOptions
Quant Q&A

The document raises questions about how volatility smiles affect the strikes used to construct currency risk reversals. It asks why, under a flat smile, strikes are approximately symmetric around at-the-money in log space, and why that symmetry can place the…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why a local volatility model can imply a spot–implied-volatility correlation of either positive or negative one, or zero. In this model, the implied volatility of a European option is a deterministic function of time and spot. Applying…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document shows how to transform the Black–Scholes partial differential equation into a simpler equation for the discounted option value as a function of the discounted underlying. It begins with the original equation and defines both discounted…

OptionsDerivatives pricingStatistics
Quant Q&A

The discussion compares buying a zero-dividend stock with buying a hypothetical American call on one share that has a zero strike and no expiry. It explains that, without dividends and under no-arbitrage assumptions, the discounted stock price is a…

OptionsEquitiesDerivatives pricing
Quant Q&A

The document explains two ways to value rebates in barrier options under Black–Scholes assumptions. For a down-and-out call with a rebate paid at maturity, the payoff can be separated into the ordinary surviving call payoff and a rebate paid if the barrier…

OptionsDerivatives pricingVolatility
Quant Q&A

The document discusses how to express the price of a European call as a discounted expectation under a risk-neutral measure, starting from a binomial stock-price model and considering its continuous-time limit. The key pricing correction is to discount the…

OptionsDerivatives pricingStatistics
Quant Q&A

Local volatility models can be calibrated to European vanilla option prices across strikes and maturities, reproducing the current implied-volatility surface. Dupire’s relationship derives a risk-neutral diffusion consistent with a sufficiently smooth…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The question describes estimating a risk-neutral density by choosing distribution parameters that minimize squared differences between model and observed call and put prices. The answer says that when the assumed terminal distribution is lognormal, its…

OptionsFixed incomeDerivatives pricingStatistics
Quant Q&A

The answer explains the square-root-of-time rule of thumb for the vega of at-the-money options. Under Black–Scholes, vega is proportional to the underlying price, the normal density evaluated at d1, and the square root of time to expiry. Near the money, for…

OptionsVolatilityDerivatives pricing
Quant Q&A

The discussion asks why a stock's expected return does not directly appear in the Black-Scholes option-pricing formula. Several replies explain the result through replication and hedging: a dynamically adjusted stock position can offset exposure to the…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The document concerns sourcing US credit default swap data for a study of the Corona pandemic period. A response suggests that Bloomberg's CMAN historical CDS spreads may be adequate when IHS Markit historical consensus data are unavailable, while noting a…

Fixed incomeOptionsVolatilityStatistics
Quant Q&A

The document asks about simulating an integral driven by a Black–Scholes asset process, with the integrand switching according to whether the asset price is below a strike. The author describes this as a naive hedge for a European put and notes that such a…

OptionsDerivatives pricingStatistics
Quant Q&A

The document poses an asymptotic option-pricing question. With the underlying price, interest rate, and time to expiry normalized, it defines a put price as the larger of a linear function of strike above a threshold and the put’s intrinsic value. Below or…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why a trader might neutralize an option portfolio’s delta: to reduce sensitivity to directional moves in the underlying while retaining exposure to volatility. It gives options market making as an example, where the objective is to…

OptionsVolatilityRisk managementMarket making
Quant Q&A

The discussion explains how an FX option table organized by strike relates to a volatility chart organized by delta. Delta links a strike to the option’s moneyness: at a given strike and maturity, the call and put have opposite-side deltas and one is in the…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The document frames a calibration problem for a one-period stock-price binomial model. The two possible next-period prices are represented as multiplicative up and down moves from the current price, with continuously compounded risk-free growth over the…

OptionsEquitiesDerivatives pricingStatistics