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 why accrued interest in bond pricing is commonly calculated by prorating the coupon according to the elapsed fraction of the coupon period. It contrasts this clean-price convention with the treatment of coupon and principal cash flows in…

Fixed incomeStatistics
Quant Q&A

The document explains why QuantLib’s fixed-rate bond coupon amounts differ from calculations made using the issue date and nominal anniversary dates. The key is that the schedule is adjusted by the selected calendar and business-day convention before coupon…

Fixed incomeDerivatives pricing
Quant Q&A

The document examines a failed attempt to construct a US Treasury zero-coupon curve in QuantLib using deposit and fixed-rate bond helpers. The key diagnostic is to build the curve from deposit helpers alone: this isolates the source of the reported…

Fixed incomeUS marketsDerivatives pricing
Quant Q&A

The note considers which bond to short when two bonds are otherwise comparable. For a purely speculative position, the answer favors the bond with lower convexity. Convexity describes how a bond’s price sensitivity changes as yields move, so it affects the…

Fixed incomeRisk management
Quant Q&A

The document clarifies how to calculate a one-year zero rate from the purchase price of a Treasury bill that pays its face value at maturity. The annual holding-period return is the difference between the maturity payment and the bill’s price, divided by the…

Fixed incomeStatistics
Quant Q&A

The document raises modeling questions about a convertible bond whose value depends on two assets. It asks how a pricing model should incorporate each asset’s volatility and their correlation, and whether a binomial framework commonly used for options can…

Fixed incomeDerivatives pricingVolatilityStatistics
Quant Q&A

The document discusses whether a central bank literally prints money or creates electronic reserves through its balance sheet. The answer uses a simplified lending example: a central bank supplies newly created funds to a commercial bank, which lends to a…

Fixed incomeUS marketsStatistics
Quant Q&A

The document addresses how to obtain market expectations for the federal funds rate around Federal Open Market Committee meetings. It recommends meeting-date overnight index swaps as a direct proxy for those expectations, describing them as the cleanest…

Fixed incomeUS markets
Quant Q&A

The document asks how to combine the durations of two funds held at specified portfolio weights. It states duration as the present-value-weighted average timing of cash flows and proposes taking the weighted average of the funds’ durations. The accepted…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document discusses how SABR calibration relates to Black pricing conventions for swaptions. Its central point is that the parameters in the two approaches serve different roles: Black pricing uses an implied volatility, while SABR describes volatility…

OptionsFixed incomeDerivatives pricingVolatility
Quant Q&A

The document explains why the SONIA overnight rate can be below the UK Bank Rate. The Bank Rate is the rate banks receive on deposits held at the Bank of England, while SONIA reflects actual overnight lending transactions among a broader set of institutions,…

Fixed incomeMarket microstructure
Quant Q&A

The document explains how mortgage-backed security convexity depends on the sensitivity of prepayments to interest-rate incentives. In a typical pass-through, falling rates tend to accelerate prepayments and shorten duration, limiting price gains; rising…

Fixed incomeOptionsVolatility
Quant Q&A

The document considers a five-year coupon bond with annual payments, a specified recovery amount, and default possible in each year. It first corrects a probability-accounting error: the listed default-year outcomes are not exhaustive until the no-default…

Fixed incomeStatisticsRisk management
Quant Q&A

The document describes a portfolio manager’s difficulty optimizing a fixed-income portfolio using yield to maturity, duration, and credit rating. The current score favors short-maturity, highly rated US bonds when the yield curve is flat, leaving the…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document derives the duration of a perpetuity paying a constant annual coupon, whose price is the coupon divided by the yield. Differentiating price with respect to yield gives modified duration as the reciprocal of yield. It then uses Macaulay…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document gives a brief, high-level comparison of market risk topics associated with a bank’s trading and banking books. It describes the trading book as capital markets and investment banking positions, such as swaps, stocks, and bonds, and the banking…

Risk managementFixed incomeMulti-asset
Quant Q&A

The document asks whether a Bloomberg feature can plot spread duration by tenor for an issuer or sector, including measures such as DTS and option-adjusted spread duration. The eventual response says no suitable term-structure plot was available in the…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document considers how to represent the risk of a four-leg relative-value trade involving 10-year and 30-year swap spreads. Each spread combines a swap and a benchmark bond; the example takes opposing positions in the two maturities to express a view…

Fixed incomeFuturesStatisticsRisk management
Quant Q&A

The document frames a modeling choice for yield curve spread options. One approach focuses on the payoff at expiry: model the marginal distributions of the two rates and connect them with a copula to represent dependence. The alternative considers the needs…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

The document gives brief convention details for swaps linked to seven-day indexes. For the CNY seven-day swap example, it describes calculation and payment periods of three months, with weekly reset periods nested inside each calculation period. The fixing…

Fixed incomeChina markets
Quant Q&A

The document considers how to map calendar dates to model time when simulating forward interest rates, including rates with different market day count conventions. It distinguishes the time convention used inside a model from the convention used to quote or…

Fixed incomeStatistics
Quant Q&A

The document clarifies the meaning of a curve constructed with Rateslib from dated nodes and numeric values. The example supplies an initial node with value one, followed by later nodes with lower values. The accepted explanation identifies these node values…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

This note explains why an actuarial projection of annuity reserves may proceed backward from the end of the projection horizon. At each time, the reserve represents the present value of expected future payments from that point onward. Starting at the final…

Fixed incomeStatistics
Quant Q&A

The note separates the definition of an instantaneous forward rate from the interest rate model used to describe rates. It derives the forward rate from zero coupon bond prices: when a sufficiently smooth continuum of such prices is available, the initial…

Fixed incomeDerivatives pricingStatistics