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 note clarifies how to calculate a bond’s Z-spread when a multiple-curve framework is in use. A Z-spread is found by adding a constant shift to a zero-coupon discount curve and solving for the shift that makes the discounted bond cash flows equal the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note derives the futures–forward price difference from the change between the risk-neutral measure and the maturity-forward measure. This difference appears as a covariance between the accumulated funding factor and the terminal index level. For an FX…

FuturesForexDerivatives pricingFixed income
Quant Q&A

The document gives several explanations for why forward rates are martingales under the probability measure associated with a bond numeraire. For a simple forward rate, it uses the relationship between the rate and prices of two zero-coupon bonds.…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how shorting bond futures to hedge a long bond’s duration affects the position’s interest income and rate exposure. It compares the intuition of retaining a fixed coupon while neutralizing duration with the possibility that the combined…

Fixed incomeFuturesRisk managementDerivatives pricing
Quant Q&A

Rolling a credit default swap means closing an existing contract and opening another; the old contract does not have to expire first. The document illustrates a common market convention in which new five-year CDS contracts are issued semiannually. When a new…

Fixed incomeDerivatives pricingExecution
Quant Q&A

A shadow rate represents the interest rate implied by a model if nominal rates were not constrained by a lower bound. The document explains Fischer Black’s view of cash as an option: investors can hold currency at approximately zero nominal return instead of…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to value a quarterly swap whose fixed and floating interest amounts are calculated on a notional in one currency, while net payments are settled in another. It presents a proposed fixed-leg present value that multiplies the…

Fixed incomeDerivatives pricingForexMulti-asset
Quant Q&A

The document asks how forward rates behave when the short rate follows a normal, Gaussian process rather than a square-root process. The accepted response explains that a forward rate can be represented through a ratio of zero-coupon bond prices. Under the…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The document compares dedicated bond portfolios with immunized portfolios used to fund known future liabilities. A dedicated portfolio holds bonds whose cash flows match the amount and timing of the required payments, commonly using zero-coupon bonds. This…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document raises two questions about the Nelson–Siegel yield curve model: how its functional form relates to a proposed differential equation, and why the model may permit arbitrage. It provides no derivation or arbitrage proof. The response instead…

Fixed incomeStatisticsArbitrage
Quant Q&A

The document gives a concise guide to day-count conventions used in Japanese markets. It distinguishes the domestic market, which uses actual/365, from the Euroyen market, which uses actual/360. These conventions affect how elapsed time is translated into…

Fixed incomeDerivatives pricing
Quant Q&A

The document asks why a bond price in the Vasicek interest-rate model rises as rate volatility increases. Its answer attributes the effect to convexity: a bond’s value is a convex function of interest rates, so taking an expectation over a more dispersed…

Fixed incomeVolatilityDerivatives pricing
Quant Q&A

The document explains an equivalence in a discrete asset-pricing model: a strong arbitrage, defined here as a self-financing strategy with zero initial value and strictly positive terminal value, exists if and only if there is a self-financing strategy with…

ArbitrageRisk managementFixed income
Quant Q&A

The document discusses converting a firm’s physical default probability into a risk-neutral probability for credit spread valuation. It contrasts a proposed direct substitution of the risk-free rate into the Merton distance-to-default expression with a…

Fixed incomeRisk managementStatistics
Quant Q&A

The document raises a practical question about backtesting value-at-risk models for portfolios containing instruments with maturities or payment schedules. It asks whether historical contract terms should be shifted backward along with each test date so that…

Risk managementBacktestingFixed incomeOptions
Quant Q&A

The document compares price-change volatility for TLT across several sampling intervals, from one minute to daily, using two years of closing-price data. It filters observations to regular US market hours and trading days, calculates the standard deviation…

VolatilityStatisticsFixed incomeUS markets
Quant Q&A

The document addresses whether Bloomberg historical data dates need adjustment when analyzing bonds across countries and time zones. The answer distinguishes desktop functions from programmatic interfaces. It says desktop APIs such as BDP and BDH use the…

Fixed incomeMulti-assetStatistics
Quant Q&A

The document shows how to construct a QuantLib yield term structure from dated zero rates and obtain forward rates from it. The answer first corrects an apparent input issue: the example repeats a node date, and the revised curve uses a sequence of annual…

Fixed incomeDerivatives pricing
Quant Q&A

The document examines how swap DV01 depends on curve construction and scenario settings. It challenges the idea that a Bloomberg sensitivity shift affects only the par swap curve: the accepted answer reports that both the swap and discount curves are…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The document explains why spot-rate changes can be larger than par-yield changes after a yield-curve shock. A par yield represents a coupon bond's yield, while spot rates discount individual cash flows. On an upward-sloping curve, a par yield blends lower…

Fixed incomeStatisticsRisk management
Quant Q&A

The document asks which discount rate is appropriate for market-consistent valuation of liabilities when an insurance arrangement uses return smoothing. The setup distinguishes general assets earning a risk-neutral rate from insurance capital whose return…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document explains why a futures hedge can leave meaningful risk even when the contract was intended to lock in a price. A hedger may retain an asset, such as a bond or stock basket, and take an offsetting position in a correlated futures contract rather…

FuturesCommoditiesFixed incomeEquities
Quant Q&A

The question compares a simply compounded forward rate observed at an earlier date with a spot rate that will be set over the same future period. It defines zero-coupon bond prices, derives a forward rate from the ratio of current bond prices, and appears to…

Fixed incomeArbitrageStatistics
Quant Q&A

The document examines whether inflation-linked bond interest-rate risk can be expressed entirely through sensitivity to real rates. It starts with a present-value expression that inflates cash flows and discounts them using a nominal-rate decomposition, then…

Fixed incomeDerivatives pricingRisk management