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 document explains why two firms can assign different values to the same interest-rate derivative without creating a risk-free arbitrage. Valuations vary with model choice, methodology, market inputs, and assumptions; differences can be small for simple…

Derivatives pricingArbitrageRisk managementMarket microstructure
Quant Q&A

The document examines maximum-likelihood calibration of a Cox-Ingersoll-Ross process when the Feller condition is violated, allowing the process to reach zero. It describes fitting the model parameters from historical observations using the transition…

StatisticsDerivatives pricingRisk management
Quant Q&A

The document considers a European call in a three-period recombining binomial tree and asks how to price it efficiently by hand. It presents the risk-neutral valuation principle: discount the expected terminal payoff, using the binomial probability of each…

OptionsDerivatives pricingBacktesting
Quant Q&A

The note explains why FX option market makers may describe positions in terms of long or short strikes rather than whether the option is a put or a call. With a delta hedge included, put-call parity makes a put position equivalent to a call position, so the…

ForexOptionsDerivatives pricing
Quant Q&A

The discussion presents four idealized ways an implied-volatility surface may respond when spot moves: sticky delta, sticky strike, sticky local volatility, and jumpy volatility. Each implies a different relationship between spot and implied volatility.…

OptionsVolatilityDerivatives pricing
Quant Q&A

The note asks how the Gibson–Schwartz two-factor commodity model yields a claim’s total expected return as a function of its exposures to spot price and convenience yield risk. The model describes oil spot prices and convenience yield with correlated…

CommoditiesDerivatives pricingStatistics
Quant Q&A

The note studies a modified interest rate swap whose floating payment at a period end uses a rate set on that same date, rather than the usual rate fixed at the preceding date. It asks how to value the floating leg and determine the corresponding fair fixed…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document considers how to hedge two opposite currency flows occurring on different future dates. Hedging each flow with a separate forward can secure both exchange rates, but leaves the hedger paying for two contracts. Waiting until the first flow occurs…

ForexDerivatives pricingCarryRisk management
Quant Q&A

The document derives a proposed upper bound for expected log growth in a one-period market with a riskless asset, a risky asset, and enough derivatives to replicate arbitrary terminal payoffs. It compares the real-world distribution of the asset price with a…

Portfolio constructionDerivatives pricingStatisticsRisk management
Quant Q&A

This brief exchange asks which volatility to use when pricing and hedging a European option, given conflicting daily and annual volatility figures. It mentions that Black–Scholes conventionally uses annualized volatility and asks whether a different measure…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document describes a numerical experiment comparing an explicit finite-difference solution for a European call option with the analytical Black–Scholes price. The author fixes the time step and plots pricing error against the price-grid spacing,…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks how an option’s time decay relates to gamma, focusing on the gain from delta-hedged exposure to small underlying price moves. It describes the intuition that, when realized volatility matches the volatility implied in the option price, the…

OptionsDerivatives pricingVolatility
Quant Q&A

The answer clarifies why option pricing models are often calibrated against a market implied-volatility surface that has a smile or skew, rather than against a flat surface. A correctly specified model's own volatility structure may be flat where its…

OptionsDerivatives pricingVolatility
Quant Q&A

The answer addresses whether gamma is positive for American calls and puts under Black–Scholes, including settings with continuous or discrete dividends. Its reasoning is that American option values retain homogeneity of degree one in spot and strike because…

OptionsDerivatives pricing
Quant Q&A

The discussion explains how to value a five-year arrangement in which an investor pays par, receives LIBOR plus a spread annually, and gets principal back at maturity. It treats the cash flows as a floating-rate note (FRN): a LIBOR-only FRN valued at par…

Fixed incomeDerivatives pricingCarry
Quant Q&A

The response explains how basis swaps help build a consistent family of interest-rate curves when liquid instruments provide direct market quotes for only some tenors or reference rates. It describes a typical set that can include overnight-indexed…

Fixed incomeDerivatives pricing
Quant Q&A

The document distinguishes accrued interest from the amount ultimately paid as a coupon. For a typical fixed-coupon bond, the day-count convention is often used to calculate accrued interest between coupon dates, while the scheduled payment remains the…

Fixed incomeDerivatives pricing
Quant Q&A

The document derives a simplified expression for the risk-neutral up-move probability in a standard forward binomial tree. The tree uses up and down factors built from the risk-free rate, dividend yield, volatility, and period length. Starting from the usual…

OptionsDerivatives pricingStatistics
Quant Q&A

The document discusses how often financial institutions recalibrate the SABR model when pricing FX options. Its practical guidance is that calibration is typically performed daily, with additional intraday recalibration sometimes needed on especially…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The document considers a derivative payoff that equals the underlying’s initial price above a threshold and the underlying’s maturity value at or below it. Because the payoff jumps at the threshold, the author asks how to approximate it using a constant, a…

OptionsDerivatives pricingVolatility
Quant Q&A

The document describes an attempted QuantLib approach to pricing callable, fixed-rate Danish mortgage bonds with and without amortization. It extends a callable fixed-rate bond class to build coupon cash flows from a schedule of changing notionals,…

Fixed incomeDerivatives pricingVolatilityRisk management
Quant Q&A

The document considers whether a volatility exposure can be approximated by buying at-the-money S&P 500 straddles and delta-hedging them, potentially as a volatility position or a spread against VIX futures. It also describes the William’s VIX Fix, a…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document addresses how to set discount factors between a valuation date and the effective date of the earliest available swap. It presents two approaches: extrapolate the curve using the same method used between known pillars, such as linear zero-rate…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document outlines a method for formulating perpetual American option valuation as a free-boundary problem. In the continuation region, where holding the option is more valuable than exercising, the value satisfies the perpetual Black–Scholes differential…

OptionsDerivatives pricingVolatility