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
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

5,701 documents

Quant Q&A

The document considers how to hedge an 11-year off-the-run Treasury bond when direct access is limited to on-the-run securities. Its practical suggestion is to use the Treasury futures contract with duration closest to the bond and determine an appropriate…

Fixed incomeFuturesRisk managementPosition sizing
Quant Q&A

The document raises practical questions about the reinvestment assumption behind yield to maturity (YTM): coupon payments may be too small to buy another bond, and newly issued Treasury maturities may not match the investor’s remaining holding period. It…

Fixed incomeUS markets
Quant Q&A

The document distinguishes avoiding a risk from transferring it. Avoidance means choosing not to take on the exposure, such as declining an investment; transfer means accepting the exposure while using a hedge or insurance-like instrument to offset its…

Risk managementFuturesCommoditiesFixed income
Quant Q&A

The document compares Brigo and Mercurio’s interest rate modeling text with Andersen and Piterbarg’s multi-volume treatment. It presents contrasting reader assessments: one favors Brigo and Mercurio for clear explanations, practical techniques, and a direct…

Fixed incomeDerivatives pricing
Quant Q&A

The note explains a futures-based method for separating an unexpected policy-rate change from the expected component. The cited approach uses the change in the rate implied by a current-month federal funds futures contract around the policy event, scaled to…

Fixed incomeFuturesEvent-drivenStatistics
Quant Q&A

The note explains how the risk-free rate enters the standard CAPM as the intercept and as the benchmark subtracted from expected market return. In the standard setup, these roles use one rate; lending and borrowing at different rates can appear in a capital…

StatisticsFixed incomePortfolio construction
Quant Q&A

The document explains why a bond’s best quoted bid can equal its clean price. Clean prices exclude accrued interest, while dirty prices include it; most bonds are quoted using the clean-price convention. This makes equality between a quoted bid and a clean…

Fixed incomeMarket microstructure
Quant Q&A

The note clarifies how to interpret year labels and short-rate nodes in a Black-Derman-Toy bond tree. It explains that the initial rate, r₀, discounts the bond over the period from now to one year, while the up and down rates at the next tree level apply…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains why a vanilla bond’s duration and DV01 can move in opposite directions as its coupon changes. Duration describes price sensitivity relative to the bond’s value, while DV01 measures the approximate dollar price change for a one basis…

Fixed incomeRisk management
Quant Q&A

The document shows how to solve for the continuously compounded yield of a two-year coupon bond when its price is expressed as the discounted value of the coupon payments and principal. The suggested substitution sets the exponential discount factor equal to…

Fixed incomeStatistics
Quant Q&A

The document proposes estimating a Treasury bond futures price from a selected Treasury bond’s cash price and the conversion factor for the cheapest-to-deliver bond. It suggests dividing the bond price by that factor, then comparing the estimate with the…

Fixed incomeFuturesDerivatives pricing
Quant Q&A

The document explains why a forward contract with zero value at inception generally has a delivery price different from today’s spot price. It uses replication: hold the underlying asset and finance the delivery payment with a riskless bond position.…

Derivatives pricingFixed incomeEquities
Quant Q&A

This discussion addresses whether SABR should be calibrated directly to cap quotes or to the individual caplets that compose those caps. Its proposed workflow is to first strip market cap quotes into a caplet volatility surface, then calibrate SABR…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

This exchange explains how to represent an FRA whose start date does not fall an integer number of months after the valuation date when constructing a yield curve with QuantLib. The suggested approach is to calculate the interval from the valuation date to…

Fixed incomeDerivatives pricing
Quant Q&A

The document describes a simulation question for a SABR-LMM model under a selected numeraire. Forward LIBOR rates have shifted SABR dynamics, stochastic lognormal volatilities, and correlated Brownian drivers. The author already uses Euler discretization…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

The document explains why repricing a live swap at a later evaluation date can fail when an earlier floating-rate coupon needs a fixing that has become historical. QuantLib can forecast fixings from a yield curve for current or future dates, but a curve does…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks where to obtain historical daily term repo rates, particularly rates tied to specific on-the-run US Treasury securities. It contrasts this data need with the availability of historical overnight repo data from DTCC, which the questioner…

Fixed incomeUS markets
Quant Q&A

The document considers whether a portfolio can be constructed to have a payoff of the form a plus b times a stochastic discount factor. The questioner proposes expressing the discount factor as a linear combination of asset returns, using a regression whose…

Portfolio constructionStatisticsFixed incomeRisk management
Quant Q&A

The discussion explains how cross-currency swaps and local overnight-indexed swap markets can help construct discount curves for cash flows collateralized in another currency. In a two-currency setup, the response describes fitting a foreign-currency curve…

Fixed incomeForexDerivatives pricingStatistics
Quant Q&A

For European interest rate options, the document distinguishes pricing from hedging. Vanilla prices across strikes can be represented by an implied volatility surface or interpolated total variance, so stochastic volatility is not required to price each…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document sets up a small Treasury futures example to investigate whether parallel yield curve shifts can change which bond is cheapest to deliver. It uses two hypothetical deliverable bonds, prices them from a shifted curve, applies conversion factors,…

Fixed incomeFuturesDerivatives pricingRisk management
Quant Q&A

The answer distinguishes standard interest rate swap valuation from non-deliverable swaps, explaining that a library supporting ordinary swaps may not directly handle the latter. It outlines the fixed and floating leg present values for a standard swap,…

Fixed incomeForexDerivatives pricing
Quant Q&A

The answer explains why published deep learning results in trading are relatively scarce and why performance depends on the market and available data. It argues that rich equity data, including news and company information, may support more complex models,…

Machine learningEquitiesFixed incomeHigh-frequency trading
Quant Q&A

The document lists several basic ways to offset the interest rate exposure of a long bond position. Besides selling the same bond or a different bond, it names paying a swap and buying a payer swaption as possible hedges. Bond futures are also included in…

Fixed incomeRisk managementDerivatives pricing