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
WonderTrader
14 documents
Alphalens
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 the combined payoff of a long up-and-in put and a short up-and-in call with the same strike, maturity, and barrier. If the underlying reaches the barrier before expiry, both options activate and behave like vanilla options. Put-call…

OptionsDerivatives pricingVolatility
Quant Q&A

The document considers the impact of replacing established overnight discount rates with new risk-free rates on uncleared swaptions. It asks whether valuation changes should be compensated, distinguishing temporary changes in a swap’s discounted value from…

OptionsDerivatives pricingFixed incomeRisk management
Quant Q&A

The document considers whether linear hedges, such as delta hedges, can meet most clients' needs without other derivatives. It notes that Black–Scholes theory can use a rebalanced linear hedge to replicate a nonlinear option payoff. For linear exposures, or…

OptionsForexRisk managementDerivatives pricing
Quant Q&A

The document explains why option traders sometimes treat theta as a proxy for gamma, focusing on a delta-neutral portfolio. It uses the Black–Scholes differential equation to relate portfolio time decay, delta, gamma, interest rates, and the underlying…

OptionsDerivatives pricingVolatility
Quant Q&A

The document examines the Black–Scholes risk-neutral drift relation and asks whether its negative volatility adjustment conflicts with the observation that higher interest rates can coincide with falling stock prices. The replies explain that the relation…

OptionsDerivatives pricingVolatilityEquities
Quant Q&A

The document asks whether an implied volatility surface can be used to calculate options strategy P&L and variance swap P&L when individual option prices are unavailable. The response says a surface can support these calculations if its construction…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document describes a Monte Carlo setup for a correlation swap: pairs of normally distributed asset returns are generated with a specified population correlation, and sample correlation is calculated across observation periods for each simulated path. The…

StatisticsDerivatives pricingOptions
Quant Q&A

The document explains why a call option on a basket of stocks is commonly described as having positive exposure to correlation. A basket’s value depends on the combined returns of its constituents, so its distribution is more complicated than the…

OptionsEquitiesVolatilityStatistics
Quant Q&A

The document asks whether investors can isolate jump risk premia in a way that variance swaps isolate variance risk premia. It describes gap-risk contracts as a practical analogue: an over-the-counter swap or exposure embedded in a structured note, based on…

OptionsEquitiesVolatilityRisk management
Quant Q&A

The document outlines the historical VIX methodology and distinguishes two changes to the index. In 2003, the underlying shifted from S&P 100 options to S&P 500 options, and the calculation moved from implied volatility to a variance-swap approach. In 2014,…

OptionsVolatilityUS marketsDerivatives pricing
Quant Q&A

The document presents a two-factor pricing setup in which the stock price follows a diffusion with constant volatility and the short rate follows a mean-reverting process. Assuming the two Brownian drivers are uncorrelated, the response gives a generalized…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

The document asks whether selecting the least expensive option at successive expiries can reveal an asset's most likely price path. The answers explain that option prices can be used to infer risk-neutral distributions of terminal prices at fixed maturities.…

OptionsVolatilityStatisticsDerivatives pricing
Quant Q&A

The document examines whether a call option's delta equals its probability of expiring in the money under the Bachelier model. It first corrects a related misconception: Black–Scholes call delta is not generally the exercise probability. For a forward…

OptionsDerivatives pricingStatistics
Quant Q&A

The discussion distinguishes geometric-average and arithmetic-average Asian options under the Heston stochastic volatility model. It reports that a closed-form pricing formula is available for the geometric Asian option, while an analogous closed form is not…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The document explains why a caplet whose payoff is fixed and paid on the LIBOR fixing date is more involved than one paid at the end of the underlying accrual period. For the latter, the forward rate is modeled as a martingale under the matching maturity…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document presents a proposed closed-form value for a convertible bond under a two-factor setup involving the stock price and a Vasicek-like interest-rate factor. The cited response expresses the value in a Black-style form, using the stock price, a…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document surveys ways to obtain exposure to volatility using options. One straightforward approach is to hold an at-the-money straddle and delta hedge it, while recognizing that its volatility sensitivity changes as the underlying moves away from the…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document describes an R error encountered while attempting to compute implied volatility by solving for the volatility that matches an observed option price. The reported failure occurs when the root-finding interval is constructed, even though the code…

OptionsDerivatives pricing
Quant Q&A

The document asks how to price several option payoffs that depend on the underlying asset at two future dates, with a fixed constant also appearing in maximum and minimum terms. The valuation time precedes both dates. The author wants to know whether the…

OptionsDerivatives pricingVolatility
Quant Q&A

The question examines the limit of a put price divided by its strike as the strike approaches zero, under zero interest rates. It rewrites the put payoff expectation as the probability that the terminal stock value is below the strike, minus a scaled…

OptionsDerivatives pricingStatistics
Quant Q&A

This discussion describes fitting a SABR volatility surface to options on SOFR futures. The workflow solves for implied Black or Bachelier volatilities at selected out-of-the-money strikes, calibrates SABR with QuantLib, adjusts parameters by hand, then…

FuturesOptionsVolatilityDerivatives pricing
Quant Q&A

The document compares Interactive Brokers demo and personal paper-trading accounts for testing Trader Workstation API applications. Demo accounts provide simulated data and can help check connectivity or exercise account types, but the answers describe…

ExecutionMarket microstructureBacktestingFutures
Quant Q&A

The note explains how to estimate an American put’s early exercise boundary when using Longstaff–Schwartz least squares Monte Carlo (LSM). Its central method is to compare the option value at neighboring underlying-price nodes with the value from exercising…

OptionsDerivatives pricingStatistics
Quant Q&A

The document addresses a Bloomberg settings question about valuing interest-rate caps and floors when the model is labeled Black-Scholes-Merton and volatility is set to Normal. The response says those choices are not combined: Bloomberg changes the settings…

OptionsFixed incomeVolatilityDerivatives pricing