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 discusses how to choose boundary conditions when numerically solving the Black–Scholes partial differential equation on a finite underlying-price grid. The appropriate conditions depend on the payoff and on how the finite grid corresponds to the…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document explains why desks may use SABR alongside Black-76 or Bachelier pricing for vanilla swaptions and other interest rate options. In this account, the vanilla pricing formula supplies the option value, while SABR models how implied volatility…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The discussion addresses how to calculate Bartlett-adjusted vega when a QuantLib SABR swaption volatility cube derives its forward rates internally from a spot curve. Since the cube does not expose forward rates as direct inputs, the proposed workaround…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The discussion explains how to calibrate a Hull–White interest-rate tree for valuing callable bonds. It recommends using swaption volatility quotes when those instruments resemble the embedded options in the bonds, and suggests constructing an equivalent…

Fixed incomeDerivatives pricingVolatilityOptions
Quant Q&A

The document presents an attempt to fit Heston stochastic-volatility parameters to a grid of market call prices using SciPy optimization. It includes a characteristic-function-based pricing routine and loops across strikes and maturities to produce model…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The discussion shows how to turn sampled, potentially non-normal log returns into asset price paths. For each asset, take its starting price and multiply it by the exponential of the cumulative sampled returns. A copula can supply joint return draws across…

Multi-assetStatisticsDerivatives pricingOptions
Quant Q&A

The discussion distinguishes expected, implied, and realized volatility in option risk calculations. It clarifies that the recommendation to use expected volatility does not mean using realized volatility: realized volatility describes past price variation,…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The question concerns a one-year call on a euro-denominated stock with a euro strike, subject to a knock-in condition based on relative performance. The option pays only when the euro stock finishes above its strike and its growth over the year exceeds the…

OptionsEquitiesDerivatives pricingStatistics
Quant Q&A

The discussion distinguishes trading for exposure from quantitative work that develops valuation models. A practitioner may use outputs from stochastic-calculus-based models, such as Black–Scholes, without applying stochastic calculus directly to routine…

Derivatives pricingArbitrageOptionsStatistics
Quant Q&A

The note clarifies the meaning of the function Φ in the Cox–Ross–Rubinstein binomial option model. It denotes a complementary binomial distribution function: for a random variable X, this gives the probability that X exceeds a specified value, or one minus…

OptionsStatisticsDerivatives pricing
Quant Q&A

The document asks how the VIX or its short-term counterpart compares with implied volatility backed out from a near-the-money S&P 500 call. The response highlights that a Black–Scholes implied-volatility estimate is conditional on the model used to translate…

OptionsVolatilityDerivatives pricingUS markets
Quant Q&A

The document asks how to adapt a bisection-style implied-volatility calculation for an American option on a dividend-paying stock. The key principle in the accepted answer is to keep the root-finding procedure and replace the Black–Scholes pricing function…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document frames a modeling problem: estimate before trading how much price concession may be needed to execute a multi-leg option spread, such as a vertical or butterfly. It proposes candidate inputs, including each leg’s bid–ask width across the…

OptionsExecutionMarket microstructure
Quant Q&A

The document asks why short-term repo implied by Euro Stoxx 50 options can be materially higher than repo implied by options on constituent shares, and whether index financing should match an average of single-stock financing. The response emphasizes that…

OptionsEquitiesFuturesMarket microstructure
Quant Q&A

The document discusses real-time risk estimates for US equity option portfolios when implied volatility is unreliable at deep in-the-money or out-of-the-money strikes. The questioner describes deriving volatility from current market prices, then revaluing…

OptionsVolatilityRisk managementDerivatives pricing
Quant Q&A

Put–call parity can imply an arbitrage when the prices of a call, a put, the underlying, and the present value of the strike do not align. The document asks what could make such a trade fail beyond insufficient liquidity to assemble the positions. Its answer…

OptionsArbitrageRisk management
Quant Q&A

The answer distinguishes the real-world stock-price process, whose drift is the expected return, from the risk-neutral process used to price options, whose drift is the risk-free rate. It presents the geometric Brownian motion solution under each measure and…

OptionsDerivatives pricingStatistics
Quant Q&A

The document surveys research using information from option prices and implied volatility to forecast returns. It groups examples into several themes: predictors derived from implied volatility, expected-return estimates recovered from option prices, and…

OptionsVolatilityFactor investingEquities
Quant Q&A

The document explains how to price a European put option on a zero-coupon bond under the Cox-Ingersoll-Ross (CIR) interest-rate model. It derives the put price from the corresponding bond call price using put-call parity: the put equals the call less the…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document presents the setup for comparing European call prices under Black–Scholes and a GARCH-in-mean model following Duan (1995). It gives the physical-measure return and conditional variance equations, then describes the risk-neutral dynamics used to…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document explains a variance-swap discussion of a short call that is hedged daily, where the trader loses money overall despite realized volatility being below the option’s implied volatility. It clarifies that the charted trading profit and loss is the…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document derives the time sensitivity of a European call under the Black–Scholes–Merton model with constant interest and dividend rates. It rewrites time to maturity as a separate variable, applies the chain rule, and differentiates the discounted stock…

OptionsDerivatives pricingStatistics
Quant Q&A

The note explains the usual sign of option gamma: under Black–Scholes assumptions, a long call or put has positive gamma, while a short position has negative gamma. Gamma describes how an option’s delta changes as the underlying price moves. For a long put,…

OptionsDerivatives pricingVolatility
Quant Q&A

The document proposes valuing a simplified, single-underlying phoenix autocall as a zero-coupon snowball component plus the discounted expected value of coupons paid at observation dates. It models coupon eligibility using the underlying’s level relative to…

OptionsDerivatives pricingStatistics