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 question challenges the funding term in a Burgard–Kjaer hedging portfolio for a derivative with bilateral counterparty risk. It asks why the cash account’s growth is based on the residual after accounting for the trader’s own bond, rather than also…

Derivatives pricingFixed incomeRisk managementArbitrage
Quant Q&A

This question asks how to bootstrap a three-year zero rate from annual coupon bonds when one-year and two-year zero rates are already known. The central point is that each earlier coupon payment must be discounted using the zero rate for its own maturity:…

Fixed incomeDerivatives pricingArbitrage
Quant Q&A

The document compares a simple-interest adjustment based on the difference between two rates with a compounded ratio of their gross rates over a day-count fraction. It shows that the expressions are not generally equal. Taking the natural logarithm of the…

Fixed incomeStatistics
Quant Q&A

The document addresses how to begin modeling non-agency mortgage-backed and asset-backed securities and comparing modeled prices with vendor marks. Its proposed starting point is deliberately simple: assume basic conditional prepayment and default rates,…

Fixed incomeBacktestingDerivatives pricing
Quant Q&A

The document surveys ways to gauge market liquidity and broader financial conditions, including when assessing whether credit has tightened. It mentions survey responses from bank loan officers, volatility measures, bond spreads, and composite financial…

Market microstructureFixed incomeEquitiesVolatility
Quant Q&A

The note addresses why a cross-currency basis calculation may appear far from zero before the financial crisis. The key correction is to match the interest-rate convention to the contract horizon: for a three-month period, convert quoted annualized rates to…

ForexFixed incomeStatistics
Quant Q&A

The document explains how a corporate issuer can compare bond financing costs in two currencies when each bond is quoted against a different reference rate. The basic comparison is to calculate each bond’s all-in yield, then translate one set of cash flows…

Fixed incomeForexDerivatives pricingRisk management
Quant Q&A

The document derives the Brownian motion associated with a bond’s forward measure. It starts from a bond price modeled with short-rate drift and a volatility loading, then constructs the Radon–Nikodym density process as an exponential of the integrated…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document considers how to express a futures-versus-forward convexity adjustment derived under the Ho-Lee short-rate model when rates are quoted with simple rather than continuous compounding. The stated continuous-rate relation subtracts a term…

FuturesFixed incomeDerivatives pricingStatistics
Quant Q&A

The document uses a four-year zero-coupon bond to ask how book value differs from market value after two years. It distinguishes the bond’s market value, which reflects the yield used to discount its remaining cash flow, from its accounting book value, which…

Fixed incomeStatisticsRisk management
Quant Q&A

The document asks whether an option on a compounded-in-arrears overnight rate must be priced with Monte Carlo simulation. Its answer describes a backward-pricing alternative for Asian-style payoffs: add the accumulated rate to the model’s state variables,…

OptionsFixed incomeDerivatives pricing
Quant Q&A

The document describes an attempt to fit a Nelson–Siegel–Svensson yield curve in QuantLib from observed zero rates. The author converts the rates into zero-coupon bond prices, passes them through fixed-rate bond helpers, and fits a discount curve. The…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document frames housing loan activity as a market shaped by lending rules and broader economic conditions. It identifies loan-to-value limits, interest rates, and loan tenor as direct policy drivers, and suggests GDP growth, home prices, and inflation as…

StatisticsFixed incomeRisk management
Quant Q&A

The question concerns creating a three-month euro yield curve from a six-month curve by adding a spread series with more maturity points. It asks how to use monotone convex interpolation in QuantLib’s Python interface. The response challenges the need for…

Fixed incomeStatistics
Quant Q&A

The document explains why bonds with the same stated maturity need not have identical yields to maturity. Coupon size changes the timing of a bond’s cash flows: higher-coupon bonds return more value earlier, which can affect yield comparisons when the curve…

Fixed incomeStatistics
Quant Q&A

The post examines whether a rise in the risk-free rate changes the efficiency of the market portfolio. Under CAPM, it rewrites expected returns so that higher-beta assets have lower expected returns and lower-beta assets have higher expected returns when the…

EquitiesFixed incomePortfolio constructionRisk management
Quant Q&A

The document presents a QuantLib setup for deriving an inflation term structure from zero-coupon inflation swap quotes. The shown workflow supplies dated market rates, builds a yield curve, creates an inflation index and relinkable term-structure handle,…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document considers how to build stress scenarios for a risk-free yield curve when testing a portfolio against hypothetical equity moves. It cautions that recent daily correlations may show little relationship between equity prices and interest rates, and…

Risk managementFixed incomeEquitiesStatistics
Quant Q&A

The document describes fitting the Cox–Ingersoll–Ross (CIR) short-rate model to equally spaced interest-rate observations. It uses the model’s exact conditional transition distribution, which is related to a noncentral chi-square distribution, to form a…

Fixed incomeStatisticsMean reversion
Quant Q&A

The document works through the differentiation of a zero-coupon bond price in a simple Heath–Jarrow–Morton interest-rate model. Starting from an exponential expression involving the initial forward curve, the drift integral, and a Brownian-motion term, the…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document points readers seeking to understand bullet and barbell bond positioning toward literature on yield-curve analysis, convexity bias, and methods for assigning portfolio weights. It names a detailed treatment by Antti Ilmanen and a Lehman Brothers…

Fixed incomePortfolio constructionStatistics
Quant Q&A

The document describes a QuantLib setup for constructing a Chilean peso overnight swap curve from short rate quotes and longer dated swap quotes. It defines a Chilean holiday calendar, assigns deposit and overnight indexed swap helpers, builds a piecewise…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document considers bond portfolio optimization when some securities are mandatory and others are eligible candidates, while the final portfolio may need to meet a limit on the number of holdings. It recommends filtering ineligible bonds before continuous…

Fixed incomePortfolio construction
Quant Q&A

This discussion examines the risk exposures of an Australian investor holding a USD-denominated zero-coupon bond. It explains that the bond's AUD value can change with both the AUD/USD exchange rate and US interest rates, because the investor knows the…

Fixed incomeForexRisk management