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 answer explains why a discount curve described as risk-free is used in derivative valuation even though the valued instrument can carry market and liquidity risk. It frames the curve as a reference rate for replication and comparison: in a replication…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document addresses how to calculate a swap rate from a rolled curve in RatesLib. The questioner builds an EUR interest-rate curve from market quotes, solves for discount factors, and prices a swap at its initial start and maturity dates. They then roll…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains how an interim coupon affects the no-arbitrage delivery price of a forward contract. Its example assumes a security worth 100 today, a one-year delivery date, a coupon of 5 paid after two months, and a fixed continuously compounded…

Fixed incomeDerivatives pricing
Quant Q&A

The document distinguishes the broad category of cash instruments from deposit rates used to calibrate a yield curve. Cash can refer to several short-term instruments, including deposits, Treasury bills, commercial paper, and repos; their yields differ, so…

Fixed incomeDerivatives pricing
Quant Q&A

The document asks how to quantify the relationship between bond yields and credit ratings when observations are unevenly distributed across rating categories, especially in lower-rated areas. The response suggests consulting high-yield bond indices with…

Fixed incomeStatisticsRisk management
Quant Q&A

The document explains how an interest rate swap’s market value can respond to its projection curve and discount curve, particularly when the swap’s value is near zero. It separates the fixed and floating legs: fixed coupons are known and their present value…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains why a parallel shift in a forward curve does not necessarily produce the same change in a forward swap rate. The effect depends on how the shift is defined: the answer defines it through overnight rates implied by discount factors, then…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The document proposes ways to fill an early gap in monthly total returns for a German government bond maturity bucket of ten years and above. One approach constructs a proxy using a chosen long tenor, with twenty years offered as a practical example. It uses…

Fixed incomeBacktestingStatistics
Quant Q&A

The document discusses how to measure the risk left when a government bond is hedged with a bond future, even when their DV01s match. Matching DV01 addresses first-order sensitivity to yield changes, but does not make the positions behave identically. The…

Fixed incomeFuturesRisk managementDerivatives pricing
Quant Q&A

The document explains why reaching a target portfolio percentage requires recalculating both the bond holdings and the total portfolio value after new money is invested. The example starts with a £40,000 portfolio holding 40% in bonds and asks how much…

Portfolio constructionPosition sizingFixed income
Quant Q&A

The post asks whether a QuantLib vanilla swap needs an explicit curve-linking step when a discount curve handle has already been created. Its code builds a zero curve, applies a spread, uses a discounting swap engine, and constructs a swap, but does not show…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The post asks whether net present value (NPV) must fall as the discount rate rises, especially when cash flows include both positive and negative amounts. For a stream of positive future cash flows, the author says they can show NPV decreases with the rate,…

StatisticsFixed income
Quant Q&A

The document asks how to choose the exponent in a discounted-cash-flow formula when bond payments do not fall on a simple sequence of whole coupon periods. It gives a semiannual coupon bond example with a settlement date between payment dates, then contrasts…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document collects approaches for computing Macaulay and modified duration from a bond’s cash flows. One method discounts each payment using its period-specific rate, weights the payment time by its present value, and divides by the bond price; modified…

Fixed incomeStatisticsRisk management
Quant Q&A

This note examines how Bloomberg’s swaption volatility quotes relate to Black-model prices, focusing on a EUR cash-settled payer swaption. It defines the normal cumulative distribution and Black formula, then distinguishes the physical-settlement annuity…

OptionsFixed incomeDerivatives pricingVolatility
Quant Q&A

The document asks why a stock-price diffusion changes when a model includes correlation between interest rates and stock returns. In the uncorrelated case, the stock diffusion coefficient is constant; in the correlated case described, it is scaled by the…

OptionsDerivatives pricingVolatilityFixed income
Quant Q&A

This note works through the drift of a forward LIBOR rate when changing between forward measures associated with two bond maturities. It identifies the rate multiplied by its maturity bond as a tradable asset, then uses the bond as numeraire to express the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion distinguishes independent increments from dependence on the current state and from correlated increments. It notes that Wiener motion has independent increments, while geometric Brownian motion’s price changes scale with the current price; the…

StatisticsVolatilityEquitiesFixed income
Quant Q&A

The document answers a request for an explanation or specification of the Gaussian short-rate model implemented in QuantLib. It points readers to a standard interest-rate modeling text for the model's broader treatment and to a technical paper for…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note examines whether bond carry should include an expected loss for default, often expressed using default probability and loss given default. The answer explains that a performing bond’s market price already reflects market views about rates, default…

Fixed incomeCarryRisk management
Quant Q&A

The note asks how an odd lot is defined in corporate bond trading and why the distinction matters for price discovery. It contrasts several definitions found by the questioner: a bond count other than 100, trades below $1 million, and a general threshold…

Fixed incomeMarket microstructure
Quant Q&A

The document explains how to model a USD-denominated convertible bond whose conversion feature delivers shares priced in euros. If conversion delivers a fixed number of shares and all relevant thresholds are USD-based, the conversion value is a composite USD…

Fixed incomeOptionsForexDerivatives pricing
Quant Q&A

The document derives the expected value of a bank account when the cumulative short rate is normally distributed. Starting from the bank account’s exponential representation, it applies the moment-generating formula for a normal random variable to show that…

Fixed incomeStatistics