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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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 how a trader hedging a written European call may need to adjust the stock position as the underlying price falls near expiration. The hedge holds shares against the call’s positive delta, so the direction of rebalancing depends on how…

OptionsDerivatives pricingRisk management
Quant Q&A

The document poses a market-impact scenario: use an accumulation and distribution algorithm to build a large share position gradually, while buying options with the intention of exercising them later. It then considers whether the resulting position could be…

EquitiesOptionsExecutionMarket microstructure
Quant Q&A

The document explains why Dupire’s formula expresses local volatility using strike and maturity coordinates even though the underlying diffusion uses spot price and time. The strike and maturity act as coordinates for the calibrated volatility surface: the…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document asks how an at-the-money put-writing strategy can be described as having low equity beta when a cited analysis appears to show high correlation and a beta near one. The quoted rationale is that an at-the-money put has a delta around 0.5 and that…

OptionsEquitiesStatisticsVolatility
Quant Q&A

The document examines whether the Black–Scholes partial differential equation can be derived directly from the capital asset pricing model. It questions steps in the original derivation that infer an option’s CAPM beta from Itô’s formula and then turn an…

OptionsDerivatives pricingStatistics
Quant Q&A

The document derives an asset-only minimum-variance hedge for an option under Heston stochastic volatility. It writes the asset and variance dynamics with correlated Brownian shocks, then forms a portfolio long the option and short a quantity of the…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document proposes estimating cash-or-nothing call values from empirical log-return distributions. For each selected time horizon, it smooths observed returns with a Gaussian kernel density estimate, then uses the fitted distribution’s cumulative…

OptionsStatisticsDerivatives pricing
Quant Q&A

The document clarifies a common terminology question in option pricing: “Black–Scholes equation” usually means the Black–Scholes partial differential equation, while “Black–Scholes formula” refers to its closed-form call or put solution under specific…

OptionsDerivatives pricingStatistics
Quant Q&A

The document addresses whether geometric Brownian motion should be applied directly to a call option or to its underlying asset when using Monte Carlo valuation. Its answer describes the usual approach: specify a stochastic process for the underlying price,…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document explains how a fair strike relates to the pricing and payoff of volatility and variance swaps. The fair strike is presented as the level at which expected realized variance or volatility matches the contract strike, making the expected payoff…

VolatilityDerivatives pricingOptionsRisk management
Quant Q&A

The response gives a starting point for hedging a digital call that expires in the money only if the underlying has never crossed an upper barrier. It approximates the terminal digital payoff by taking the difference between two vanilla call payoffs with…

OptionsDerivatives pricingRisk management
Quant Q&A

The question examines how to interpret the units in a finite-difference approximation for a domestic cash-or-nothing call replicated with a narrow vertical spread of vanilla calls around the strike. It compares the difference in call prices at strikes on…

OptionsDerivatives pricing
Quant Q&A

The document discusses how to check a Python Monte Carlo option-pricing model. It cautions that rebuilding the same method in a spreadsheet may reproduce the same conceptual or implementation error. A more independent check is to price a European option and…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document asks how a dealer can manage the discontinuous hedge exposure of a down-and-in put near its activation barrier. In the example, the put’s delta before activation is greater than the delta of the vanilla put it becomes after the barrier is…

OptionsDerivatives pricingRisk managementMarket making
Quant Q&A

The document asks how to impose a zero second-derivative condition at the right boundary when numerically solving the Black–Scholes partial differential equation with a Crank–Nicolson scheme. It contrasts adding a discrete approximation of the curvature…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document compares an analytical Black–Scholes European call price with a Monte Carlo estimate based on simulated terminal stock prices. The discrepancy in the example has two identified sources: the simulation uses a different maturity from the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document discusses calibration of a plain-vanilla, multi-curve Libor Market Model to swaption data. The proposed volatility form has several parameters, while instantaneous correlations follow an exponential function of tenor separation. The questions…

Fixed incomeOptionsVolatilityStatistics
Quant Q&A

The document compares local volatility (LV), stochastic volatility (SV), and stochastic local volatility (SLV) for option pricing and hedging. LV can be calibrated flexibly to the observed implied volatility surface and is described as initially…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

Implied volatility is the volatility input that makes a model option price match an observed market price. The document explains why there is no universally accepted closed-form expression for that inverse mapping, while noting that the answer depends partly…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document poses an options interview scenario in which a stock has a large dividend followed by an earnings announcement during the life of a near-term at-the-money American call and put. It proposes thinking of implied variance as a time-weighted…

OptionsVolatilityDerivatives pricingEvent-driven
Quant Q&A

The document explains how a short put can have negative theta under the Black-Scholes setting described: a European put on a non-dividend-paying stock. Theta for the long put combines a time-value decay component with a positive interest-rate component. For…

OptionsDerivatives pricingVolatility
Quant Q&A

The document explains put-call parity by comparing two portfolios: a call plus cash equal to the present value of the strike, and a put plus the underlying stock. Their values match because their possible payoffs at expiration are identical. If the stock…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document examines whether an investor can profit by buying a longer-dated delta-hedged call when implied volatility is lower than that of a shorter-dated option, then closing the position during the initially higher-volatility period. It uses a…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document presents lower and upper bounds for American call and put values relative to their European counterparts. The lower bounds follow from exercise flexibility: an American option holder can choose to wait until maturity, so the American contract…

OptionsDerivatives pricingRisk management