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
Quantopian lectures
45 documents
Binance API docs
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 note distinguishes calculating a portfolio’s daily P&L from explaining its sources. The basic measure is the difference between today’s and yesterday’s portfolio values, but the valuation method depends on the instrument. Exchange-traded products use…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

The note explains why QuantLib floating coupons in a vanilla swap can produce fixing values that differ slightly from values queried directly from the underlying Ibor index. By default, coupon rates are estimated at par from the curve, and the forward-rate…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to interpret the inputs to a Hull–White one-factor swaption pricing function while modeling the expected exposure of an interest rate swap. It identifies expiries, floating-leg start and end times, fixed-leg payment times, day-count…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks how to illustrate the effect of model assumptions in a systemic banking-risk framework on a collateralized debt obligation payoff. The motivating setup is a mean-field model of institutional distance to default, with dynamics affected by…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explores why stock prices or price-to-book valuations may sometimes rise alongside interest rates, despite the discounting argument that higher rates reduce the present value of future cash flows. One explanation offered is a shared driver:…

EquitiesFixed incomeUS marketsStatistics
Quant Q&A

The document shows how to connect a proposed forward-rate function to zero-coupon bond prices when the short rate follows a diffusion process. Rather than applying the Feynman–Kac formula directly to the integral-differential equation for the forward rate,…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document diagnoses slow repeated valuation of an overnight indexed swap in QuantLib while advancing the evaluation date and rebuilding curves. The accepted answer identifies evaluation-date changes as the main source of the slowdown: QuantLib refreshes…

Fixed incomeDerivatives pricingExecution
Quant Q&A

The document considers where to hold cash intended for withdrawal within less than a year, with a preference for stable value and periodic income rather than exposure closely tied to the stock market. It raises money market exchange-traded funds as one…

Fixed incomeRisk management
Quant Q&A

The note examines why bootstrapped zero rates can appear below an upward-sloping par swap curve when continuous compounding is used, despite the expected relationship between par and zero curves. It contrasts a discrete annual bootstrap from par swap rates…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note asks whether a final swap accrual period shorter than a standard three-month LIBOR tenor needs a convexity adjustment. It explains that a theoretical adjustment can arise when the LIBOR end date differs from the swap coupon payment date: the forward…

Fixed incomeDerivatives pricing
Quant Q&A

The document raises a risk-measurement question about the equity tranche of a collateralized loan obligation (CLO). This tranche absorbs credit losses first and receives residual cash flows after senior claims, giving it substantial downside exposure as well…

Fixed incomeRisk management
Quant Q&A

The document discusses estimating the settlement period for collateral in non-cleared OTC derivatives, within counterparty credit risk modeling. It places settlement time inside the margin period of risk: while collateral-related cash flows accumulate, a…

Fixed incomeRisk managementStatistics
Quant Q&A

The document explains how a stochastic short-rate model can support interest-rate derivative pricing. Under risk-neutral valuation, the price of a default-free zero-coupon bond is the conditional expectation of the discount factor accumulated from the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why a basic Ho-Lee short-rate model with an initial rate and constant volatility cannot generally match discount bond prices across maturities. It illustrates the issue with a two-step binomial lattice: setting the initial rate to fit a…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how likely an at-the-money caplet is to finish in the money under real-world conditions. The questioner compares a Black-formula estimate based on the forward rate, strike, volatility, and maturity with a qualitative view: when forward…

OptionsFixed incomeStatisticsDerivatives pricing
Quant Q&A

The document explains how the usefulness of a negative option strike depends on whether the underlying can itself take negative values. For a nonnegative asset, a negative strike makes a call certain to finish in the money and a put worthless, so such…

OptionsDerivatives pricingCommoditiesFixed income
Quant Q&A

The document clarifies the difference between an Australian dollar interest rate swap’s maturity and the tenor of the floating reference rate used by that swap. A multiyear swap does not require a reference rate quoted for the same multiyear term. The answer…

Fixed incomeDerivatives pricing
Quant Q&A

The document addresses whether a bought swaption can have a negative value under parallel interest-rate curve shifts. Its answer distinguishes the value of the underlying swap from the option payoff: the swap’s value can be negative after a curve bump, but a…

OptionsFixed incomeDerivatives pricing
Quant Q&A

The document explains the half-period term in a common credit default swap spread formula. The denominator includes both premium payments made when the contract survives to a coupon date and premium accrued if default occurs between coupon dates. Because the…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks how to select the forward and strike inputs for Black-76 when interest rate futures are quoted as a price derived from an interest rate. The included response does not resolve that input convention, but reports using a Gaussian, or…

OptionsFuturesFixed incomeDerivatives pricing
Quant Q&A

The document asks how to value an American swaption with Monte Carlo simulation under a Hull–White short-rate model in QuantLib. The response offers a tree-based alternative: set up the swaption, attach a Hull–White model and a tree pricing engine, then…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document asks whether the standard one-factor Hull–White zero-coupon bond formulas assume constant mean reversion and volatility, and what to use when those parameters vary over time. The response identifies the general one-factor Gaussian short-rate…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains the distinction between a curve-building helper and a tradable cross-currency basis swap instrument in QuantLib. A user asks whether the newly available rate helper can also be used to price the swap itself. The answer says QuantLib…

Fixed incomeForexDerivatives pricing
Quant Q&A

The document describes using Bloomberg-provided discount factors to construct a QuantLib discount curve for pricing instruments such as swaps. It emphasizes that Bloomberg supplies market prices for curve-building instruments rather than one universal yield…

Fixed incomeDerivatives pricingStatisticsExecution