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

This note asks how to value a floating-rate note in a short-rate tree when the tree contains time steps between an IBOR fixing date and the coupon payment date. It proposes valuing backward from each fixing-date node by considering reachable payment-date…

Fixed incomeDerivatives pricing
Quant Q&A

The document examines whether a bond’s coupon accrual period changes when a scheduled payment date falls on a non-business day and is moved by a forward business-day convention. Its central lesson is that there is no universal rule: the bond’s prospectus or…

Fixed incomeRisk management
Quant Q&A

The document explains why very short-term U.S. Treasury yields can trade below the federal funds rate. One answer points to an imbalance between cash demand and Treasury bill supply: money market funds had abundant cash, the Federal Reserve’s reverse repo…

Fixed incomeUS marketsMarket microstructure
Quant Q&A

This exchange clarifies the no-bankruptcy-cost assumption in the Modigliani–Miller framework. It means that financial distress or bankruptcy creates no direct costs, such as legal expenses, and no indirect costs, such as losses caused by disrupted operations…

Fixed incomeRisk managementStatistics
Quant Q&A

The document asks how to distinguish a market-price-based delta from a model-price-based delta for options on Treasury futures. It describes delta as the option price's sensitivity to the underlying futures price and proposes estimating that sensitivity by…

OptionsFuturesFixed incomeRisk management
Quant Q&A

The document examines a derivation of the change of Brownian motion between the risk-neutral measure and a bond's forward measure in a Heath-Jarrow-Morton interest-rate framework. The original argument derives a discounted bond price under the forward…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion explains why an AA corporate bond yield can be used to discount corporate pension liabilities and how it relates to interest rates. A discount rate is an interest rate, but the appropriate rate depends on the liability and the purpose of…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document explains why a simple interest-rate-differential formula may fail to match observed three-month FX forward points. It identifies cross-currency basis as the key market adjustment that emerged prominently after the global financial crisis. The…

ForexDerivatives pricingFixed income
Quant Q&A

The discussion covers two linked choices when calculating a Sharpe ratio from monthly returns: selecting a risk-free return that matches the measurement horizon and converting the ratio to an annual scale. One answer suggests using a short-term Treasury rate…

StatisticsRisk managementFixed income
Quant Q&A

The document asks how swap rates relate to a textbook par-rate calculation and why market participants quote spreads against Treasury or swap curves. The response focuses on quoting conventions rather than deriving the swap rate formula. Historically, US…

Fixed incomeDerivatives pricingMarket microstructure
Quant Q&A

The note clarifies that calling an instrument balance-sheet intensive does not simply mean that it requires a large initial cash investment. The meaning depends on the desk’s accounting and regulatory context. For a bank market-making desk, balance-sheet…

Fixed incomeRisk managementMarket microstructure
Quant Q&A

The document explains how to simulate two correlated Hull–White short-rate processes, such as rates for two currencies, using QuantLib. Its suggested construction combines separate Hull–White processes in a stochastic process array and supplies a correlation…

Fixed incomeMulti-assetStatisticsBacktesting
Quant Q&A

The document asks whether a short RQuantLib script can estimate the total return of a five-year constant-maturity Treasury bond from a yield series. Its proposed approach reprices a fixed-rate bond using consecutive observations as coupon and discount…

Fixed incomeUS marketsBacktesting
Quant Q&A

The discussion explains why a bond’s measured duration can exceed its time to maturity, particularly when the instrument is nonstandard. The result depends on the duration definition and cash-flow structure. Embedded options may create asymmetric price…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The post asks how to hedge the cross gamma between interest rates and foreign exchange in a callable power reverse dual currency note. The brief answer is that this exposure may be difficult or impossible to hedge because the market has too few…

Fixed incomeForexDerivatives pricingRisk management
Quant Q&A

The document explains how an annual effective discount rate can be related to an effective interest rate when interest received in advance is repeatedly reinvested. Starting with capital C, each advance interest payment is reinvested under the same terms,…

StatisticsFixed income
Quant Q&A

The document asks how to discount a cash flow at a tenor beyond the longest available LIBOR tenor, and whether interpolating quoted rates is appropriate when those rates reflect different payment periods. The answer frames the problem through the distinction…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why treasury futures carry cannot be obtained simply by subtracting an implied repo rate from a deliverable bond’s yield. Under a strict definition, pure carry consists of known cash inflows and outflows from holding and financing an…

FuturesFixed incomeCarryDerivatives pricing
Quant Q&A

The document uses a fixed-coupon bond example to ask how to interpret Macaulay duration, modified duration, and convexity. It presents the bond price as the discounted value of coupon and principal cash flows, then identifies modified duration with the…

Fixed incomeRisk managementStatistics
Quant Q&A

The document describes a workflow for pricing interest-rate caps at multiple valuation dates with QuantLib. It builds yield curves from dated market data, interpolates cap volatilities across maturities, then creates Euribor-linked cap instruments and prices…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The post explains two treasury uses of FX swaps: obtaining needed local-currency cash and putting idle balances to work through carry. In an emerging-market banking example, depositors and businesses shifted toward US dollars amid fears of devaluation, while…

ForexCarryFixed incomeRisk management
Quant Q&A

The document asks for references explaining the Feller condition for the Cox–Ingersoll–Ross square-root diffusion, a model often used for interest rates. It points readers to treatments in Iain Clark’s Foreign Exchange Option Pricing and Andersen and…

Fixed incomeStatistics
Quant Q&A

The document concerns constructing a portfolio of individual bonds selected from a benchmark, with exposure to a chosen investment factor. The questioner seeks research on factor investing using actual bonds rather than exchange-traded funds or sovereign…

Fixed incomeFactor investingPortfolio construction
Quant Q&A

The document questions a claim about compounding a constant overnight rate over a three-month period when calculating a spot swap’s roll-down. The questioner interprets the quoted rate as an annualized overnight rate and compounds it daily, finding that the…

Fixed incomeDerivatives pricing