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
Quantpedia
86 documents
TqSdk
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 document addresses how to compute the second derivative of the logarithm of market discount factors in the Ho–Lee interest-rate model’s calibration function. Since observed discount factors are discrete values rather than a continuous formula, the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document distinguishes realized profit on a consumer loan from the estimate made when the loan is issued. After repayment, the bank can compare the loan’s return with its cost of capital over the loan period. Before the outcome is known, the…

Fixed incomeRisk managementStatistics
Quant Q&A

The document frames a hedging comparison for an American issuer with Canadian-dollar bonds and an existing USD/CAD fixed-for-floating swap. The issuer wants to hedge the swap’s floating FX leg, choosing between an FX basis swap and a series of three-month FX…

ForexFixed incomeRisk management
Quant Q&A

The answer distinguishes a bond’s quoted clean price from the dirty price paid in a secondary-market transaction. The clean quote excludes accrued interest; the dirty proceeds include accrued interest through settlement and may also reflect adjustments for…

Fixed incomeDerivatives pricing
Quant Q&A

The document considers how to express floating-rate bond sensitivities, including BR01, when discounting and coupon curves are built from different instruments. It proposes representing the input sensitivities as a vector and mapping them into a chosen risk…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The document considers how to represent a reported correlation between interest rates and S&P returns. It notes that geometric Brownian motion is often used for equities, while interest rate models commonly need to keep rates positive and capture mean…

Fixed incomeEquitiesStatistics
Quant Q&A

The document explains cheapest collateral in a collateral optimization setting where a party can choose which asset to post. For securities, one view is that the economically cheapest asset is the one with the highest repo funding rate: delivering it avoids…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document outlines a simulation-based approach to counterparty and own-credit valuation adjustments for an inflation-linked swap. It proposes dividing the valuation horizon into intervals, generating future CPI paths calibrated to a forecast and…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

The document explains how to estimate the compounded floating payment on an EONIA swap. The realized rate compounds daily fixings over the accrual period, with the day count for each fixing reflecting how long it applies. Before those fixings are known, the…

Fixed incomeDerivatives pricingCarry
Quant Q&A

The document asks how to obtain LIBOR rates whose reset or maturity dates fall between the model’s predefined dates. It presents two approaches: use an arbitrage-free interpolation scheme designed for the displaced-diffusion LIBOR Market Model, or bootstrap…

Fixed incomeDerivatives pricingArbitrageVolatility
Quant Q&A

The document describes how to mark an existing vanilla swap to market after time has passed while preserving its original cash-flow dates and maturity. Rather than rebuilding the swap with shifted schedules, the approach is to retain the swap object, advance…

Fixed incomeDerivatives pricingBacktestingRisk management
Quant Q&A

The document considers whether a point-in-time probability-of-default model can include macroeconomic variables whose effects arrive more than a year later. Its example models next quarter’s default rate using the current default rate and a lagged change in…

StatisticsRisk managementFixed incomeMachine learning
Quant Q&A

This explanation frames interest rate parity as a covered arbitrage linking spot FX, borrowing and lending in two currencies, and a forward FX trade. The parity relationship requires rates that match the financing costs of the arbitrage. Historically,…

ForexArbitrageFixed incomeDerivatives pricing
Quant Q&A

The document explains who can sell credit default swap protection on debt. Its central distinction is that CDS protection references debt securities, rather than an issuer’s general assets. A company cannot sell protection on its own debt, but it may sell…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document discusses validating a user-built Libor Market Model implementation when calibration to market volatility inputs does not reproduce cap prices. It recommends separating implementation errors from market-data or calibration problems by first…

Fixed incomeDerivatives pricingVolatilityStatistics
Quant Q&A

The document explains why a live interest rate swap valuation can request historical index fixings on dates that differ from the schedule dates shown in QuantLibXL. The schedule dates correspond to coupon value dates, while the floating coupon needs the…

Fixed incomeDerivatives pricing
Quant Q&A

The document derives the instantaneous forward rate from the continuously compounded zero-coupon spot yield curve. It equates a bond’s price expressed using its maturity-specific spot rate with the same price expressed as the accumulation of forward rates…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document distinguishes DV01, the dollar change in a bond's value for a unit change in yield, from interest-rate DV01, the dollar value change associated with a one-basis-point parallel upward shift in interest rates. The questioner suggests the…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The document examines whether to price a call option on a mutual fund using a risk-neutral return assumption or an estimated real-world return. It notes that historical volatility may be used when implied volatility is unavailable, but expected return…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The discussion considers how to represent a cross-currency swap whose notional changes halfway through an accrual period. One response argues that a single coupon period is normally defined using one notional, making an intra-period change ambiguous unless…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The discussion considers how to select liquid, low-cost ETFs spanning broad asset classes and regions for testing a portfolio selection algorithm. It emphasizes choosing funds that closely track indexes with long histories, so older index data can extend a…

BacktestingPortfolio constructionMulti-assetEquities
Quant Q&A

The document describes a QuantLib-Python construction error caused by passing simple cash flows to a Bond constructor that expects a leg of coupons. The proposed correction is to represent scheduled interest payments as fixed-rate coupons, with payment…

Fixed incomeDerivatives pricing
Quant Q&A

The document clarifies how market implied volatility surfaces for caps and European swaptions relate to pricing more complex interest rate derivatives. A quoted surface represents vanilla option prices under a chosen convention or simple model, such as…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why the relationship between equity prices and interest rates changes with the economic backdrop. It contrasts the familiar channel in which higher borrowing costs weigh on firms with conditions where stronger growth lifts earnings…

EquitiesFixed incomeMulti-assetStatistics