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 explains why hedging a mortgage-backed security with a swap is complicated when the underlying mortgages can be prepaid. Because prepayments depend in part on future interest rates, the security’s outstanding principal and the matching swap…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document frames option leverage as delta divided by option price and asks which European strike maximizes that ratio. It supplies Black–Scholes call and put prices and deltas, then presents a numerical exploration across strikes for selected fixed…

OptionsDerivatives pricingVolatility
Quant Q&A

The document compares the classical LIBOR Market Model (LMM) with a stochastic-volatility extension called SABR-LMM. LMM models a family of forward rates jointly, allowing their correlation structure to inform the pricing of products that depend nonlinearly…

Fixed incomeDerivatives pricingVolatilityStatistics
Quant Q&A

The document explains how to assess completeness in a one-step trinomial stock model with a risk-free bond. An equivalent martingale measure assigns positive probabilities to all terminal states and makes the discounted stock price a martingale. The stock…

StatisticsOptionsDerivatives pricing
Quant Q&A

The document explains why the mean of a Black–Scholes log return is (μ − ½σ²)Δt rather than μΔt. Starting from geometric Brownian motion for the asset price, Itô’s lemma yields a log price whose drift includes the negative half variance term. Brownian…

StatisticsDerivatives pricingEquities
Quant Q&A

The document explains the formula (1 − exp(−sT))/s by modeling a bond that pays continuously at a unit rate until maturity or default. With zero interest rates, no recovery, and a flat default intensity equal to the spread, the probability of surviving to…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document introduces basis-function selection in Longstaff–Schwartz least-squares Monte Carlo pricing for options on multiple underlyings. In this approach, continuation values are approximated with basis functions during backward induction, which…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document asks how to express the value of a European call at an intermediate node of a Cox–Ross–Rubinstein binomial tree. It defines the node by the time step and the number of upward moves, and describes a backward-induction recurrence that discounts…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains why differentiating the closed-form geometric Brownian motion solution as if it were an ordinary deterministic exponential gives the wrong drift. Because the exponent includes Brownian motion, the appropriate tool is Itô’s lemma, which…

StatisticsDerivatives pricing
Quant Q&A

The document raises a theoretical question about a consistency property in the Vanna–Volga method. Starting from a price curve constructed by interpolation and extrapolation across strikes, the cited paper claims that selecting three different strikes on…

OptionsDerivatives pricingVolatility
Quant Q&A

The document shows how to generate joint spot and variance paths from QuantLib's Heston process in Python. It constructs the process from initial variance, mean-reversion, long-run variance, volatility-of-variance, correlation, spot, and rate inputs, then…

OptionsVolatilityDerivatives pricingBacktesting
Quant Q&A

The document asks whether information criteria or divergence measures can guide SABR calibration. The response describes a common rates-market workflow: preset beta, solve alpha to match the at-the-money volatility, then optimize rho and nu against smile…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document examines why a bisection-style search for Black–Scholes implied volatility can fail for a put even when it works for a call. The key diagnosis is that the put price in the example is above the greatest value a European put can reach under the…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The response outlines a pricing approach for an FX-linked payoff when payment is made in a third, quanto currency. It defines the exchange rate with the foreign currency as the numerator and gives its drift under the quanto currency measure. The drift…

ForexOptionsDerivatives pricing
Quant Q&A

This document asks why a leveraged WTI exchange-traded note and its inverse counterpart appear to trace different slopes during large price moves. One note is described as providing leveraged long exposure and the other as leveraged inverse exposure. The…

CommoditiesVolatilityDerivatives pricing
Quant Q&A

The document answers whether the standard European put-call parity relation also applies when the underlying is modeled with Heston stochastic volatility. Its central point is that parity follows from the option contracts and the ability to construct…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document addresses how to summarize implied volatility across an option chain rather than relying only on the at-the-money option. It describes a model-free variance-swap approximation built from option prices over a range of strikes: calls above the…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document asks for the stochastic differential of an exponential built from an integral involving a diffusion process. The questioner applies Itô’s formula to the exponential, but assumes the integral has differential equal only to the integrand at the…

StatisticsDerivatives pricing
Quant Q&A

The example asks how a company can exploit a forward contract offered at an unfavorable price. It assumes a non-dividend-paying stock, a continuously compounded interest rate, and a transfer of an existing long forward position for a fee before maturity. The…

ArbitrageFuturesEquitiesDerivatives pricing
Quant Q&A

The document outlines several ways to think about pricing options on a volatility index such as VIX. One approach starts from the option portfolio used to replicate variance and adds a convexity adjustment that accounts for the square root linking variance…

OptionsVolatilityDerivatives pricingMarket microstructure
Quant Q&A

The document asks what changed in Monte Carlo methods for pricing American options between 2005 and 2016, following earlier machine-learning work on optimal stopping. One answer argues that the period brought few groundbreaking Monte Carlo advances and that…

OptionsDerivatives pricingMachine learningStatistics
Quant Q&A

The document frames three ways to convert a fixed-rate bond position into floating-rate cash flows while seeking to isolate the issuer spread: a par-par asset swap, a same-notional payer swap, and a payer swap sized to match the bond’s DV01. It explains the…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document derives a simple FX forward relationship from covered interest parity. For two currencies, it compares converting at spot and investing at the domestic rate with investing at the foreign rate and locking in the maturity conversion rate through a…

ForexDerivatives pricingArbitrage
Quant Q&A

The document considers a finite-difference approximation to the Black–Scholes equation and asks how coefficient sign conditions can establish a maximum-norm bound. The proposed argument rewrites each value at one time level using the neighboring values and…

OptionsDerivatives pricingStatistics