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 asks whether a double-barrier knock-out call can be assembled from an up-and-out option and a down-and-out option. The accepted response says this decomposition does not work: satisfying one barrier condition does not by itself enforce both…

OptionsDerivatives pricing
Quant Q&A

The document discusses the arbitrage-free valuation of a claim paying a power of the terminal stock price in the standard Black–Scholes model. The questioner applies Itô’s lemma first to the power process and then to its logarithm, but obtains an exponent…

OptionsDerivatives pricingVolatility
Quant Q&A

The document explains why the expected return, or drift, of a stock does not appear in the standard Black–Scholes option pricing formula. Under the model's assumptions, a replicating hedge removes the underlying's risk, so no-arbitrage pricing values the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks whether a European call is worth more when volatility is random with a given mean than when volatility is fixed at that mean. It introduces Jensen’s inequality as the key tool: if the option price is a convex function of volatility, then…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document investigates the integrated value of a call option across maturities, defined as the time integral of its price, and asks why its leverage ratio becomes hump-shaped near the at-the-money spot level under low initial variance in the Heston model.…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document asks which terminal stock-price distributions can serve as risk-neutral pricing distributions in a frictionless market with a constant interest rate and a non-dividend-paying stock. No-arbitrage fixes the distribution’s expected value to the…

OptionsStatisticsDerivatives pricing
Quant Q&A

The document addresses a Black–Scholes derivation involving the standard normal density evaluated at d1 and d2. It clarifies that the notation N′(x) refers to the normal probability density function, not to differentiating the expression with respect to…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains basic short-selling mechanics and asks how short interest relates to a possible squeeze, whether the price at which most short positions were opened can be identified, and why a trader might short shares instead of buying puts. The…

EquitiesOptionsRisk managementMarket microstructure
Quant Q&A

This discussion compares Monte Carlo simulation with analytical, partial differential equation, and numerical integration methods for option pricing. Monte Carlo is useful when the model lacks a tractable solution, payoffs depend strongly on the price path,…

OptionsDerivatives pricingStatisticsRisk management
Quant Q&A

The document outlines how extreme value theory can estimate tail risk, especially for a portfolio of long and short stock options. It recommends the peak-over-threshold approach: select sufficiently extreme losses, fit a Generalized Pareto Distribution, and…

OptionsRisk managementStatistics
Quant Q&A

The discussion explains how a local-volatility model relates an implied-volatility surface to an instantaneous volatility function of spot and time. Its central clarification is that local volatility is calibrated from the current implied surface; if that…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document frames a one-month portfolio problem involving cash, a stock, and a six-month European put. Returns are evaluated under the physical measure, but the option’s future market value depends on risk-neutral pricing. The author explains why valuing…

OptionsPortfolio constructionDerivatives pricingVolatility
Quant Q&A

The document concerns Greeks for the Bachelier model, which assumes normally distributed price changes. The author says delta, vega, and gamma are straightforward to derive, then focuses on deriving rho and theta when the interest rate is nonzero. They…

OptionsDerivatives pricingVolatility
Quant Q&A

The document introduces a diffusion model that can interpolate between arithmetic Brownian motion and geometric Brownian motion. In the proposed stochastic differential equation, the diffusion term is proportional to the state raised to a power γ. Setting γ…

Derivatives pricingStatisticsOptions
Quant Q&A

The document explains how the Stochastic Volatility Inspired (SVI) parameterization can represent implied total variance across option strikes. Its formula describes a smile using five parameters: a level, slope scale, skew, horizontal shift, and curvature…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document asks how to select a yield curve for discounting cash flows when pricing bonds, swaps, swaptions, equity options, FX forwards, and FX options. It distinguishes government, swap, overnight-indexed, and reference-rate curves, and asks whether the…

Derivatives pricingFixed incomeOptions
Quant Q&A

The document addresses how option vega relates to gamma and explains a formula attributed to Nassim Taleb’s Dynamic Hedging. Under Black–Scholes, gamma is expressed using the asset price, volatility, time to expiration, and the normal density at d1; vega…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document describes the role of trading classes in Interactive Brokers contract identification. A trading class adds an identifying layer when a symbol, expiration, and currency may not uniquely distinguish securities, such as when related contracts have…

FuturesOptionsMarket microstructure
Quant Q&A

The document asks why an FX 25-delta butterfly is commonly expressed using the average of 25-delta call and put volatilities adjusted by the at-the-money straddle volatility. It also asks what the 25-delta label means in this construction, placing the focus…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains how to construct a forward swap rate from discount factors or forward Libor rates, then connect it to swaption valuation. It derives the swap rate as the ratio of the swap’s floating-leg value to its fixed-leg annuity. Given Libor…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document outlines pricing approaches for derivatives with general payoff functions under European, American, and perpetual exercise rules. For European claims, it gives the risk-neutral discounted expected payoff and explains that a specified underlying…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document applies the Kelly betting formula to historical results from selling option spreads and asks whether a calculated allocation of about 20% of capital is too high. The response explains that Kelly is aggressive and assumes a well-specified bet…

OptionsPosition sizingRisk managementStatistics
Quant Q&A

The document describes a Monte Carlo setup for studying the profit and loss of a long out-of-the-money call that is delta hedged over time. The option is purchased using the volatility assumed at inception, while simulated underlying price paths reflect the…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The document explains how to price a derivative by matching its payoffs across possible future states. In a three-state example, a stock, a risk-free bond, and a traded option provide three payoff patterns. The unknown option is replicated by solving one…

OptionsDerivatives pricingArbitrage