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
WonderTrader
14 documents
Alphalens
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

5,701 documents

Quant Q&A

The document asks how to create a QuantLib business calendar from a supplied list of holidays and weekends when standard country or currency calendars do not match the relevant market schedule. The answer shows the basic approach: start with a weekends-only…

FuturesFixed incomeStatistics
Quant Q&A

The document explains how to construct curves for valuing cross-currency swaps in a multicurve framework. It starts with overnight-indexed swap discount curves and single-currency forward curves, then uses cross-currency swap quotes, spot FX, and the…

Fixed incomeForexDerivatives pricingArbitrage
Quant Q&A

The discussion corrects a misunderstanding about the Heath–Jarrow–Morton framework. The familiar expression that determines the forward-rate drift from its volatility applies under the risk-neutral measure, where it is part of the no-arbitrage restriction.…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note explains the notation used for CME 10-year Treasury note option strikes. A quoted strike of 1300 represents 130.0 in futures-price terms, while 1305 represents 130.5; the decimal is implicit. It also states that the minimum strike increment is 0.5.…

Fixed incomeFuturesOptions
Quant Q&A

The document addresses how to interpret a convertible bond whose yield is negative and how to estimate its implied credit spread. The response attributes the negative yield primarily to the embedded conversion option, which has both conversion value and time…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document compares two objective types for calibrating a one-factor Hull–White interest-rate model to caplet or similar market data. A price-based calibration minimizes differences between quoted instrument prices and prices produced by the model. A…

Fixed incomeDerivatives pricingVolatilityStatistics
Quant Q&A

The document addresses an apparent conflict between the Black–Scholes relationship linking spot and forward prices and models that assign different volatility processes to forwards with different maturities. With a constant interest rate and a deterministic,…

Derivatives pricingVolatilityFixed incomeStatistics
Quant Q&A

The document considers whether principal component analysis of US Treasury rates should use cash yields or Treasury futures. It recommends constant-maturity par yields, which keep the maturity of each series stable as bonds and futures delivery baskets…

Fixed incomeFuturesStatisticsUS markets
Quant Q&A

The document outlines a practical architecture for calculating value at risk when a trading system already generates simulated market scenarios, such as interest rate curves. In that setup, the main task is to reprice instruments under each scenario rather…

Fixed incomeRisk managementBacktestingStatistics
Quant Q&A

The document explains why a payer swap’s key rate sensitivities can appear unintuitive when the swap is decomposed into a long floating-rate bond and a short fixed-rate bond. The discussion recommends measuring exposure against standard market curve pillars,…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks how to obtain a risk-neutral probability measure from a real-world model under a no-arbitrage assumption. It gives a geometric Brownian motion example in which an asset has drift and volatility under the real-world measure, while a…

StatisticsDerivatives pricingFixed income
Quant Q&A

The document examines how storage costs enter a commodity forward price and whether monthly costs should accrue interest. It presents the no-arbitrage principle: a forward should reflect the spot asset and the present value of carrying costs, financed to…

CommoditiesDerivatives pricingFixed incomeArbitrage
Quant Q&A

The document outlines a workflow for evaluating a portfolio under non-parallel interest rate shocks. Start with specified scenarios, apply the tenor-specific shifts to the relevant curves, reprice affected instruments, and measure the resulting price…

Fixed incomeMulti-assetRisk managementPortfolio construction
Quant Q&A

The note addresses whether negative risk-free rates invalidate the CAPM or the use of a risk-free rate when calculating market excess returns in the CAPM and Fama–French three-factor model. Its answer is that the CAPM does not require the risk-free rate to…

Factor investingFixed incomeStatistics
Quant Q&A

The note explains why UK RPI zero-coupon inflation swaps can trade at different levels when cleared through LCH versus bilaterally. It identifies two conditions behind such a basis: dealers face an imbalance in client demand across the two markets, and…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks why an interest rate swap may use separate curves for projecting floating coupons and discounting future cash flows. It identifies the pricing curve with the curve used to infer rates for floating-leg accruals, then asks whether a different…

Fixed incomeDerivatives pricing
Quant Q&A

The document asks how to estimate a company’s pre-tax cost of debt when its borrowings include bonds with different coupon rates, maturities, and repayment schedules. The proposed method is to calculate the yield on each bond for the relevant fiscal year,…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document discusses converting a quoted three-month Treasury bill rate into a weekly risk-free return and subtracting it from an asset’s weekly log return. It endorses scaling the log of one plus the quoted annual rate by the weekly fraction of a 360-day…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document explains how to price a zero-coupon bond when yields differ across maturities. Its key distinction is between a bond’s maturity-specific zero-coupon spot rate and the sequence of one-year forward rates. Under annual compounding, discounting the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how to select interpolation schemes when bootstrapping yield curves in QuantLib-Python. It shows a dual-curve setup using deposit, forward rate agreement, and swap helpers, then constructs curves with different interpolation choices,…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note explains why a structural credit model’s implied spread may differ from the observed corporate bond spread. Observed spreads include compensation beyond expected default loss, such as liquidity effects, so a model focused on default risk can produce…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document shows how a bond price process can define a change of probability measure under which a shifted Brownian motion is Brownian. Starting from the bond’s risk-neutral dynamics, it forms a density process from the discounted bond price divided by its…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how to infer a discount curve from fixed-rate bond prices using Rateslib. It contrasts sequential bootstrapping, which solves curve values in maturity order and relies on suitable instrument and curve conditions, with Rateslib’s global…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document clarifies two different rate queries for a vanilla interest-rate swap built in QuantLib. The fixed rate is the coupon already assigned to the swap when it is created. The fair rate is calculated from the swap’s market value and represents the…

Fixed incomeDerivatives pricing