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 distinguishes discounted price processes from conditional expectations under risk-neutral and forward measures. Under the risk-neutral measure, the value of a claim discounted by the money-market account is a martingale. Under the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The question asks how to price a zero-coupon swap in QuantLib after receiving an attribute error for the requested instrument. The accepted reply shows a Python example using QuantLib 1.30: it sets an evaluation date, builds a discount curve from discount…

Fixed incomeDerivatives pricingCarry
Quant Q&A

The document considers yield-to-first-call analysis for a portfolio of callable extended warehouse lines. The central question is whether lines that are currently callable should all be treated as repaying immediately in a portfolio scenario. The response…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document outlines a least-squares Monte Carlo setup for valuing a Bermudan swaption. At the final exercise date, the payoff is the positive part of the underlying swap value. At earlier exercise dates, the method regresses discounted future swaption…

Fixed incomeOptionsDerivatives pricingMachine learning
Quant Q&A

The document addresses whether the maturity date of a Treasury bill or bond can be decoded from its CUSIP. Although parts of a CUSIP follow an assignment structure, the issue identifier is not a dependable maturity code: it is assigned to securities rather…

Fixed incomeUS markets
Quant Q&A

The document explains the key-rate duration behavior of a Eurodollar futures contract by relating its value to a forward three-month LIBOR rate. The question concerns a down shock to the three-month spot key rate that appears to increase the corresponding…

FuturesFixed incomeDerivatives pricingRisk management
Quant Q&A

The document describes how to bootstrap a Chinese renminbi interest-rate curve from a short deposit quote and Shibor-linked swap rates in QuantLib. It uses deposit and swap rate helpers to build a piecewise cubic zero curve, then obtains zero rates at the…

Fixed incomeChina marketsDerivatives pricing
Quant Q&A

The document explains how to derive a two-year swap yield from a sequence of Eurodollar futures rates. It says Bloomberg’s displayed Rate column is already convexity adjusted, so the calculation can use those rates as period growth inputs rather than…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document asks how to derive a pricing equation for a zero-coupon bond when the short rate follows a Vasicek process. It defines the bond value as the conditional expected discount factor over the remaining term and gives the short-rate stochastic…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains that interest rate derivatives can be valued or hedged by matching their cash flows or market sensitivities with traded instruments. Possible building blocks include money market accounts, swaps, forward rate agreements, and zero-coupon…

Fixed incomeDerivatives pricingOptionsRisk management
Quant Q&A

The document asks how to estimate the size of a particular bank’s trading book using only its annual financial report. Its answer points to regulatory reporting requirements that distinguish trading book positions from banking book positions, suggesting that…

Fixed incomeRisk management
Quant Q&A

The document outlines ways to obtain historical daily prices for U.S. Treasury inflation-protected securities, including issues that have matured. It describes using TreasuryDirect to identify CUSIPs across current and matured securities, then retrieving…

Fixed incomeUS markets
Quant Q&A

The document asks how to construct a credit spread for a fixed-income bond by subtracting a risk-free benchmark yield. It describes two measures from policy papers: yield to maturity less a similar-duration overnight index swap rate, and effective yield less…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks what credit exposure is reflected in the fixed leg of a five-year swap exchanging fixed payments for three-month LIBOR, while setting aside counterparty risk. The response explains that LIBOR represents unsecured interbank borrowing offers,…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how to interpret Treasury yield curve tenors when assigning calendar dates before fitting a curve with cubic splines. Its answer recommends advancing by calendar months for month-based terms and by calendar years for year-based terms,…

Fixed incomeUS marketsStatistics
Quant Q&A

The document examines whether CMS options should be replicated with cash-settled or physically settled swaptions. The key distinction is the annuity used in settlement. Physical settlement uses a delivery annuity based on discount factors, while cash…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document discusses apparent jumps in US Treasury price and yield series around new auctions, especially when a rolling on-the-run bond is replaced. Whether to adjust the data depends on its intended use. For historical backtesting, preserving as-of data…

Fixed incomeUS marketsBacktestingStatistics
Quant Q&A

The document explains why interest rate traders often define rho differently from the Black–Scholes sensitivity to a single interest rate. For options on forwards priced with the Black formula, the rate does not appear in the option formula itself;…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains why a 25-year Treasury can show a higher yield than a 30-year Treasury even when the underlying par and forward curves are not inverted. Yield is the constant discount rate that reproduces a bond’s current price, not an expected return,…

Fixed incomeStatisticsRisk management
Quant Q&A

The document explains common date and fixing mistakes when building a CPI-linked bond in QuantLib with historical CPI observations and assumed zero future inflation. The answer clarifies that the inflation curve reference date should correspond to the…

Fixed incomeDerivatives pricingExecution
Quant Q&A

The document compares two ways to simulate short rate paths under the Vasicek model. One uses the model’s exact conditional transition over each time step, while the other applies an Euler approximation to the mean-reverting stochastic differential equation.…

Fixed incomeStatisticsDerivatives pricingBacktesting
Quant Q&A

Bonds can share a price and yield while having different convexities because their maturities and cash flow timing differ. The examples contrast a bond close to maturity with a much longer bond and describe how a flat yield curve can also produce equal…

Fixed incomeVolatilityRisk management
Quant Q&A

The post concerns indexing a discrete approximation to zero-coupon bond prices when rates are sampled on a time grid. The reply emphasizes distinguishing the money-market accumulation factor from the discount factor: the latter is the reciprocal and uses a…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion explains why bonds of different maturities have perfectly correlated instantaneous returns in a one-factor short-rate model. In Vasicek, each zero-coupon bond price depends on time to maturity and the single stochastic short rate. Applying…

Fixed incomeStatisticsDerivatives pricing