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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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 question asks how to infer the price and yield of a three-year zero-coupon bond from prices for one-year and two-year zero-coupon bonds and a three-year annual-coupon bond. It proposes valuing the coupon payments using the shorter bonds’ prices,…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document shows how to simulate short-rate paths from a two-factor G2 interest-rate process in QuantLib’s Python interface. Its central method is to advance the process one time step at a time with the process’s evolution method, supplying two Gaussian…

Fixed incomeDerivatives pricingVolatilityBacktesting
Quant Q&A

The document explains why the Hull–White interest-rate model allows its mean level to vary over time, unlike the constant long-run mean in the Vasicek model. Mean reversion describes rates being bounded by economic and political forces; it does not imply…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how three factors in a multifactor interest-rate model can correspond to common patterns in yield curve movements. It describes parallel shifts as changes in the average rate, slope changes as tilts, and curvature changes as hump shaped…

Fixed incomeStatistics
Quant Q&A

A swap rate can be expressed as a weighted average of forward Libor rates, with discount factors determining the relative weights. The discussion corrects the accrual-period indexing in the question: each six-month forward rate applies to the period ending…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion considers a portfolio allocated across stocks, high-yield bonds, and commodities, and asks how to estimate its volatility. One response notes that fixed-income returns need to account for bond characteristics such as duration and spread…

Multi-assetVolatilityPortfolio constructionFixed income
Quant Q&A

This note compares zero-coupon inflation swap rates with Treasury breakeven inflation rates. A breakeven rate is calculated as the nominal Treasury yield minus the real yield on a Treasury Inflation-Protected Security of the same maturity. Since TIPS are…

Fixed income
Quant Q&A

The document examines whether a higher option-adjusted spread for a to-be-announced mortgage-backed security than for a specified pool means the specified pool is rich. It corrects an initial mistaken claim: because a specified pool is deliverable into a…

Fixed incomeStatisticsMarket microstructure
Quant Q&A

The document describes an attempt to value Brazilian real CDI swaps with QuantLib. The questioner tried building an overnight-indexed swap curve from futures and using observed discount factors, then discounting a zero-coupon swap, but reports that the…

Fixed incomeDerivatives pricing
Quant Q&A

The document outlines how to infer a short-term rate curve, and potentially policy-rate expectations, from forward rate agreement quotes when meeting dates do not line up with FRA accrual periods. It recommends constructing a discount curve with nodes at…

Fixed incomeFuturesStatistics
Quant Q&A

The document explains why a Treasury note’s yield cannot be recovered from its quoted clean price using a simple annual compounding formula. The note pays coupons semiannually and returns principal at maturity, so its price reflects the discounted value of…

Fixed incomeUS marketsDerivatives pricing
Quant Q&A

The document explains why the short rate in the Vasicek model has a Gaussian distribution at a fixed time. After solving the stochastic differential equation, the rate is written as a deterministic mean component plus a stochastic integral with a…

Fixed incomeStatistics
Quant Q&A

The document discusses whether removing a precious-metal backing causes extreme inflation, and how private bank lending contributes to money creation. It distinguishes the monetary base, largely controlled by the central bank, from broader measures such as…

Fixed incomeStatisticsUS markets
Quant Q&A

The document examines how recovery assumptions affect simulated corporate bond prices, especially when estimated recovery exceeds the bond’s market price. It identifies a potential inconsistency: under an immediate fixed recovery assumption, default can…

Fixed incomeRisk managementStatisticsDerivatives pricing
Quant Q&A

The discussion describes the ISDA CDS standard model as a reduced-form framework with a constant default hazard rate, equivalent to a homogeneous Poisson default process. Its main purpose, according to the answer, is not to model realistic stochastic credit…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document compares Monte Carlo valuations of swaps and caplets defined on forward and backward interest rates. It sets out discrete-period definitions for the rates and asks why the swap present values are nearly equal while the caplet values are not. The…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document examines whether a bond’s yield to maturity predicts an investor’s realized return when coupon payments are reinvested at a different rate. It distinguishes the bond’s YTM, found by discounting its contractual cash flows at a rate consistent…

Fixed incomeStatistics
Quant Q&A

The document investigates why manually constructed SOFR overnight indexed swaps do not always reprice to zero against a curve built from SOFR market quotes. The reported examples show small nonzero NPVs for some maturities when the schedule is created…

Fixed incomeDerivatives pricingUS markets
Quant Q&A

The document asks for a broad reference mapping traded derivatives to commonly used valuation methods. It illustrates the idea with examples: Black-Scholes for European equity options, a binomial model for American options, Monte Carlo simulation for Asian…

OptionsDerivatives pricingFixed income
Quant Q&A

The document asks whether the Merton investor’s optimal risky asset allocation changes over time when the investor must consume wealth at a prescribed rate. It gives a Hamilton-Jacobi-Bellman equation for value as a function of time and wealth, with a…

Portfolio constructionEquitiesFixed incomeStatistics
Quant Q&A

The document asks how to value and hedge mortgage early payment options in emerging markets where swaptions, caps, and floors are unavailable. It considers starting with a one factor short rate model, such as a Black-Derman-Toy style tree, to value cash…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

The document raises a fixed-income curve construction question: whether prices of U.S. Treasury STRIPS can be used directly to bootstrap a par yield curve, as an alternative to fitting a curve from coupon-bearing Treasury securities. The motivation is…

Fixed incomeStatistics
Quant Q&A

The document examines why standard future value functions can return implausible results for very large period counts. It focuses on a special cash-flow case: periodic payments equal the interest on the initial amount, so the mathematically exact future…

StatisticsFixed income
Quant Q&A

The document derives a European call price on a zero-coupon bond in the Ho-Lee short-rate model. It starts from the model’s bond price and bond volatility, then writes the option value as a risk-neutral expectation of the discounted payoff. Changing to the…

Fixed incomeOptionsDerivatives pricing