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 discusses how to interpret a LIBOR Market Model matrix when constructing discount bond values. It emphasizes that matrix layout must be understood first: under a common convention, columns represent observation times and diagonal entries…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document examines an option whose payoff and premium are expressed in the underlying asset, using an ETH example to compare conversion from a conventional Black–Scholes value with a direct simulation. The key issue is the payoff definition: converting…

OptionsCryptoDerivatives pricingStatistics
Quant Q&A

The discussion asks whether a spread move reported for a bond segment can estimate the price change of a bond trading far below par when no bond-specific price history is available. It distinguishes ordinary discounted bonds from distressed debt and explains…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The document describes why a digital option’s stock hedge changes sharply as the underlying approaches and passes its strike. A digital option pays a fixed amount when it finishes in the money and nothing otherwise, so its payoff does not rise gradually with…

OptionsDerivatives pricingRisk management
Quant Q&A

Energy retailers that promise customers fixed prices while buying power or gas at floating wholesale prices face a mismatch between sales revenue and procurement cost. The risk can grow when demand and prices move together, as during cold weather. The…

CommoditiesRisk managementVolatilityDerivatives pricing
Quant Q&A

A question reports unstable or negative option values when the step count in an FFT-based binomial calculation becomes large. The accepted response suspects numerical precision loss in the terminal stock-price calculation, which raises up and down factors to…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains that derivative counterparty-risk models must specify how a defaulted transaction is valued for settlement. It distinguishes risk-free close-out, which values the contract without counterparty-related risk factors, from substitution or…

Derivatives pricingRisk managementFixed income
Quant Q&A

The document asks how to apply antithetic sampling when simulating the Heston stochastic volatility model with a discretized process. The central issue is whether to reverse the random draws only for the stock price or for both the price and variance…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document presents a QuantLib Python calibration attempt for a time dependent Heston model that fails with a Boost assertion. The code builds a volatility surface, creates a piecewise time dependent model, attaches an analytic pricing engine, and…

OptionsVolatilityDerivatives pricingMachine learning
Quant Q&A

The document discusses why an online broker may cap the number of legs in a single options spread order. Its main explanation is that brokers submit orders using structures recognized by options exchanges, and the permitted order formats and applicable rules…

OptionsExecutionMarket microstructureDerivatives pricing
Quant Q&A

The document considers whether an equity option’s implied volatility should be adjusted when the underlying price moves. It describes alternative ways to hold the volatility surface fixed: sticky strike keeps implied volatility tied to each strike, while…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains how the Cox–Ross–Rubinstein binomial option-pricing recursion approaches the Black–Scholes model as the time step shrinks. It corrects the risk-neutral pricing equation, then uses first-order expansions of the up and down moves and the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document examines implausible risk-free rates inferred by regressing option collars on SPX options close to expiration. It explains that put-call parity calculations can become distorted when options and their underlying continue trading on different…

OptionsDerivatives pricingMarket microstructureExecution
Quant Q&A

The document addresses a numerical implementation issue in the CGMY model’s characteristic function. The questioner encounters an error because the expression includes gamma functions evaluated at negative values and asks whether the formula is incorrect.…

OptionsDerivatives pricingStatistics
Quant Q&A

This beginner discussion distinguishes an option’s payoff at expiration from its value before expiration. Changing volatility does not alter the European option’s terminal payoff diagram; it changes the premium beforehand by changing the range of possible…

OptionsVolatilityDerivatives pricing
Quant Q&A

The response explains how to handle a gap call, whose strike determining exercise differs from the strike used to calculate the payoff. It rewrites the payoff as the underlying asset paid only when the exercise threshold is crossed, less a fixed amount paid…

OptionsDerivatives pricing
Quant Q&A

The document explains the basic valuation framework for residential and commercial mortgage-backed securities: estimate the security’s cash flows and discount them to calculate present value. The central difficulty is forecasting those cash flows, especially…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

The document addresses Monte Carlo valuation of a call option on a zero-coupon bond under the Vasicek short-rate model. It first challenges the question’s stated closed-form benchmark, deriving a bond-option price using the Vasicek bond pricing function and…

Fixed incomeOptionsDerivatives pricingBacktesting
Quant Q&A

The document addresses the misconception that volatility is bounded by the largest possible percentage decline in a stock price. In the Black–Scholes framework, volatility scales the standard deviation of the asset’s log return over the option’s life. That…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why expected value differs for holding an underlying asset and holding a call option. An underlying position is exposed to the asset’s full range of possible prices, so its expected price weights every outcome by its probability. A…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks why a Black–Scholes option price differs from an expected option payoff calculated from a spreadsheet model. One response identifies a key model mismatch: Black–Scholes assumes lognormal stock prices, while the spreadsheet uses normally…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document considers the one-year forward value of an equity that pays a known dividend after six months, with different interest rates for the six-month and one-year terms. Under deterministic rates and risk-neutral valuation, the answer carries the…

EquitiesDerivatives pricingFixed income
Quant Q&A

The answer recommends calibrating interconnected interest-rate curves with a global solver instead of bootstrapping each curve in sequence. The workflow defines curves and calibration instruments, assigns each instrument its forecasting and discounting…

Fixed incomeDerivatives pricingStatisticsMulti-asset
Quant Q&A

The discussion points to two practical approaches for hedging volatility swaps. For forward-starting swaps, it cites a method that uses straddles at a particular strike, with hedge notional linked to the volatility skew at that strike. For…

OptionsVolatilityDerivatives pricingRisk management