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 explains why Treasury spline curves fitted by different firms can produce different estimates of relative value. Curve construction involves choices about which bonds to include, how to weight observations, where to place knots, how much…

Fixed incomeStatisticsMean reversion
Quant Q&A

The document explains the drift term in a simple short-rate stochastic model and relates it to a broader family of interest-rate models. In the stated model, the drift is a constant contribution to the rate’s expected change over time, while the random term…

Fixed incomeStatistics
Quant Q&A

The document raises a pricing question about bonds with constant-maturity swap (CMS) coupons in euros, where interest rates may be negative. It asks whether the convexity adjustment from Hull, which assumes lognormal rates, can be adapted to a normal-rate…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The document explores estimating daily volatility for government bonds from open, high, low, and close prices. It notes that a daily high-low range can distinguish sessions with larger and smaller intraday fluctuations, then identifies the Garman-Klass…

Fixed incomeVolatilityStatisticsTechnical indicators
Quant Q&A

The note discusses the conditional-expectation formula that values a derivative as its future payoff discounted at the short rate under a risk-neutral measure. Its key distinction is between using a measure once it has been specified and establishing that…

Derivatives pricingRisk managementFixed income
Quant Q&A

The note applies the first fundamental theorem of asset pricing to explain why an attainable claim has the same value under every martingale measure. Given a replicating strategy, the theorem expresses its value at any time as the conditional expectation of…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains what serves as collateral in a collateralized loan obligation. A special purpose vehicle buys leveraged loans and issues debt tranches as well as a junior equity security. The loan pool is held by the vehicle; the manager is paid to…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document clarifies how USD LIBOR quote dates relate to loan periods and how business-day conventions affect swap dates. A non-overnight tenor quote is described as a forward rate whose accrual period begins two business days after the curve’s anchor…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document considers an asset-backed security with a long legal maturity and an earlier anticipated repayment date. Missing that date triggers a higher interest rate and a full cash sweep. It asks how to interpret those terms when valuing the debt,…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

The document sketches how to construct spot discount factors from short-term deposit rates and a one-year swap rate. For deposits, it uses simple interest with the stated day-count fractions to convert each quoted rate into a discount factor. It then takes…

Fixed incomeStatistics
Quant Q&A

The document asks why a fixed coupon bond appears to trade near its face value as maturity approaches, even though discounting its final principal and coupon at the stated coupon rate seems to imply a price above par. It sets out a three-year par bond…

Fixed incomeStatistics
Quant Q&A

The document discusses how bond indices handle securities that mature or are redeemed between scheduled rebalances. It distinguishes indices rebalanced daily from benchmarks rebalanced monthly, noting that performance is compared with the monthly rebalanced…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document clarifies what a mid-curve swaption measures and how it can help infer forward volatility. A mid-curve swaption measures volatility of a forward-starting swap rate, but that is not itself the forward volatility of an option whose strike will be…

Fixed incomeOptionsVolatility
Quant Q&A

The document examines how to reproduce longer-maturity continuously compounded zero rates from par OIS rates in a textbook example. Short maturities can be converted from their quoted compounding conventions directly, but the two-year and five-year…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why a bond with a long stated maturity might have a single call date only a few months before maturity. Its proposed explanation is the Liquidity Coverage Ratio (LCR), a bank regulation requiring institutions to hold liquid assets…

Fixed incomeRisk management
Quant Q&A

The document compares replication and no-arbitrage arguments for pricing a forward on an asset that pays no income. With a single fixed interest rate, holding the asset can be replicated by a forward position and cash, yielding a forward price that grows the…

Derivatives pricingArbitrageFixed income
Quant Q&A

The document considers whether recent historical bond-price volatility is suitable as the volatility input for pricing a bond option with the Black 76 model. The preferred input, when available, is implied volatility: the value that reproduces the option’s…

Fixed incomeOptionsVolatility
Quant Q&A

The document asks why risk-neutral valuation discounts cash flows using a rate described as risk-free, even when interest rates themselves can be stochastic. The response offers a market-practice explanation centered on collateralized derivative trades:…

Derivatives pricingFixed incomeRisk management
Quant Q&A

The document examines how business-day rolling of bond payments can affect coupon amounts, accrued interest, and yield to maturity. It contrasts unadjusted dates, often paired with 30/360 or Actual/Actual ICMA conventions for fixed-coupon bonds, with…

Fixed incomeDerivatives pricingUS markets
Quant Q&A

The document discusses common issues when valuing SOFR interest rate swaps in QuantLib. One problem is missing historical overnight index fixings: when valuation occurs after a swap has begun, the index needs the past observations required to determine…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks how to value the asset return leg of a total return swap referencing a convertible bond when a convertible bond mark-to-market pricer is available. It proposes decomposing the leg into coupon cash flows, the change in bond value at swap…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document compares holding a bond ETF with maintaining a long bond futures position, focusing on financing, collateral, benchmark fit, tracking, and operational demands. An ETF provides exposure to an actual managed bond portfolio, with management fees…

Fixed incomeFuturesPortfolio constructionRisk management
Quant Q&A

The document addresses whether a swap’s fixed rate remains independent of a spread deducted from its floating leg, such as LIBOR minus a stated amount. The answer explains that the par fixed rate is set so the swap’s fixed and floating legs have…

Fixed incomeDerivatives pricing
Quant Q&A

The document asks what “NPV of the deliverable swap” means in the quoted price of a MAC swap future. It contrasts the discounted-cash-flow meaning of net present value with an expectation of future cash flows, using a stock futures price as an analogy. The…

FuturesFixed incomeDerivatives pricing