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 explores whether option delta should be compared with the option’s purchase price to estimate how a small underlying move affects the position’s return in percentage terms. It contrasts two in-the-money calls on the same hypothetical stock, with…

OptionsDerivatives pricingRisk management
Quant Q&A

The document asks how a forward premium quote for an interest-rate cap relates to the usual spot premium. It describes the distinction as whether the caplet payoff is discounted to its payment date: the spot-premium expression includes a discount factor,…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document asks whether Bermudan swaptions have a put–call parity relationship, how to think about optimal exercise, and whether one side’s decision to exercise determines the other side’s choice. It also considers a callable payer swap with opposing…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document explains how the at-the-money level for an interest-rate cap or floor is determined and why volatility quotes are often organized around it. The relevant level is the forward swap rate for a swap with the same maturity, schedule, and other terms…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

The document explains the drift term used when simulating a stock price under the risk-neutral measure to price a European call by Monte Carlo. The simulated log return has mean (r − σ²/2)T and a random component scaled by volatility and the square root of…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

This question asks how to transform implied volatilities indexed by strike and expiry into a surface indexed by delta and expiry. It highlights an apparent ambiguity: two options at the same expiry can appear to have nearly identical deltas while carrying…

OptionsDerivatives pricingArbitrageVolatility
Quant Q&A

This short question raises a central issue in option replication: transaction costs make the market incomplete, and asks what Leland’s modified volatility contributes to pricing and hedging. It also asks whether using that adjusted volatility allows an…

OptionsDerivatives pricingVolatilityExecution
Quant Q&A

The document considers splitting a Monte Carlo pricing workload across threads, running smaller simulations in parallel, and averaging their net present values. The accepted response says this can work, while recommending that threads avoid sharing objects…

Derivatives pricingOptionsStatisticsExecution
Quant Q&A

A short-rate model specifies stochastic dynamics for the instantaneous interest rate. Zero-coupon bond prices are derived from those dynamics as risk-neutral discounted expectations, and observable bond prices or cash rates provide the market data used to…

Fixed incomeDerivatives pricingOptionsStatistics
Quant Q&A

The document asks whether binary options can produce a position that doubles on success and halves on failure when the event is close to equally likely. Its algebra shows that the desired payoffs imply a particular option quantity and purchase price, but…

OptionsPosition sizingRisk managementDerivatives pricing
Quant Q&A

The document addresses how to revalue an options portfolio in a Monte Carlo VaR simulation when the underlying is simulated with a historical stochastic-volatility model such as GARCH. Its central distinction is that historical volatility of the underlying…

OptionsVolatilityRisk managementBacktesting
Quant Q&A

The document answers how to select the at-the-money strike when calibrating the volatility level in a shifted SABR model. The shift is added to both the forward and strike in the model’s implied-volatility calculation. Consequently, an option that is at the…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document considers a borrower’s option to choose between a fixed-rate loan, a floating-rate loan, or cancellation after a decision window. It frames the choices as embedded options with value linked to the borrower’s credit spread, interest rates, and…

OptionsFixed incomeDerivatives pricingVolatility
Quant Q&A

The document presents a question about implementing the pathwise derivative method for estimating a call option’s delta under a geometric Brownian motion model. The proposed simulation code evolves prices through multiple time steps and then sums…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document considers a simplified model for valuing inflation options embedded in inflation-indexed contracts with guarantees. The author already has a stochastic nominal interest-rate model, G2++, and wants inflation scenarios linked to it. One proposed…

OptionsFixed incomeDerivatives pricing
Quant Q&A

This discussion examines why longer-dated options can cost more even when implied volatility appears to fall with maturity. It cautions that implied volatility term structures vary: they may rise, fall, or fluctuate, including at the money. In the…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document compares a one-touch option, which pays when the underlying crosses a threshold at any time through maturity, with a binary option that pays when the underlying is above the threshold at maturity. It reports that the one-touch price is…

OptionsDerivatives pricingVolatility
Quant Q&A

The document considers why a riskless portfolio formed from an option and a hedge in the underlying must earn the risk-free rate in a binomial pricing model. The answer frames the argument as a contradiction: assume an arbitrage exists, then show that…

OptionsDerivatives pricingArbitrageRisk management
Quant Q&A

The document distinguishes calculating implied volatility from choosing coordinates for interpolation and display. To calculate implied volatility from market prices, supply the actual spot, strike, maturity, rates, and dividend yield required by the pricing…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document addresses whether the vanilla option portfolio used to replicate a variance swap still applies when the underlying pays dividends and the risk-free rate is nonzero. Its answer says the replication formula remains valid, provided the forward…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why a long position in a standard European vanilla option generally has positive vega, even when the option is already in the money. Vega measures how an option’s value responds to a change in volatility. The key idea is that a vanilla…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document addresses a common gap in the delta-hedging derivation of the Black–Scholes PDE: specifying a stock holding does not by itself explain how the portfolio remains self-financing as that holding changes. A trading strategy is described through its…

OptionsDerivatives pricingRisk managementStatistics
Quant Q&A

The document explains how the Black formula for a European option on a futures price relates to Black–Scholes pricing. Under risk-neutral pricing, the futures price is modeled as a lognormal process, and the option value is the discounted expected payoff at…

OptionsFuturesDerivatives pricingStatistics
Quant Q&A

The document derives an equivalent martingale measure for a Bachelier stock-price model with constant drift and volatility, assuming a zero interest rate. Under the original measure, the stock follows an arithmetic Brownian motion. To make the discounted…

Derivatives pricingOptionsStatistics