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 a replicating portfolio approach for modelling bank deposits, particularly non-maturing deposits whose interest rates and withdrawal behavior do not match a fixed contractual maturity. It describes allocating the deposit balance across…

Fixed incomePortfolio constructionRisk management
Quant Q&A

This question examines why a corporate bond’s yield spread may not appear as the return on a portfolio formed by buying the corporate bond and shorting a Treasury bond with matching cash flows. The reply frames spread exposure in terms of the bond’s average…

Fixed incomeRisk management
Quant Q&A

The document asks how practitioners obtain corporate bond term structures grouped by credit rating, given that issuer-specific curves also reflect liquidity and other differences. The answer points to a Bloomberg curve-finding function that can display…

Fixed incomeMarket microstructureStatistics
Quant Q&A

The document explains why practitioners may use two yield factors, typically level and slope, when analyzing bond futures and deciding which deliverable bond is cheapest to deliver (CTD). A model with more factors could represent more yield-curve movements,…

FuturesFixed incomeStatisticsDerivatives pricing
Quant Q&A

The document explains why CSA discounting and OIS discounting are related but not synonymous. A CSA specifies how a derivative is collateralized, including eligible collateral, posting frequency, whether support is one-way or two-way, and transfer…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document clarifies how to interpret receiving the basis in a cross-currency basis swap when the basis is quoted on the non-US-dollar leg. It gives a negative JPY/USD basis example: the party borrowing yen pays yen Libor minus the quoted spread and…

Fixed incomeForexMulti-asset
Quant Q&A

The document analyzes a bank that cannot distinguish high-risk from low-risk borrowers and considers whether a single loan rate can attract both groups while covering expected repayment losses. It defines each group’s population weight, default probability,…

Fixed incomeStatisticsRisk management
Quant Q&A

The note explains why banks often calculate average lending rates using loan sizes as weights. This measure represents the rate earned on the average dollar lent, so a small high-rate loan has limited influence on the bank-wide figure compared with a large…

StatisticsFixed income
Quant Q&A

The document questions whether mean-variance optimization (MVO) works in practice and whether it explains the underfunding of defined benefit pension plans. The response argues that Markowitz portfolios can be numerically unstable, especially beyond two…

Portfolio constructionEquitiesFixed incomeRisk management
Quant Q&A

The document explains how to obtain forward rates when Bloomberg displays LIBOR swap-curve information. It distinguishes forward-starting swaps from spot swaps and points to Bloomberg’s forward-analysis functions for swap rates, while separate functions are…

Fixed incomeDerivatives pricingFutures
Quant Q&A

The document raises a pricing question about swaptions referencing overnight benchmarks such as SONIA, SOFR, and ESTR, in the context of the transition away from LIBOR. It asks how pricing differs from the classical single-curve swaption formula when the…

OptionsFixed incomeDerivatives pricing
Quant Q&A

The document examines two expressions for pricing a security that pays cash at two dates. One discounts the later payment using the two-year spot rate; the other discounts an expected year-one resale value using a future one-year rate. The apparent…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document addresses two credit default swap questions: whether a default involving debt other than the named reference obligation can trigger protection, and which debt may be delivered under physical settlement. It explains that a credit event on another…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how to infer an interest rate from a future cash payment and its present value. In the example, a payment of 400 due in one year has a present value of 320. The accepted answer frames the calculation through the relationship between…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document distinguishes ex-post risk premium, which can be calculated from realized returns, from ex-ante risk premium, which must be estimated and is much more difficult to predict. If the premium is assumed constant, a long historical sample can provide…

EquitiesFixed incomeStatistics
Quant Q&A

The document investigates why a QuantLib curve built from EONIA overnight index swaps differs from a Bloomberg curve. The accepted answer points to several setup choices that can affect calibration: using the appropriate fixed-leg payment frequency,…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

An extinguisher swap terminates when a specified credit event occurs. The discussion distinguishes bilateral structures, which terminate regardless of mark-to-market, from unilateral structures tied to a threshold, and describes zero-recovery and…

Derivatives pricingRisk managementFixed incomeForex
Quant Q&A

The document responds to questions about standard credit default swap contracts, interpreting very high quoted spreads, finding bank spread data, and assessing counterparty creditworthiness. It cautions that derivatives are flexible rather than fully…

Fixed incomeDerivatives pricingRisk managementMarket microstructure
Quant Q&A

The document explains how to estimate the exercise probability for a European callable interest rate swap with one call date. In a normal volatility model, the probability is framed as the chance that the forward swap rate for the remaining swap life falls…

Fixed incomeDerivatives pricingOptionsStatistics
Quant Q&A

The document addresses how to obtain a simulated term structure from short-rate paths in the one-factor Hull–White model. Rather than providing formulas for calibrating theta and the A(t) and B(t) functions, the accepted answer proposes integrating each…

Fixed incomeDerivatives pricingStatisticsBacktesting
Quant Q&A

The document considers how to calculate an interest rate for a fixed-rate loan portfolio over periods shorter than a year. Its example uses a loan repaid in equal monthly installments, with each payment divided into interest and principal repayment. The…

Fixed incomeStatistics
Quant Q&A

The document explains why a fixed-rate bond coupon can accrue through an unadjusted schedule date while its cash payment occurs on the next business day. In the example, May 1 is a holiday: the coupon accrual period still ends on May 1, but the cash flow is…

Fixed incomeStatistics
Quant Q&A

The document asks whether a firm’s coupon rate or a bond’s recent market price should determine the cost of debt used in a WACC calculation. The response explains that bond prices reflect both changes in general interest rates and changes in the issuer’s…

Fixed incomeRisk managementStatistics
Quant Q&A

The document considers which interest rates to use when testing covered interest rate parity between the euro and the US dollar. Its central point is that unsecured interbank rates, such as LIBOR and Euribor, include bank credit risk premia that can differ…

ForexFixed incomeArbitrageStatistics