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

10,263 documents

Quant Q&A

The document examines how the drift of a process ratio changes when the denominator is a numeraire. Its answer derives the dynamics of f/g using integration by parts and Itô’s rule, including the inverse-denominator term and the covariance between the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document derives a relationship between Australian-style and US-style forward rate agreement (FRA) payoffs. It rewrites the AUD payoff as the USD-style payoff multiplied by a notional adjustment, showing that the two forms can be matched by scaling…

Fixed incomeDerivatives pricing
Quant Q&A

The document discusses why the standard Black formula cannot be applied directly to a zero-strike interest-rate floor: its log-forward-to-strike term is undefined when the strike is zero. The answers explain that model suitability depends on the forward…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The document explains how to calculate the scheduled monthly payment for a mortgage pass-through pool using its balance, gross weighted-average coupon, and remaining term. Convert the annual coupon to a monthly rate, then apply the level-payment annuity…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks whether to estimate log-return risk for an option on a cash-settled index future using futures prices or the underlying index, and how much history to use. The response focuses on the hedge instrument: because the option exposure is to the…

FuturesOptionsRisk managementDerivatives pricing
Quant Q&A

The question considers a three-step binomial stock model and asks how to verify that the process is a martingale. It supplies an initial stock price, up and down multipliers, and an interest rate, and mentions candidate probabilities, but focuses on…

OptionsDerivatives pricingStatistics
Quant Q&A

The document discusses replicating a variance swap with a strip of delta-hedged out-of-the-money calls and puts when the available single-stock options are American. It asks whether those contracts can be handled like European options if the replication…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The response surveys embedded options and contingent cash-flow features found in bonds, loans, and preferred equity. Examples include step-up coupons, calls and puts, floating-rate floors and gearing, pay-in-kind coupons, dual-currency payments, and coupons…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

The document asks how to assign funding costs to options in a profit-and-loss model, especially when options are hedged with physical equities or bonds. It contrasts funding charges on securities, which may be financed or lent through repo, with futures’…

OptionsEquitiesDerivatives pricingRisk management
Quant Q&A

The document outlines how an investment bank can earn revenue from structured notes, including notes with embedded calls or autocall features. When a bank sells a note, it takes the other side of the client’s market view. It generally hedges exposures it…

OptionsDerivatives pricingRisk managementExecution
Quant Q&A

The document explains why the ratio of two zero-coupon bond prices, with maturities S and T where S is earlier than T, is a martingale under the T-forward measure. This property follows from the numeraire choice that defines the measure, so it does not…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how a backtest should model early exercise when short an American option. It contrasts using an arbitrary threshold for exercise with treating the contract like a European option, then describes exercise considerations that depend on option…

OptionsBacktestingDerivatives pricingEquities
Quant Q&A

The document explains why the discounted price of an American option need not be a martingale under risk-neutral pricing. A European contract has a specified maturity payoff, so its discounted price can be represented as a conditional expectation of that…

OptionsDerivatives pricingStatistics
Quant Q&A

The document discusses estimating option gamma with a central second difference and choosing the underlying price shock, h. The estimate is an approximation, so h should not be reverse-engineered to force agreement with a market gamma. A small step is a…

OptionsDerivatives pricingRisk managementStatistics
Quant Q&A

The document describes how to choose the forward input when extracting implied volatility from European SPX options. It treats the forward as the primary quantity for a given maturity, with the yield rate derived from the forward and spot index level.…

OptionsDerivatives pricingVolatilityUS markets
Quant Q&A

The document explores how an issuer might set the coupon on a barrier reverse convertible (BRC), a structured product with a comparatively high stated payment. It proposes that the coupon may be linked to the value of the embedded down-and-in put on the…

OptionsDerivatives pricingVolatility
Quant Q&A

The document asks how to derive an approximation for the volatility of the profit and loss on a hedged short at-the-money option. It describes a simulation setup in which an underlying follows geometric Brownian motion, the option is priced using the process…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document examines the Constant Maturity Swap rate used to drive the notional balance of a cancelable index amortizing swap in a Longstaff–Schwartz American-option example. It describes a two-factor Vasicek-type short-rate model and a CMS definition built…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document considers how to value a corporate rights issue, in which existing shareholders receive rights to buy additional shares at a stated price. Although an individual right resembles a call option, the issue grants rights broadly to shareholders, so…

EquitiesOptionsDerivatives pricing
Quant Q&A

The document explains why swaps do not share a single pricing formula: their fair terms depend on the underlying, cash flows, market conventions, and valuation framework. It distinguishes setting a contract’s fixed rate or strike at inception so its value is…

Derivatives pricingVolatilityFixed incomeOptions
Quant Q&A

The document raises questions about how volatility smiles affect the strikes used to construct currency risk reversals. It asks why, under a flat smile, strikes are approximately symmetric around at-the-money in log space, and why that symmetry can place the…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The example derives the stochastic differential for a state variable defined as one half the product of a geometric Brownian motion and a deterministic coefficient that decays exponentially. It applies the multivariable form of Itô’s lemma, listing the first…

StatisticsDerivatives pricingRisk management
Quant Q&A

The document explains why a local volatility model can imply a spot–implied-volatility correlation of either positive or negative one, or zero. In this model, the implied volatility of a European option is a deterministic function of time and spot. Applying…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document distinguishes LIBOR from an overnight policy rate such as the UK’s SONIA. LIBOR represents a term borrowing rate for a specified maturity, while the policy rate applies to overnight lending. The distinction explains why an overnight central-bank…

Fixed incomeDerivatives pricingMarket microstructure