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
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 document explains why pricing counterparty credit risk bilaterally means considering both parties’ default risk. A unilateral model that accounts only for the other party’s chance of default can produce valuations that are harder for counterparties to…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The document explains why the Capital Asset Pricing Model measures returns relative to a risk-free rate. In CAPM, an asset’s expected excess return is its market beta multiplied by the market’s expected excess return. Adding the risk-free rate back gives the…

StatisticsRisk managementFixed income
Quant Q&A

This example investigates why a convertible bond priced with QuantLib produces an equity delta greater than one. The bond is near the money, with a conversion ratio of roughly eight shares per bond. The question compares delta from the binomial tree with a…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document describes an attempt to initialize nonlinear optimization for the Nelson–Siegel–Svensson yield curve model using ordinary least squares. The author derives spot rates from par bond coupons, constructs a coefficient matrix from maturities and…

Fixed incomeStatisticsMachine learningDerivatives pricing
Quant Q&A

The document examines how correlation between an inflation-linked cash flow and the discount factor to its delayed payment date can affect valuation. It explains why the expected product of inflation and discounting need not equal the product of their…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why some interest rate curves must be calibrated together: instruments on one curve may depend on another, preventing a sequential bootstrap. Examples include linked short and long tenor curves and multiple benchmark curves used in…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The question concerns deriving the Sharpe ratio for a stock modeled by geometric Brownian motion alongside a riskless zero-coupon bond. A portfolio investing fraction w in the stock and the remainder in the bond has an instantaneous expected return formed by…

StatisticsRisk managementFixed income
Quant Q&A

In fixed-income trading, “cash” commonly means trading or holding the bonds themselves, such as Treasury, municipal, or corporate bonds. The term distinguishes the underlying securities in the cash market from related instruments such as bond swaps, futures,…

Fixed income
Quant Q&A

The discussion points to Brigo and Mercurio as a central reference for inflation derivatives, supplemented by practitioner research on inflation products and curve construction. Its coverage is relevant to studying inflation instruments, their valuation, and…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The document explains how to calculate a bond’s yield from its price and coupon cash flows using QuantLib. One approach defines a function that reprices the bond at a trial yield and returns the difference from the target price; a bisection solver then finds…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note gives a brief motivation for using instantaneous forward rates in interest-rate models: they are often chosen for modeling simplicity. It relates the instantaneous forward rate to the derivative of maturity times the continuously compounded spot…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The note addresses a circularity concern in structural convertible-bond valuation: the bond is described through firm value, while firm value is written as debt plus equity. The answers clarify that classical structural models take the firm’s assets as the…

Fixed incomeOptionsDerivatives pricingEquities
Quant Q&A

The document discusses ways credit default swaps may connect to corporate funding, while distinguishing a protection-selling income strategy from a specific financing structure. In the described historical deal, one bank lent to a young corporation at a high…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document compares two ways to hedge future ten-year interest rate exposures: using separate forward-starting swaps for the two target dates, or using a single longer forward-starting swap spanning both periods. The response says the strategies can…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The document explains how to change from the forward measure using a bond maturing at the LIBOR fixing date to one using a bond maturing at the rate’s payment date. It gives the Radon–Nikodym derivative as the ratio of the two bond numeraires, normalized by…

Fixed incomeDerivatives pricingVolatilityStatistics
Quant Q&A

The document explains a practical approximation for estimating the interest-rate PV01 of a floating-rate note. The approach represents the floater using a short bond that pays the already-fixed next coupon and principal at the next payment date, then…

Fixed incomeRisk management
Quant Q&A

The document derives the price dynamics and pricing equation for an instrument whose value depends on both an equity price and a stochastic short rate. It applies Itô’s lemma to a value function of time, the stock price, and the rate, retaining the second…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The document explains how risk-neutral probabilities differ from physical probabilities and why they allow asset prices to be expressed as discounted expected payoffs. Physical probabilities describe beliefs about outcomes in the real economy; risk-neutral…

Derivatives pricingFixed incomeStatistics
Quant Q&A

The document explains how to compare offshore U.S. dollar corporate bonds with Brazilian real-denominated benchmarks. Its proposed framework is to model an asset swap: pay the bond’s cash flows and receive floating-rate payments in the target currency, then…

Fixed incomeForexDerivatives pricingRisk management
Quant Q&A

The note compares traditional approaches to estimating the probability of default on commercial bank loans with machine learning methods. It names Merton and KMV as structural credit-risk models and random forests as a possible machine learning alternative.…

Fixed incomeMachine learningRisk managementStatistics
Quant Q&A

The note explains how to convert a nominal interest rate compounded monthly into an equivalent rate compounded quarterly over a specific calendar interval. It first computes the elapsed time using the day-count convention, then calculates the accumulated…

Fixed incomeStatistics
Quant Q&A

This document poses a question about why the effective duration of a floating-rate note is often described as the time until its next payment. It gives the standard effective-duration definition, based on the bond's value after small upward and downward…

Fixed incomeRisk managementStatistics
Quant Q&A

This note clarifies what it means for a bond to earn its yield to maturity over its life. The explanation uses a semiannual coupon bond and algebraically compounds the bond's initial price at its yield to maturity through maturity. The resulting future value…

Fixed incomeCarryPortfolio construction
Quant Q&A

This note explains how asset volatility affects equity and debt in the Merton structural model. Equity is treated as a call option on firm assets, so greater volatility raises its value. Debt can be viewed as risk-free debt minus a put option, or…

Fixed incomeEquitiesVolatilityDerivatives pricing