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 explains how to calculate the yield to maturity of a semiannual coupon bond when the valuation date falls between coupon dates. It converts the quoted price from fractional bond notation into a decimal price, then identifies the timing issue in…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document compares academic optimal-control models, especially Avellaneda–Stoikov, with the concerns a practitioner might face. The question highlights inventory-based quote skew, model complexity across many assets, and omitted inputs such as predictive…

Market makingMarket microstructureExecutionEquities
Quant Q&A

A payer swaption gives its holder the right to enter a swap in which fixed is paid and floating is received. The discussion clarifies the option’s rate and bond-price interpretation: a payer swaption behaves like a call on the future swap rate and a put on a…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

The document contrasts two possible paths for conditional default probabilities derived from cumulative default probabilities: a declining sequence and a rising sequence. It explains the declining pattern with a structural corporate finance intuition. A firm…

Fixed incomeRisk managementStatistics
Quant Q&A

The document explains how to price a zero-coupon bond at an intermediate time in the one-factor Hull–White model and debug a QuantLib simulation. The bond value is expressed as a time-dependent factor multiplied by an exponential function of the current…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

The document describes fitting a credit-rating transition matrix as a convex blend of a base matrix and a stress matrix. A single scalar weight determines the blend, and the proposed objective is the sum of squared cell-by-cell differences from an observed…

Fixed incomeStatisticsBacktesting
Quant Q&A

The discussion explains how a known discount margin (DM) can be used to estimate the price of a floating-rate note. For a simple floater, DM can be understood as the reference index plus the coupon spread and an additional yield component reflecting any…

Fixed incomeDerivatives pricing
Quant Q&A

The end-of-month Boolean in QuantLib date helpers determines how a tenor is added when a start date falls at month end. With the rule enabled, adding one month to June 30 produces July 31; with it disabled, the resulting date is July 30. This convention can…

Fixed incomeDerivatives pricing
Quant Q&A

The document considers how to estimate daily risk-free returns for calculating excess returns on individual stocks and a broad equity market. It discusses using a three-month Treasury bill yield as a proxy, and raises a key data question: quoted yields may…

Fixed incomeStatisticsUS markets
Quant Q&A

The document contrasts the end-of-month delivery option in Treasury futures with the switch option before and after futures trading ends. Before expiry, the futures price remains variable and is driven mainly by the converted price of the cheapest-to-deliver…

FuturesFixed incomeOptions
Quant Q&A

The document considers how to use an option on a zero-coupon bond to protect a minimum yield. Its response translates a yield threshold into an approximate bond-price strike, then explains the position direction: selling a call at that strike limits the…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document explains why effective interest formulas add one to a periodic rate, multiply the resulting growth factors, and subtract one at the end. The added one represents retaining the original principal as well as earning interest during each period.…

Fixed incomeStatistics
Quant Q&A

The document examines the parallel-shift assumption behind aggregating bond durations into a portfolio duration. It distinguishes shifts in the zero-rate curve from equal changes in the yields to maturity of individual coupon bonds, noting that coupon-bond…

Fixed incomeRisk managementStatistics
Quant Q&A

The document examines the rare case where extending the maturity of a low-coupon bond trading at a deep discount can reduce its Macaulay duration. Duration is a present-value-weighted average payment time, so the maturity date alone does not determine…

Fixed incomeStatistics
Quant Q&A

The document asks whether Bloomberg’s cash flow generator for newly issued collateralized loan obligations is suitable for discounted cash flow valuation. The responses describe the tool as translating the cash flow waterfall documented in a CLO’s…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document describes a finite-difference approach to effective duration for an interest rate instrument with optionality. The practitioner prices the instrument using a model calibrated to a discount curve and at-the-money swaption volatilities, shifts the…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

A single-look CMS spread option pays on the difference between two forward constant-maturity swap rates relative to a strike on one expiry date. A CMS spread cap or floor instead consists of options settling on multiple dates. Both structures can express a…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document explains how to select the interest rate input in Black–Scholes pricing. In the basic model, the rate represents short-term risk-free funding over the option’s life; a continuously compounded government bill yield with a maturity near the option…

OptionsDerivatives pricingFixed income
Quant Q&A

A total return swap (TRS) exchanges an asset’s returns, including price changes and income, for financing payments. The asset leg is valued from the asset’s current price and accrued returns through the valuation date; expected future gains are not…

Derivatives pricingEquitiesFixed incomeCarry
Quant Q&A

The document contrasts rational exercise models with behavioral approaches for embedded options, such as mortgage refinancing rights and callable corporate debt. Borrowers and issuers may exercise based on private circumstances, including personal finances…

OptionsFixed incomeDerivatives pricing
Quant Q&A

This discussion surveys day-count conventions used to calculate interest accruals across bonds, money markets, floating-rate notes, and other instruments. It lists examples such as 30/360, Actual/360, Actual/365, Actual/Actual, and Brazil’s Business/252,…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how to express a Bachelier caplet as the difference between an asset-or-nothing payoff and a cash-or-nothing payoff. Under the stated forward-measure setup, the cash digital component is proportional to the strike times the probability…

Fixed incomeOptionsDerivatives pricingStatistics
Quant Q&A

The document describes a proposed stress-testing exercise for a zero-coupon yield curve built from daily observations. The curve combines a money-market-based short tenor with longer tenors interpolated from secondary-market Treasury rates. The author…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The response explains why a volatility surface matters when pricing a Bermudan swaption, an option exercisable on specified dates. It first clarifies that a Bermudan contract need not be exercisable from the beginning of its life, then outlines a model-based…

OptionsFixed incomeVolatilityDerivatives pricing