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 a SIX discount certificate as a position in the underlying share combined with a short out-of-the-money call. The call’s premium accounts for the certificate’s discounted price relative to the share, while the cap limits the investor’s…

OptionsEquitiesDerivatives pricingFixed income
Quant Q&A

The document asks how drift specifications in the Libor Market Model (LMM) relate when one treatment describes forward rates and another describes par swap rates. It also asks whether a volatility term marked with an asterisk represents a Black volatility.…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains a failure encountered when extracting zero or forward rates from a QuantLib piecewise yield curve. The reported error occurs during the first bootstrap iteration at a short-maturity instrument. The answer attributes it to log-linear…

Fixed incomeStatistics
Quant Q&A

The note outlines an approximate way to estimate bond forward prices and carry when the available inputs are government yields by maturity. It proposes treating the observed yields as par yields, so each yield also serves as the coupon rate for a…

Fixed incomeFuturesCarry
Quant Q&A

The discussion addresses the apparent paradox that a bank can report a positive mark-to-market effect when its own credit quality deteriorates. It presents a valuation formula in which the derivative portfolio value includes a debit valuation adjustment…

Derivatives pricingRisk managementFixed income
Quant Q&A

The document asks whether inflation swaps consistently reference non-seasonally-adjusted consumer price index values. It notes that CPI series may be published in both seasonally adjusted and non-seasonally-adjusted forms, and says the author’s observed…

Fixed incomeDerivatives pricingMulti-asset
Quant Q&A

The document models a lease whose payments are denominated in a foreign currency, making the lessee’s domestic-currency payments sensitive to the exchange rate. It considers a payment floor and cap and asks how to value the resulting embedded derivative. The…

OptionsForexDerivatives pricingFixed income
Quant Q&A

The document asks how to adjust Brazilian real interest-rate swap accruals when a newly declared holiday changes the business-day calendar. It describes contract terms under which fixed-leg accruals are unaffected by new holidays while floating-leg accruals…

Fixed incomeDerivatives pricingRisk managementMulti-asset
Quant Q&A

The document explains why adding intermediate-maturity swap instruments to a regularized interest-rate curve calibration can produce a poor fit or an apparent solver failure. Its central correction is to distinguish a curve’s period rate from an instrument’s…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

The document addresses how a callable U.S. Treasury bond can appear to have a negative embedded option value. It distinguishes an independently traded option, whose market price cannot be negative, from an embedded feature that is inseparable from its parent…

Fixed incomeOptionsDerivatives pricingUS markets
Quant Q&A

The document explains that fixed-income spreads serve several purposes, including quoting bonds, comparing relative value, attributing profit and loss, and measuring or hedging market risk. Simple yield spreads compare a bond’s yield with a selected…

Fixed incomeDerivatives pricingRisk managementPortfolio construction
Quant Q&A

The explanation derives the interest-rate sides used to form FX forward points by considering the market maker’s hedge for a forward bid. In an FX quote, the base currency is bought or sold against the value currency. For a forward bid, the market maker…

ForexFixed incomeDerivatives pricingMarket microstructure
Quant Q&A

A bond can earn a positive total return over a month even when its yield rises. The explanation separates a bond’s return into the value gained as its cash flows get closer, price changes caused by yield movements, and coupon payments. The first effect is…

Fixed incomeRisk management
Quant Q&A

The document distinguishes Treasury bill discount quotations from Treasury bond clean and dirty prices. Its main correction is that bills do not pay coupons: they are issued below face value and redeem at face value, so the relevant quotation in the…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains why a yield curve may combine cash instruments, interest-rate futures, and swaps: market participants select instruments with active, liquid quotes across maturities, while keeping their credit and funding risks consistent with the…

Fixed incomeFuturesDerivatives pricingMarket microstructure
Quant Q&A

The document considers negative annual asset-volatility estimates produced while fitting the Merton structural default model to firm data. Since volatility is nonnegative by definition, such estimates point to an estimation issue or a model fit that cannot…

Fixed incomeVolatilityStatistics
Quant Q&A

The document explains how to price options expiring at different times on the same swap, which itself begins in the future. It applies the Black 76 swaption formula to each expiry, using the relevant option expiration as the time to expiry while keeping the…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document discusses ways to estimate portfolio Value at Risk when corporate bond price histories are short or sparse. One proposed approach models changes in each bond’s credit spread, using option-adjusted spreads when feasible or simpler Z-spreads, then…

Fixed incomeRisk managementStatisticsDerivatives pricing
Quant Q&A

The document explains the structural distinction between a convertible bond and a bond issued with a warrant. A convertible lets its holder exchange the debt claim for shares, so the bond and its equity feature remain linked. By contrast, a warrant generally…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document distinguishes common ways to represent an interest rate curve. Par space displays par swap rates across maturities, zero space displays zero coupon swap rates, and forward space displays rates applying over future periods, often three-month…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document examines how to bootstrap a zero coupon spot curve from Treasury yields and coupon bonds. Short Treasury bill maturities with no coupons provide initial discount rates. For longer maturities, the bond price is decomposed into the present value…

Fixed incomeStatistics
Quant Q&A

The document explains how to mark a forward-starting interest rate swap after the trade date. Its central point is that a 2Y1Y swap entered on day T is a contract with specified future effective and termination dates and an agreed fixed rate. On a later…

Fixed incomeDerivatives pricingRisk managementBacktesting
Quant Q&A

The document investigates why a fixed-rate bond yield calculated in QuantLib does not exactly match the input yield after the bond price is computed and then used to recover the yield. The example prices a bond from a specified yield, then calls the…

Fixed incomeBacktestingStatistics
Quant Q&A

The exchange explains why the scale parameter U(t) in a stated Black-Derman-Toy short-rate representation is the median of the short-rate distribution at time t. The rate is expressed as U(t) multiplied by an exponential term involving volatility and…

Fixed incomeDerivatives pricingStatistics