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
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 explains how the issuer-pay model may apply to sovereign credit ratings. A rating agency can offer a rating to a government for a fee, while the government can decline. The agency may still publish a rating without payment, for example to make…

Fixed incomeRisk management
Quant Q&A

The note outlines ways to offset interest-rate exposure in a corporate bond using interest-rate futures or swaps. For a futures hedge, it recommends comparing the bond’s DV01 with the DV01 of the futures contract’s cheapest-to-deliver bond, using a contract…

Fixed incomeFuturesRisk managementPosition sizing
Quant Q&A

The question compares two ways to discount 48 monthly payments when the available investment return is stated as 2% per year. One approach divides the annual rate by twelve and then applies another fractional-period exponent; the proposed solution instead…

Fixed incomeStatisticsRisk management
Quant Q&A

The discussion offers two rough ways to assess whether a convertible bond may be inexpensive. One is to compare its market price with the value of a comparable straight bond, which isolates the premium paid for the embedded conversion feature. The premium is…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The discussion considers how to estimate loss given default (LGD) for agency mortgage-backed securities when a capital framework requires a figure despite the perception that the agencies have not defaulted. It suggests non-agency prime residential MBS as a…

Fixed incomeRisk managementStatistics
Quant Q&A

This note explains why a bond’s clean price calculated with a z-spread may differ from a target market price even when the spread solver appears to converge. The example builds a fixed-rate bond and derives a spread with QuantLib’s BondFunctions.zSpread…

Fixed incomeDerivatives pricing
Quant Q&A

The document compares forward-rate dynamics in Hull’s LIBOR market model (LMM) and Brigo and Mercurio’s formulation. Hull’s displayed equation uses a single Brownian driver, so the drift term has no separate correlation coefficient: dependence is implicit in…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The document addresses how to derive forward-price dynamics when both the underlying asset and interest rates are stochastic. One response applies Itô’s lemma to a function of time, spot price, and rate, including the rate’s variance and the covariance…

Derivatives pricingOptionsFixed incomeStatistics
Quant Q&A

The document explains why option rho is generally positive for calls and negative for puts as interest rates rise. It connects call sensitivity to put-call parity: a call can be viewed as a synthetic combination that includes exposure to the underlying and a…

OptionsDerivatives pricingVolatilityFixed income
Quant Q&A

The document distinguishes pricing a finite-maturity coupon bond from valuing an infinite-lived stream of coupons. For the example, a bond with a $1,000 face value pays $100 annually for ten years. If the discount rate falls to 5%, its price is the present…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to price a fixed-to-floating bond in QuantLib when the library documentation does not appear to provide a dedicated instrument class. The proposed workaround is to price the fixed-rate portion as a fixed-rate bond ending on the switch…

Fixed incomeDerivatives pricing
Quant Q&A

The discussion explains how much issuer information can sometimes be inferred from a bond’s ISIN, particularly for US securities carrying a CUSIP. A CUSIP contains an issuer portion, an issue identifier, and a check character; a corresponding US ISIN…

Fixed incomeStatistics
Quant Q&A

The document describes how to locate bond yield datasets for analysis in R. It recommends searching a financial data catalog for yield series, identifying a dataset such as a US Treasury yield curve, and retrieving it over a chosen date range in a…

Fixed income
Quant Q&A

The discussion explains that FX forward points reflect the interest rate differential between two currencies, while the all-in forward price combines spot with those points. Changes in short-term money-market rates and funding conditions affect the points,…

ForexCarryFixed income
Quant Q&A

The discussion addresses how to reproduce credit default swap valuations from Bloomberg using QuantLib or the ISDA Standard CDS model. It points to a QuantLib example that reportedly reproduces Markit prices closely and to the ISDA model source code as a way…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains how to estimate the mark-to-market value of a credit default swap (CDS) after its market spread changes. It presents an approximation for a short-protection contract: multiply the difference between the contract coupon and current…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains an apparent decline in regulatory credit-risk capital as a loan’s probability of default rises. The calculation described separates expected loss, based on default probability and loss given default, from unexpected loss, then applies a…

Risk managementStatisticsFixed income
Quant Q&A

The document addresses a constructor error encountered while setting up swap rate helpers for a Canadian-dollar rate curve. The example passes the CDOR class where the helper expects an index object, and omits a required spread argument when supplying later…

Fixed incomeDerivatives pricing
Quant Q&A

State prices are the current values of claims that each pay one unit in exactly one state and nothing in the others. To infer them from traded assets, each state-specific payoff must be replicable by a portfolio of those assets. The example has a bond paying…

Fixed incomeEquitiesPortfolio constructionDerivatives pricing
Quant Q&A

A credit default swap spread is set by market trading and reflects participants’ views about both the reference entity’s likelihood of default and the recovery value of its debt after default. Because recovery assumptions affect the protection buyer’s…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document introduces asset-backed securities (ABS) and mortgage-backed securities (MBS), including structures such as collateralized mortgage obligations and collateralized loan obligations. It frames these products as difficult for retail investors…

Fixed incomeDerivatives pricingDeFiRisk management
Quant Q&A

The document surveys discrete-time short-rate models and whether their structure permits negative rates. It lists Cox–Ingersoll–Ross, Black–Derman–Toy, Black–Karasinski, exponential Vasicek, and Hull–White among models designed to keep rates nonnegative, and…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how corporate tax payments and Treasury debt issuance can reduce cash available to banks and money markets. Corporations may hold funds in short-term investments that flow through money market funds into repo lending. Paying taxes pulls…

Fixed incomeMarket microstructureRisk management
Quant Q&A

The discussion relates bond duration to a cash-flow-weighted average payment time. For ordinary positive cash flows, the discounted payments divided by the bond value can be interpreted as probabilities. When a portfolio includes a negative net cash flow,…

Fixed incomeStatistics