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 note addresses how to estimate a company’s current pre-tax cost of debt when its outstanding bond trades above face value. The example gives a long-dated bond with a stated coupon, face value, and higher market price, and asks whether the coupon rate…

Fixed incomeDerivatives pricing
Quant Q&A

The note explains why credit default swap indices are often used to gauge corporate bond markets. It separates a risky bond’s yield into a risk-free government yield and a credit spread, the extra return investors demand for default risk. A CDS protection…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how two borrowers with different fixed and floating borrowing spreads can create gains by borrowing in the markets where each has a relative advantage, then exchanging interest payments through a swap. One firm has lower borrowing costs…

Fixed incomeDerivatives pricingArbitrage
Quant Q&A

This note shows how to derive the diffusion of a zero-coupon bond price from the martingale property of its discounted value under a risk-neutral measure. Starting with the discounted bond as a stochastic integral against the transformed Brownian motion, it…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

This answer distinguishes pricing carry from roll-down for an interest rate swap. A swap has no intrinsic purchase funding cost in the same way as a security because entering a par swap requires no initial cash outlay. For a cleared, collateralized swap,…

Fixed incomeCarryDerivatives pricingRisk management
Quant Q&A

This note explains one interpretation of a futures contract’s matched-maturity asset swap spread. The proposed trade pairs the futures position with a forward-starting interest rate swap beginning on the contract’s first delivery date and ending when the…

FuturesFixed incomeCarry
Quant Q&A

The document poses a derivative-pricing question: how to set a fair premium for an option whose payoff depends on the writer’s own credit default swap spread. It highlights a central complication: the writer cannot hedge the exposure in the usual way by…

Derivatives pricingFixed incomeRisk management
Quant Q&A

The discussion explains how a carry expression based on the spot and forward prices of a fully funded position relates to a bond’s one-period return. Under the simplifying assumption that yield to maturity stays unchanged, the bond’s value at the next date…

Fixed incomeCarryDerivatives pricing
Quant Q&A

The document explains how Bloomberg’s PX_BID and PX_ASK fields relate to bid and ask quotes. For current reference queries, contributors describe them as static values reflecting the bid and ask when the data is requested, with the underlying quote sourced…

Market microstructureExecutionEquitiesFixed income
Quant Q&A

The document clarifies how to combine bonds to immunize a liability using present value and Macaulay duration. Duration is not added directly across assets: a portfolio’s duration is the value-weighted average of the component durations. To form a linear…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document discusses liquidity and payment conventions for cleared USD overnight index swaps referencing SOFR. It points readers to market commentary for tenor-level volume information, but does not reproduce those data or identify which maturities are…

Fixed incomeDerivatives pricingUS markets
Quant Q&A

The document answers whether alternatives to the DXY can track the dollar against emerging market currencies. It describes Federal Reserve H.10 trade-weighted emerging-market currency indices, available in nominal daily and monthly forms, with a CPI-adjusted…

ForexMulti-assetFixed incomeStatistics
Quant Q&A

A credit curve describes credit pricing across maturities, while a CDS curve is the version built from credit default swaps for one reference entity. Credit curves can also differ by instrument and debt seniority, so bonds, loans, and CDS may not align…

Fixed incomeDerivatives pricingMarket microstructure
Quant Q&A

The note explains why an at-the-money call swaption priced under Black-76 has an upper bound, an issue that can arise when inferring implied volatilities from market premiums. In Black-76, the discounted forward swap rate plays a role analogous to the stock…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The note resolves a notation misunderstanding in a discussion of calibrating the Libor Market Model to swaptions. The indexed quantity V(a,b) refers to a swaption with option expiry at tenor date T(a) and an underlying swap running to T(b). The index zero…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The note explains why practitioners often treat the SABR beta parameter as fixed rather than estimating all model parameters together. Beta shapes the underlying forward-rate dynamics: beta equal to one corresponds to a lognormal specification, zero to a…

Fixed incomeVolatilityDerivatives pricingOptions
Quant Q&A

The document investigates why rates produced by a QuantLib bootstrap from USD SOFR overnight indexed swaps differ from the market quotes. The question includes a rate table, instrument conventions, and code that builds the curve with OISRateHelper, then…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

The note describes practical ways to estimate fair value for off-the-run Treasury securities, which trade less actively than benchmark issues. One approach marks them at spreads to liquid on-the-run securities or futures’ cheapest-to-deliver bonds. Market…

Fixed incomeUS marketsDerivatives pricingMarket microstructure
Quant Q&A

The note distinguishes price delta and gamma for options on bond futures from interest-rate delta and gamma. Price delta measures how an option’s value responds to a change in the futures price; the response explains that interest-rate delta generally refers…

OptionsFuturesFixed incomeRisk management
Quant Q&A

The document explains how yield and discount curves relate when pricing a European call with QuantLib. In the Python example, a Black–Scholes–Merton process receives an underlying quote, a dividend curve, a risk-free curve, and a volatility term structure.…

OptionsDerivatives pricingFixed income
Quant Q&A

The document discusses ways to compare non-callable government bonds from the same issuer when coupons and maturities differ. It raises the problem that raw yield comparisons can mix relative value with coupon effects and curve exposure, and that duration…

Fixed incomeStatisticsRisk management
Quant Q&A

The document raises a conceptual question about when funding costs belong in a portfolio's present value. It contrasts several familiar finance examples: put-call parity portfolios containing options and bonds, a futures strategy that invests the present…

Derivatives pricingArbitrageFixed income
Quant Q&A

The document explains why the CDS-bond basis could be close to zero before the global financial crisis even though funding was not free. The answer attributes this to the relative funding costs of the two positions: before the crisis, holding a cash bond and…

Fixed incomeArbitrageRisk management