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 an asset forward price has the same percentage volatility as its spot price when the interest rate is constant and the cost of carry equals that rate. In this setting, the forward price is the spot price multiplied by a…

FuturesVolatilityDerivatives pricing
Quant Q&A

The document outlines a model for pricing a call on realized volatility by treating realized volatility as the maturity value of a volatility swap. It assumes the swap price follows a lognormal process driven by the same Brownian motion as the underlying…

OptionsVolatilityDerivatives pricingEquities
Quant Q&A

The document addresses why the Black–Scholes derivation relates an option’s price dynamics to those of a self-financing stock-and-bond portfolio. Its central explanation is that replication is constructed backward from the option payoff at expiration: a…

OptionsDerivatives pricingArbitrageRisk management
Quant Q&A

The document examines why a set of out-of-the-money FXI puts appears to become much more expensive with added time to expiration than a simple square-root-of-time rule would predict. The quoted example lists ask prices and implied volatilities across several…

OptionsDerivatives pricingVolatility
Quant Q&A

The document discusses the common binomial-tree choice of an up factor based on volatility and the square root of the time step, with the down factor set as its reciprocal. This reciprocal relationship makes the recombining tree compact: after each step,…

OptionsDerivatives pricingVolatility
Quant Q&A

The document considers how to price European calls and puts on an underlying that can jump, fluctuates with short-term supply and demand, and tends to lose value over longer horizons. It also raises practical questions about physical delivery and indivisible…

OptionsDerivatives pricingCommodities
Quant Q&A

The document asks how to interpret the time-dependent drift parameter in the Ho-Lee short-rate model while calibrating a discrete interest rate tree. In the described procedure, each period's parameter is chosen so that model prices under the risk-neutral…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

This exchange clarifies the difference between general drift and volatility processes and coefficients written as functions of the current state and time. State-dependent coefficients are a special case of stochastic processes, but specifying the…

StatisticsDerivatives pricing
Quant Q&A

This document explains how to calculate the probability that a geometric Brownian motion (GBM) price will fall inside a specified interval at the next time step, given its current value. This conditional probability is used in the stochastic mesh method to…

StatisticsDerivatives pricingBacktesting
Quant Q&A

The document asks whether sharp foreign exchange price moves around short binary option expiries reflect trades or misleading posted bids, and where traders can inspect FX order depth. The answer attributes many such moves to market makers hedging binary…

ForexOptionsDerivatives pricingMarket microstructure
Quant Q&A

The document explains why implied volatility calculated from in-the-money (ITM) and out-of-the-money (OTM) equity calls may appear higher for ITM strikes. For calls, ITM contracts have strikes below spot, while OTM contracts have strikes above spot; the…

OptionsEquitiesVolatilityDerivatives pricing
Quant Q&A

The document presents a question about extracting a risk-neutral density from SPY weekly options using the R package RND. The author fits a three-lognormal mixture to American option prices and plots the resulting density over strikes around spot, but finds…

OptionsEquitiesDerivatives pricingStatistics
Quant Q&A

The document asks for the maximum price of a European call butterfly with strikes at 103, 106, and 108, assuming no fees and a zero interest rate, without specifying a distribution for the underlying. The accepted reply gives a maximum theoretical value of…

OptionsDerivatives pricingRisk management
Quant Q&A

The document summarizes ways to relate bilateral valuation adjustments to unilateral CVA and DVA. One explanation frames bilateral counterparty risk through scenarios in which both parties survive, the counterparty defaults first, or the institution defaults…

Derivatives pricingRisk managementFixed income
Quant Q&A

The document describes the collateral choice option as an expectation involving the time integral of the maximum among several spread processes, typically modeled as Gaussian. It notes that this expectation is difficult to calculate and that a cited…

OptionsFixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to compare a numerical European call price from an explicit finite-difference scheme with the analytical Black–Scholes value at an intermediate time step. The model uses spatial grid points corresponding to underlying asset prices, and…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document considers a four-option position consisting of a long put below the middle strike, two short options at the middle strike, and a long call above it. The questioner calculates one region of the payoff and finds a negative amount, which appears…

OptionsDerivatives pricing
Quant Q&A

The document poses a calibration problem for a one-factor Hull–White short-rate model with constant volatility and mean-reversion speed, using historical zero rates. It proposes inferring mean reversion from the relationship between the historical…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document explains the probability meanings of the two normal cumulative terms in the Black–Scholes call price. The probability associated with the strike indicator in the discounted payoff is computed under the risk-neutral measure, while the…

OptionsDerivatives pricingStatistics
Quant Q&A

This discussion considers whether commercial derivatives-pricing software will reduce the need for pricing quants. The responses describe a changing role: less development of entirely new pricing formulas in some settings, and more adaptation of existing…

Derivatives pricingRisk managementVolatilityMachine learning
Quant Q&A

This explanation examines the shift parameter in a lognormal model for forward interest rates. It writes a caplet payoff in terms of the shifted rate and strike, assumes the shifted forward follows a lognormal process under the appropriate forward measure,…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

This document investigates inconsistent results when fitting a lognormal SABR volatility smile with pySABR. In the failing example, the fitted parameters produce volatility estimates that diverge sharply from the observed quotes when reused in another…

VolatilityDerivatives pricingFixed incomeStatistics
Quant Q&A

The note describes two ways to estimate implied volatility skew. One approach prices calls and puts across strikes, converts their prices to Black–Scholes implied volatilities, and estimates the smile’s slope. Another uses a call and a digital call at a…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The note explains that the Black model does not depend on the standard spot-to-forward relationship in which the forward price equals spot grown at the risk-free rate. Currency futures are given as an example where borrowing and lending in the two currencies…

Derivatives pricingFuturesOptionsFixed income