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 asks which date convention to use when discounting bond cash flows whose interest accrual date and payment date differ, such as when a scheduled date falls on a holiday or payment is contractually delayed. It contrasts the date when an amount is…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to infer a fair level for a 3s1s single-currency basis swap from one-month and three-month LIBOR and OIS levels, including how to hedge stub exposure when LIBOR is not directly tradable. The answer cautions that the 3s1s basis does not…

Fixed incomeDerivatives pricingCarryRisk management
Quant Q&A

The document asks whether futures on the same bond or equity index have different risk profiles when they mature on different dates. The answer says maturity effects depend on the underlying and the length of the available futures curve. For equity index and…

FuturesFixed incomeCommoditiesVolatility
Quant Q&A

The document explains how to interpret corporate bond prices when calculating periodic returns. Coupon bonds are commonly quoted at a clean price, which excludes accrued coupon interest. Adding accrued interest gives the dirty price paid at settlement or…

Fixed incomeRisk managementStatistics
Quant Q&A

The document examines how to interpret a swap zero rate when comparing it with rates implied by a strip of short-term interest-rate futures. It cites a textbook example that compounds four quarterly futures-implied forward rates into a cumulative rate, then…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document poses a fixed-rate payer’s question about valuing an interest rate swap position with one year of duration. It asks whether a fall in the quoted swap rate from 15% to 14% means the position earns a 1% return, and whether a cumulative return…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains what a zero floor on interest paid on cash collateral means in a derivative collateral agreement. Such agreements specify a reference rate for the collateral currency; the answer gives Fed Funds for US dollar collateral and Eonia for…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks how to obtain market quotes for CME-cleared SOFR swaps when available Bloomberg SOFR swap rates represent LCH-cleared swaps. The proposed construction is to combine the LCH swap rate with the LCH-CME basis, while the question asks whether…

Fixed incomeFuturesUS markets
Quant Q&A

The document describes an attempt to reproduce John Hussman’s recession warning criteria using public US economic and market data. The proposed signal combines widening credit spreads, a six-month decline in the S&P 500, weak or moderating ISM purchasing…

US marketsFixed incomeEquitiesBacktesting
Quant Q&A

The answer explains how a zero-coupon bond discount factor relates to a sequence of forward rates. Its replication argument describes rolling an investment through consecutive periods, using each period's forward rate as the rate available today for that…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how to estimate a credit index’s market beta when the index’s spread sensitivity, expressed as CD01, varies over time. It starts from a linear relationship between spread returns and market returns. If index returns scale with spread…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document asks how to price options on one-month and three-month SOFR futures when the futures themselves are settled daily. It reasons that daily settlement makes a futures price a martingale under the risk-neutral measure because gains and losses are…

OptionsFuturesFixed incomeDerivatives pricing
Quant Q&A

The document derives a simplified fair spread for a credit default swap using a constant hazard rate, constant recovery, and constant discount rate. It approximates scheduled premium payments with a continuous premium leg and assumes protection is paid at…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document examines whether the short rate derived in a Heath-Jarrow-Morton framework is Markovian. It gives an expression for the short rate in terms of the initial forward curve, a volatility-dependent drift integral, and a stochastic integral. It then…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document explains how to obtain a LIBOR rate from a simulated short-rate model. Such models specify zero-coupon bond prices as functions of the current short rate; in an affine model, the bond price has an exponential form involving time-dependent…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document addresses why the market price of risk in a short-rate model can be defined using bond dynamics yet remain independent of bond maturity. A bond price is treated as a function of the short rate; applying Itô’s lemma gives its drift and diffusion.…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document derives how adjacent three-month forward rates can be compounded to calculate an implied rate spanning a six-month accrual period. It expresses each forward rate through zero-coupon bond prices, combines the discount-factor ratios, and…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how put-call parity applies to American options on assets that make no distributions, including options on Treasury note futures. It gives the standard inequality for the difference between American call and put prices: that difference is…

OptionsDerivatives pricingFixed income
Quant Q&A

The note derives a simplified bond valuation under a flat risk-free rate and a constant default intensity. It links the credit spread to default intensity through the assumed recovery rate: intensity equals spread divided by one minus recovery. The dirty…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The note frames pension risk as uncertainty in capital, defined by the difference between assets and liabilities. A long-horizon VaR estimate must account for the fact that these sides evolve differently: assets are often fund investments that managers…

Risk managementFixed incomeMulti-assetStatistics
Quant Q&A

The note explains that a bondholder report’s “position” may describe the bond’s original face amount rather than its current market value or remaining principal. Its example distinguishes a bond’s stated face amount from principal left after amortization: a…

Fixed income
Quant Q&A

The document introduces specialised lending as corporate lending repaid primarily from income produced by a financed asset. Its example is a mall held through a special-purpose vehicle, where rental income services the debt. It asks whether these…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document considers which overnight deposit rate to use at the short end when building a Japanese yen overnight indexed swap discount curve: an offshore JPY deposit rate or an onshore Bank of Japan deposit rate. Its central principle is to select the rate…

Fixed incomeDerivatives pricing
Quant Q&A

The document distinguishes conventional USD overnight index swaps from related basis swaps and compares swaps referencing the Effective Federal Funds Rate (EFFR) and SOFR. A classical OIS exchanges a fixed rate for a floating rate built from daily overnight…

Fixed incomeDerivatives pricingUS markets