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 document explains why initial margin valuation adjustment (MVA) requires simulation even though initial margin is calculated at the start of a trade. It clarifies that initial margin is recalculated over time: market conditions, portfolio positions, and…

Derivatives pricingRisk managementFixed incomeStatistics
Quant Q&A

The document asks what an unfunded total return series for the CDX North American investment-grade index represents. It cites a Bloomberg series identified as an unfunded total return index and distinguishes the question from the general difference between…

Fixed incomeDerivatives pricing
Quant Q&A

The document introduces interest rate swap duration by describing the spot-starting calculation: compare the duration of the fixed-rate leg with that of the floating-rate leg. It frames the legs as similar to fixed-rate and floating-rate bonds, respectively,…

Fixed incomeDerivatives pricing
Quant Q&A

The document asks whether single-period Markowitz mean-variance optimization is theoretically suitable for portfolios containing assets with different cash-flow and maturity structures. It highlights that bonds pay coupons, mature, and respond to…

Multi-assetFixed incomePortfolio constructionRisk management
Quant Q&A

The document asks how to value a swap when the valuation date falls within an accrual period: use historical index fixings for the elapsed portion and project later periods from discount-factor data. The answer recommends adding available fixings to the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks whether normal (Bachelier) implied volatilities can be derived directly for caps or swaptions under a Libor market model, rather than first deriving Black-76 volatility and converting it. The proposed forward-rate dynamics use a…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The document discusses how to choose volatility inputs and calibrate a Ho-Lee style short-rate model for bond pricing. Its central point is that a model with only a small number of free parameters cannot generally reproduce prices across a large set of…

Fixed incomeVolatilityDerivatives pricing
Quant Q&A

The document frames a credit risk validation problem under the Basel framework: assess the discriminatory power and calibration of rating classes when predicted probabilities of default are compared with portfolio outcomes. It highlights two difficult cases:…

StatisticsRisk managementFixed income
Quant Q&A

The document identifies the difference between a Treasury yield and an OIS swap rate as a swap spread. It addresses why a Treasury yield can sit above the corresponding OIS rate, despite Treasuries being backed by the US government and OIS being based on an…

Fixed incomeStatisticsRisk management
Quant Q&A

The document explains how cash flows on a total return swap (TRS) are calculated and checked when the reference asset remains with a counterparty. A TRS exchanges the asset’s total return, such as price changes and dividends, for a fixed or floating…

Derivatives pricingFixed incomeEquitiesRisk management
Quant Q&A

The document explains the cash flows of a resettable EUR/USD cross-currency basis swap. It corrects a worked example’s direction of the initial currency exchange and basis spread, then describes how periodic notional resets affect interest and principal…

Fixed incomeForexDerivatives pricingRisk management
Quant Q&A

The document considers pricing an exotic interest-rate option when the individual rate distributions are modeled with calibrated SABR marginals and their dependence is represented by a Gaussian copula. It expresses the option value as the pricing-measure…

OptionsFixed incomeDerivatives pricingStatistics
Quant Q&A

A swap spread trade pairs a cash bond with an interest rate swap of a matching maturity. The answer describes a convention for a long spread position: hold the bond long and pay fixed in the swap. It notes that traders commonly size the two legs to have…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document clarifies what it means to complete pricing by integrating a modeled future swap rate. The target is not to integrate the rate merely to recover its current value, which follows from its martingale property under the swap measure. Instead, the…

OptionsDerivatives pricingFixed incomeVolatility
Quant Q&A

The document explains how to choose a discount curve for Black–Scholes option valuation and how to turn quoted market rates into continuously compounded rates for different maturities. It describes building a money-market curve from short-term interbank…

OptionsDerivatives pricingFixed incomeStatistics
Quant Q&A

The document describes approaches to calculating the discount margin of a floating-rate bond with QuantLib. The initial method builds a spreaded forward curve whose spread is controlled by an observable quote, then uses a one-dimensional numerical solver to…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document compares an exact relationship between real, nominal, and inflation rates with the familiar approximation that the real rate equals the nominal rate minus inflation. It asks how these formulas relate to a bond valuation example involving a real…

Fixed incomeStatistics
Quant Q&A

The answers map fixed-income reading choices to different levels and goals. For an accessible treatment that connects theory with trading practice, they recommend Bruce Tuckman’s Fixed Income Securities; Pietro Veronesi’s text offers broader valuation and…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document addresses how to obtain daily bond total returns in Bloomberg, where total return includes price movement and coupon income. It notes that the equity field used as an example has no direct bond counterpart in the described workflow. The…

Fixed incomeBacktesting
Quant Q&A

The document raises a fixed income valuation question about replacing term IBOR benchmarks with overnight rates derived from collateralized transactions. It points out that overnight benchmarks provide a single rate, while the former IBOR settings included…

Fixed income
Quant Q&A

The document explains why short-term bond yields can rise even when investors shift toward shorter maturities. Its answers describe the short end of the yield curve as closely linked to central bank policy: rate increases and expectations of future increases…

Fixed incomeUS markets
Quant Q&A

The document sets up a credit-loss example in which each loan defaults independently with a stated one-year Bernoulli probability. It models the number of defaults across a portfolio with a binomial distribution and expresses an upper-tail quantile condition…

Fixed incomeRisk managementStatistics
Quant Q&A

The document raises a fixed-income curve-construction question: whether zero-coupon bonds priced above par should be excluded when building a zero-coupon curve. It notes that textbook bootstrapping examples often use below-par bonds, which can make above-par…

Fixed incomeStatistics
Quant Q&A

This question asks whether otherwise identical derivative payoffs should have the same value when paid in different currencies, given a fixed USD SOFR collateral agreement. It compares a fixed sterling payment with payments converted at the future GBP/USD or…

Derivatives pricingForexFixed income