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

10,263 documents

Quant Q&A

The document addresses which bond price belongs in a duration calculation. It defines modified duration using the derivative of price with respect to yield divided by price, and identifies that price as the dirty price, which includes accrued coupon…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The document explains a sign confusion in a put–call parity arbitrage argument. A trader considers a position involving a call, a put, and the underlying stock, and asks whether the terminal expression represents a debt or a gain when the call is exercised.…

OptionsArbitrageDerivatives pricing
Quant Q&A

The document studies a European payoff that is zero below a lower threshold, declines linearly between two strikes, and pays a fixed amount above the upper strike. It first expresses the price as discounted risk-neutral expectations over the relevant…

OptionsDerivatives pricingStatistics
Quant Q&A

The document raises a question about two option sensitivities: dual delta, described as the derivative of option price with respect to strike, and epsilon, described as sensitivity to dividend yield. It asks whether these measures have practical uses and…

OptionsDerivatives pricing
Quant Q&A

The document asks which implied volatility surface should serve as the target when calibrating the leverage function in a stochastic-local volatility model. It describes a two-stage setup: first calibrate pure Heston parameters, then fit the leverage…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document distinguishes carry from roll-down for forward-starting interest rate swaps. Before the swap begins, its floating leg has no certain payments over the investor’s holding horizon, so the response describes the position as having no earned carry…

Fixed incomeCarryDerivatives pricing
Quant Q&A

The document explains how to estimate a Treasury futures contract’s modified duration when its cheapest-to-deliver (CTD) bond is known. Under the simplifying assumption that futures track the CTD’s forward price perfectly, the conversion factor cancels from…

FuturesFixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how to value a European option whose payoff is determined at expiry but paid later. It distinguishes the option expiry date from the cash settlement date and expresses the value at expiry as the payoff multiplied by the price of a…

OptionsDerivatives pricingFixed income
Quant Q&A

The document describes a request to value a Chilean peso fixed floating swap in QuantLib when the fixed leg pays as a single coupon through the first eighteen months and semiannually afterward. The question includes code for constructing a discount curve…

Fixed incomeDerivatives pricing
Quant Q&A

The document presents Python code intended to value a European call or put using a time and asset-price grid. It sets the payoff at expiration, then attempts to step backward through the grid while estimating option sensitivities and applying boundary…

OptionsDerivatives pricingStatistics
Quant Q&A

The question asks how to obtain a zero-coupon curve for Italian government bonds in order to calculate Z-spreads, including how to treat a bond’s next coupon date. The answer clarifies that the “z” in Z-spread refers to zero volatility, rather than…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion describes what makes options strategy backtesting more demanding than testing a simple underlying asset. A credible simulation needs historical option chains, including contract terms and market prices, alongside underlying prices used to…

OptionsBacktestingDerivatives pricingVolatility
Quant Q&A

The document compares Monte Carlo prices for a European call under constant volatility and under volatility sampled once per path from a lognormal distribution. It raises the question of why the random-volatility estimate is slightly below the…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document discusses valuing the floating leg of a daily compounded overnight-indexed swap when payment occurs after the accrual period, under the one-factor Hull–White short-rate model. One derivation rewrites each daily accrual factor using a ratio of…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The document explains why an equity index future may appear to fall far less than its underlying index during a sharp market move. For a global index such as MSCI World, constituent markets trade in different time zones, so many index prices can remain fixed…

FuturesEquitiesMarket microstructureDerivatives pricing
Quant Q&A

The document raises a model-validation question: whether stochastic-volatility option models produce more accurate market-price estimates than the standard Black–Scholes–Merton model. It highlights two practical costs of more complex models: greater…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The question asks whether one can derive the Black–Scholes partial differential equation without invoking Girsanov’s theorem, and whether a stock with nonzero drift is a martingale. The answer distinguishes the original replication argument from later…

OptionsDerivatives pricingRisk management
Quant Q&A

The document considers how a bank might price a ten-year EUR/DEV cross-currency basis swap when there is no established swap market in DEV and the proposed hedge is to roll daily borrowing and deposits at the two risk-free rates. Its central point is that…

Fixed incomeForexDerivatives pricingRisk management
Quant Q&A

The document challenges the claim that an option’s Black–Scholes price is the discounted expected payoff under real-world probabilities. The response recommends comparing this claim with risk-neutral valuation, which uses a pricing measure consistent with…

OptionsDerivatives pricingRisk management
Quant Q&A

The document asks why a stock-price model with drift μ can be expressed under a different probability measure with drift equal to the risk-free rate r, while retaining the same volatility. This is the risk-neutral change of measure used in derivative…

Derivatives pricingOptionsStatistics
Quant Q&A

The document asks when a Black–Scholes market with two risky assets driven by the same Brownian motion and one risk-free asset is arbitrage-free and complete. The question highlights a modeling issue: the setup has one source of randomness, which does not…

StatisticsDerivatives pricingArbitrage
Quant Q&A

The document raises a practical question about estimating spread option Greeks by applying finite differences to Kirk’s spread option approximation. The author reports that, for options with deltas between 0.45 and 0.6, the resulting gamma estimates fall…

OptionsDerivatives pricingRisk managementStatistics
Quant Q&A

The document considers the lower price bound for a claim in an incomplete market, where multiple risk-neutral measures may be consistent with observed prices. It asks whether sub-replication is the counterpart to super-replication: while the…

OptionsDerivatives pricingRisk management
Quant Q&A

The document describes a general way to value a call option when the underlying’s terminal price distribution is known. The option value is the discounted expected payoff under a risk-neutral probability distribution: integrate the payoff above the strike…

OptionsDerivatives pricingStatistics