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 document frames the model-selection problem for pricing vanilla swaptions on fixed-versus-floating or floating-versus-floating legs. Requirements include multiple floating-rate tenors, OIS and LIBOR legs across currencies, mid-curve structures, and both…

OptionsFixed incomeDerivatives pricingVolatility
Quant Q&A

This document presents a bond portfolio duration calculation and asks how to hedge its interest-rate exposure with a fourth bond. The accepted answer distinguishes Macaulay duration, which measures the weighted timing of cash flows, from modified duration,…

Fixed incomeRisk managementPortfolio constructionDerivatives pricing
Quant Q&A

The document clarifies how long and short CDO tranche positions relate to credit exposure and credit protection. For cash CDO tranches, an investor buying a tranche takes on credit exposure and receives a spread as compensation. For a synthetic CDO, the…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document examines the basis risks in a SEK–USD cross-currency swap collateralized in euros. It reasons from the collateral currency: discounting the SEK cash flows may involve a SEK–EUR basis, while discounting the USD cash flows may involve a USD–EUR…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document raises a question about using a non-flat term structure when pricing options on bonds with a normal short-rate model. The author describes a proposed mapping for a ten-year bond: at each future point before maturity, use a zero-coupon yield…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document explains the economic reason bid and ask sides may appear reversed when deriving implied interest rates from an FX forward. A long AUD forward is described as a sequence: borrow USD, exchange USD for AUD at spot, and lend AUD. Each leg has its…

ForexFixed incomeDerivatives pricingMarket microstructure
Quant Q&A

This exchange asks why a German government bond future can have a quoted price far above the price of a cash government bond. The question considers yield-curve expectations, quotation conventions, and carry, and wonders whether coupon payments should make…

Fixed incomeFuturesCarry
Quant Q&A

The discussion explains how price alignment interest (PAI), paid on variation margin, changes the funding interpretation of cleared interest rate swaps. With perfect collateralization, where collateral tracks the derivative’s net present value, the…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The discussion identifies potential benchmarks for US corporate and Treasury bond strategies over a historical daily sample. It distinguishes an investable exchange-traded fund from the index it tracks: the fund’s price history begins later, while the…

Fixed incomeBacktestingUS markets
Quant Q&A

The note explains why multiplying the Vasicek short-rate SDE by the deterministic factor e^{at} produces the differential d(e^{at}r_t). Using the Itô product rule for e^{at} and r_t, the differential is the sum of e^{at}dr_t and r_t d(e^{at}). Since the…

Fixed incomeStatistics
Quant Q&A

This discussion addresses European swaption pricing under normal volatility, including how to derive a receiver swaption value from a payer value and whether an at-the-money strike equals the forward swap rate. The answer identifies the Bachelier formula as…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

This discussion examines a negative yield returned by QuantLib for a fixed-rate bond when the user expected a small positive yield. The replies identify several input and convention issues to check: the coupon is divided by 100 after already being described…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to price a long-maturity fixed-for-floating interest rate swap when the available LIBOR curve quotes extend only to short maturities. Its answer is to use quoted market swap rates beyond the end of the Eurodollar futures strip,…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document works through the normalized gains process for a stock paying continuous dividends, using a bank account as numeraire. It starts with geometric Brownian motion under the real-world measure, applies a change of measure, and identifies the…

Derivatives pricingStatisticsFixed income
Quant Q&A

The document explains how interest rate derivatives use historical index fixings for dates already observed and projection curves to estimate future fixings. It then considers valuing a derivative at a simulated future date, when the fixing history available…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document offers two book recommendations in response to a request for an accessible introduction to options derivatives. One answer points to a broad derivatives textbook covering options and futures. Another recommends a book on interest rate models,…

OptionsFixed incomeDerivatives pricing
Quant Q&A

The document asks how to handle bonds that mature while backtesting a fixed-income portfolio strategy, particularly when trying to reproduce a published study. It focuses on how a maturing bond contributes to returns and how the portfolio should account for…

Fixed incomeBacktestingPortfolio construction
Quant Q&A

The question considers how to invest a large sum that will arrive at the end of year two and remain invested for two years. It provides continuously compounded zero-coupon yields across maturities and asks which approach offers the safest real-term…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how interest is handled when one party posts a US Treasury security as collateral for a derivatives contract. Unlike cash collateral, which may be returned with an explicit interest payment, securities collateral generally does not…

Fixed incomeDerivatives pricingMarket microstructure
Quant Q&A

The document considers whether a noisy Ornstein–Uhlenbeck process with a moving reference band and a cooldown period has a financial interpretation. The band is reset when the process exits it, while a dead period prevents another update for a fixed time.…

Fixed incomeMean reversionMarket makingExecution
Quant Q&A

The document distinguishes a decline in Federal Reserve mortgage-backed security holdings from the broader meaning of tapering. It explains that tapering generally refers to slowing the pace of asset purchases. A reduction in the Fed’s monthly MBS buying…

Fixed incomeUS markets
Quant Q&A

The document examines a mathematical issue in deriving the expected value of the Cox–Ingersoll–Ross short-rate process. Applying Itô’s lemma to an exponentially scaled rate gives a drift term that leads to the familiar expected-rate expression, provided the…

Fixed incomeStatistics
Quant Q&A

The document explains how to estimate pre-settlement risk, or potential future exposure (PFE), for a five-year interest rate swap. Although its question asks whether payments from the counterparty should be constant, the answer clarifies that exposure is the…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

The document explains why a swap-based reference curve can be suitable for pricing USD interest-rate instruments, while emphasizing that the spread measure often matters more than the curve choice. It distinguishes the I-spread, which compares a bond’s yield…

Fixed incomeDerivatives pricingRisk managementStatistics