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 examines a simplified duration expression for a fixed-for-floating interest rate swap and relates it to the sensitivity of swap present value to a parallel rate shift. In a single-curve framework, the response writes the swap value as discounted…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

The document considers how to include daily real interest rates in a high frequency model when a long daily history is difficult to find. It presents two proxy approaches: subtract realized year-over-year inflation from a short-term nominal rate, or use…

Fixed incomeStatisticsUS markets
Quant Q&A

The document derives the restrictions imposed by the Heath-Jarrow-Morton drift condition when the forward curve moves through parallel shifts. It assumes a curve of the form h(T−t) plus a stochastic level process, whose drift and volatility may initially…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how standard conventions determine the initial stub cash flows in a vanilla interest rate swap with annual fixed payments and semiannual floating payments. Its example starts between regular payment dates and ends on a later date, so the…

Fixed incomeDerivatives pricing
Quant Q&A

The response surveys several problems facing rates desks: systems for managing multiple curves and their risks, convexity adjustments for CMS and cash settled swaptions, forward volatility smiles, and finding opportunities in credit, structured products, or…

Fixed incomeVolatilityDerivatives pricingMachine learning
Quant Q&A

The document explains how to represent a term loan with quarterly payments, scheduled principal reductions, and a floating reference rate using QuantLib’s amortizing floating-rate bond. It shows how to construct the payment schedule, provide the outstanding…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document investigates why a bond price calculated with a simple-interest setting in QuantLib differs from a direct spreadsheet attempt. The question supplies a fixed-rate bond schedule, yield, settlement details, and a price that matches Bloomberg. The…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The discussion asks whether expected returns and volatility can be inferred from a return history alone. If expected returns are assumed to remain constant, a realized return over a period with similar starting and ending valuations may serve as a long-term…

StatisticsBacktestingVolatilityFixed income
Quant Q&A

A synthetic collateralized debt obligation packages credit default swap exposures into a basket whose losses and payments are divided by seniority. Unlike a cash CDO, it does not hold the referenced loans or bonds. Investors can take long or short exposure…

Fixed incomeDerivatives pricingRisk managementPortfolio construction
Quant Q&A

The document considers buying put options on a company’s equity as a hedge against losses on its debt. The proposed intuition is that a default could drive equity toward zero, making puts more valuable and potentially offsetting some loss given default. If…

OptionsEquitiesFixed incomeRisk management
Quant Q&A

The document explains how to build a QuantLib bond schedule when the first or last coupon period is irregular. A standard schedule constructor can generate regular dates from an effective date, maturity, tenor, calendar, conventions, generation rule, and…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains why a standard interest rate swap can be represented both as fixed and floating rate bonds and, under matching terms, as a cap minus a floor. These descriptions do not conflict: when the cap and floor share the swap rate as their strike…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The document considers a stochastic integral over a time interval whose integrand is the exponential of an accumulated deterministic function involving a constant rate and a time-varying deterministic term. It states that, although the integral generally has…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document outlines a simulation framework for estimating fixed income portfolio value at risk while accounting for both credit events and interest rate movements. It proposes jointly simulating systemic variables that influence credit outcomes and an…

Fixed incomeRisk managementPortfolio constructionStatistics
Quant Q&A

The note evaluates a proposed shortcut for revaluing a floating-rate note: adjust par by the difference between its quoted margin and a comparable instrument’s discount margin, scaled by notional. One response considers the approach plausible when the two…

Fixed incomeStatistics
Quant Q&A

The document discusses reducing a bond portfolio’s many PV01 tenor buckets to a smaller set of risk factors. It compares three transformation approaches: a transparent linear allocation between selected maturities, PCA weights that project bucket exposures…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document asks which problems remain important in stochastic financial mathematics, beyond proposing asset-price processes and studying log-return distributions. The response offers two personal research interests: pricing and hedging in incomplete…

Derivatives pricingFixed incomeRisk management
Quant Q&A

The document examines whether shorting government bond futures or entering a payer interest rate swap is the cheaper way to hedge interest rate exposure. It compares a futures position, which may benefit from pull to par, with the stated fixed and floating…

Fixed incomeFuturesRisk managementExecution
Quant Q&A

This discussion explains a market convention behind pricing a plain vanilla interest rate swap: a quoted tenor rate is understood through a constructed swap curve. Thus, pricing a swap at a given maturity means using the rate implied by the relevant curve,…

Fixed incomeDerivatives pricingMarket microstructure
Quant Q&A

This discussion explains why a protection seller’s realized mark-to-market may differ sharply from a simple estimate based on spread change times SpreadDV01. The example compares a projected gain from a credit spread tightening with the smaller change in the…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

This discussion examines a power series expansion for a zero-coupon bond price near maturity and how it is substituted into a bond pricing partial differential equation. The answer explains that the displayed groupings arise because the drift and volatility…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

This discussion considers how to value a bond whose issuer can pay coupon interest in cash or add it to the bond balance as payment-in-kind interest. It questions a simple replication using a series of put options, since unpaid coupons increase the principal…

Fixed incomeOptionsRisk management
Quant Q&A

The document clarifies timing and rate setting in a plain-vanilla interest rate swap. Payments are not typically exchanged immediately when the swap begins, and payment dates do not have to coincide with valuation dates. The fixed and floating legs may also…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The note explains how correlation between rates of different tenors in the two-factor Hull-White, or G2++, model depends on both the Brownian-motion correlation and the factors’ mean-reversion speeds. It first gives a closed-form expression for correlation…

Fixed incomeDerivatives pricingStatistics