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

5,701 documents

Quant Q&A

The document presents a QuantLib example that builds a US Treasury yield curve from four quoted yields using fixed-rate bond helpers, then compares the ten-year input quote with the curve’s ten-year zero rate. The displayed figures differ, prompting a…

Fixed incomeUS marketsDerivatives pricing
Quant Q&A

The document explains how investors' expectations of lower future interest rates can contribute to an inverted yield curve. If investors expect rates to fall, they may buy longer-term bonds, whose prices rise as yields decline. Since long-term bonds…

Fixed incomeStatistics
Quant Q&A

The document compares nominal spread, zero-volatility spread (Z-spread), and option-adjusted spread (OAS) for risky bonds relative to a risk-free curve. A nominal spread compares yields to maturity but does not reflect the shape of the spot curve. A Z-spread…

Fixed incomeDerivatives pricingOptionsRisk management
Quant Q&A

The document discusses pricing a European option when the short interest rate follows a stochastic process such as the Vasicek model. It points to affine pricing methods associated with Bakshi, Cao, and Chen: when the risk-neutral conditional characteristic…

OptionsDerivatives pricingFixed incomeVolatility
Quant Q&A

The document examines why a rate inferred by compounding short-term LIBOR fixings can differ from the rate suggested by a Eurodollar futures quote for a roughly comparable period. It explains that three- and six-month LIBOR reflect unsecured lending for…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document explains how exchange-rate changes affect the realized return of a euro-based investor trading US Treasury futures without delivery. Its answer treats futures P&L as the daily gains or losses credited to a USD account. When the trade is closed,…

FuturesFixed incomeForexRisk management
Quant Q&A

The document asks how to estimate a country’s default probability when its historical record contains no defaults. The proposed starting point is a logit regression using macroeconomic variables, but the absence of default observations leaves the model…

Fixed incomeStatisticsMachine learning
Quant Q&A

The document frames parameter calibration for the Cox–Ingersoll–Ross interest rate model as a maximum likelihood problem. Its parameters govern mean reversion, the long-run rate, and volatility; the proposed baseline optimization requires each parameter to…

Fixed incomeStatisticsRisk management
Quant Q&A

The document discusses whether a risk team can replace lognormal volatility inputs with normal ones in a RiskMetrics-style parametric VaR model when interest rates can become negative. One response recommends estimating volatility from historical changes in…

Fixed incomeRisk managementVolatilityBacktesting
Quant Q&A

The document examines why a numerically estimated delta for a zero-coupon bond call may differ from the analytical delta under a Vasicek-based option formula. It describes using central differences on option values as the underlying bond price changes, and…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

The document asks why an SDE’s drift changes when the pricing measure changes while its diffusion coefficient is written identically, in the context of changing numeraires in interest rate models. It proposes that quadratic variation is determined by the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why a zero-coupon bond price can be stochastic even when it is defined as a risk-neutral conditional expectation. The key distinction is that conditioning on information available at time t produces a value measurable with respect to…

Fixed incomeStatistics
Quant Q&A

The document discusses the shifted lognormal approach to applying Black ’76 swaption pricing when swap rates can be negative. The method shifts both the swap rate and strike by a constant so the model's effective lower bound moves below zero. The question…

OptionsFixed incomeDerivatives pricingVolatility
Quant Q&A

The document asks why a floating-rate note’s price might rise even as its discount margin widens, given the intuition that a higher required return should lower bond value. The response gives a brief possible explanation: if the note is trading below par, it…

Fixed incomeRisk management
Quant Q&A

The document describes how to infer zero-coupon discount factors from a sequence of par swap rates. It gives the relationship between a forward swap rate, the discount factors at its payment dates, and the accrual fractions. In a simplified example with…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document discusses valuing a binary contract that pays a fixed amount if a specified credit event occurs before expiry and nothing otherwise. Its quoted premium is described as an approximate market-implied chance of bankruptcy. One proposed approach…

OptionsFixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how a quoted CDS spread can imply a risk-neutral default probability when paired with assumptions about recovery and discounting. In a simplified one-year example, the protection buyer pays an upfront premium and receives the difference…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document works through an HJM consistency question for a forward rate modeled as an exponential function of time to maturity times a scalar diffusion, plus a deterministic term. Applying Itô’s formula gives the forward-rate diffusion and drift. The HJM…

Fixed incomeDerivatives pricingVolatilityStatistics
Quant Q&A

The document explains implied cross-currency basis as the adjustment that reconciles FX spot and forward prices with interest rates in two currencies. Substituting OIS rates into a covered-interest-parity relationship lets a trader infer an FX-OIS basis from…

ForexFixed incomeDerivatives pricingArbitrage
Quant Q&A

The document examines how an investor might assess real estate debt funds that report steady positive returns and high yields, including funds lending through mezzanine structures. It questions whether distributions described as returns adequately show…

Fixed incomeRisk management
Quant Q&A

The document discusses key rate duration (KRD), which measures a fixed-income instrument’s price sensitivity to a change at a particular point on the yield curve. It asks why an MBS might show a large short-tenor KRD and a mix of positive and negative KRD…

Fixed incomeRisk managementVolatility
Quant Q&A

The document asks whether an MBS can be valued by combining a noncallable bond with one or more swaptions, and whether swaption prices can help estimate the implied volatility of the mortgage security’s embedded options. It frames MBS as bonds whose cash…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why ownership records alone may not determine what happens to a client’s securities or cash if a custodian or prime broker fails. The outcome depends on account arrangements, legal contracts, and whether assets were kept separate,…

Risk managementFixed income
Quant Q&A

The document presents a Python function that generates paths for a Cox–Ingersoll–Ross (CIR) process. It updates the rate at each time step using the mean-reversion drift and a random shock scaled by the square root of the prior rate and the time increment.…

Fixed incomeStatisticsRisk management