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

10,263 documents

Quant Q&A

The question asks why some researchers fit curves to implied volatilities rather than option prices, given that both can vary nonlinearly with strike. The response points out that a standard pricing framework such as Black–Scholes provides a conventional…

OptionsVolatilityDerivatives pricing
Quant Q&A

The discussion explains carry and roll-down using an interest rate swap whose curve slopes upward. Carry comes from the already fixed floating coupon relative to the swap’s fixed rate; roll-down comes from repricing the remaining cash flows as the swap…

Fixed incomeCarryDerivatives pricing
Quant Q&A

The note decomposes the risk of a USD-denominated Mexican corporate bond into USD interest-rate exposure, the spread of USD-denominated Mexican sovereign debt over the USD risk-free curve, and the issuer’s additional idiosyncratic spread. It suggests hedging…

Fixed incomeRisk managementDerivatives pricingPortfolio construction
Quant Q&A

The note distinguishes the credit exposure of an interest rate swap from the reason overnight rates are used for discounting. Its answer says that swaps referencing LIBOR or another floating rate generally have little counterparty risk when they are subject…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document distinguishes a currency’s convertibility from whether an FX contract delivers the currency. A currency may be difficult or restricted to convert because of capital controls or limited market access, while a non-deliverable forward settles its…

ForexDerivatives pricing
Quant Q&A

The document explains why a local volatility model can be useful after fitting an implied volatility surface to vanilla option prices. Under Dupire’s approach, the surface is converted into a local volatility function that can be used to model the underlying…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document outlines how to build a curve from an index instrument and a sequence of forward rate agreement quotes, including overlapping FRAs. It frames the task as choosing curve parameters, interpolation, and discount factor node dates so the setup can…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document concerns adding principal redemptions that fall between coupon dates to an amortizing floating-rate bond in QuantLib. Assigning a redemption directly to the bond’s redemption list did not make the cash flow appear in the reported schedule. The…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains how to derive the value at an intermediate time of an FX forward whose underlying spot rate is simulated in a Monte Carlo model. It rewrites the value as the difference between the current forward exchange rate for maturity and the…

ForexDerivatives pricingFixed income
Quant Q&A

The document addresses whether the tenor of a LIBOR rate used for discounting should match a swap leg’s payment frequency. Its answer says that LIBOR is generally not the preferred discount curve for uncollateralized trades. Because LIBOR includes a credit…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document considers pricing options on an illiquid currency pair when only one bank provides option quotes. It asks whether historical realized volatility can support implied volatility estimates, how a market maker might account for a risk premium, and…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The discussion explains why calibrating a Bermudan swaption model only to coterminal European swaptions may miss important market drivers. A Bermudan’s exercise value can depend on swap rates and swaption prices across many expiries and tenors, including…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document discusses pricing single- and double-window barrier options, whose barriers are monitored only during a specified interval within the option’s life. It cautions that closed-form formulas are generally limited to Black–Scholes settings with…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The document raises a curve-construction question about combining SOFR futures at the front end with SOFR swaps at the longer end. It notes that centrally cleared swaps require daily cash variation margin and asks whether that feature makes their economics…

Fixed incomeFuturesDerivatives pricing
Quant Q&A

The document explains that the discount curve used to value a swap is connected to the collateral terms agreed by the counterparties. Those terms are set out in the Credit Support Annex, which forms part of the contractual arrangement governing collateral…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains how option Greeks can help attribute changes in a delta-hedged position. Gamma captures the effect of underlying price movement and realized variance relative to the volatility assumption; vega measures sensitivity to changes in the…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The discussion considers a bullish investor choosing how to gain exposure to a forward, with position size capped at a stated maximum. The response explains that an optimal position cannot be determined from the expected direction alone: it depends on the…

FuturesOptionsDerivatives pricingRisk management
Quant Q&A

The document explains how to construct a portfolio of stock and a risk-free bond that matches an option's payoff in a one-period, two-outcome binomial model. In the up state, the portfolio's stock and bond values must equal the option value; the same…

OptionsDerivatives pricingPortfolio construction
Quant Q&A

The document considers whether a stock’s expected future value under the risk-neutral measure equals its current price when the risk-free rate is zero. One answer connects the stock payoff to a forward contract: arbitrage pricing relates the forward price to…

EquitiesDerivatives pricingArbitrageRisk management
Quant Q&A

The document explains how to infer a later-dated option’s implied volatility from a calendar put spread when the earlier straddle’s fair value is known. It first compares the trade price with model values to estimate the spread’s edge, then uses put-call…

OptionsVolatilityDerivatives pricingMarket making
Quant Q&A

The document examines how the change in value of a Black–Scholes hedging portfolio is derived when it holds an option and a short position in the underlying stock. It distinguishes applying Itô’s lemma to the option value, viewed as a function of time and…

OptionsDerivatives pricingRisk management
Quant Q&A

The document discusses why Itô calculus is common in finance and how it relates to the Stratonovich convention. It presents the view that, with appropriate treatment, both conventions can lead to the same Black–Scholes equation. The choice of stochastic…

OptionsDerivatives pricingStatistics
Quant Q&A

The document clarifies the meaning of the Poisson rate in Merton’s jump-diffusion model. The rate λ is an intensity measured as expected jumps per unit of time. Over a short interval of length dt, the expected number of jumps is λdt, which corresponds to the…

OptionsDerivatives pricingVolatilityStatistics