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 document explains how credit default swap prices can provide risk-neutral default probability estimates for valuing a counterparty valuation adjustment (CVA). It frames CVA as discounted expected positive exposure multiplied by the probability of default…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

The document considers whether to constrain Monte Carlo interest-rate paths when a calibrated model produces unusually high forward rates. The model described calibrates log-normal skew and mean reversion monthly to a basket of at-the-money swaptions and…

Fixed incomeOptionsRisk managementStatistics
Quant Q&A

The document explains two ways to express a bond’s spread relative to a par rate curve. A curve-based z-spread or OAS is found by shifting the discount curve until the bond’s modeled price matches a target price. Because this repricing equation generally has…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion challenges a simple rule that declares a mortgage defaulted once a threshold share of payments is missed. A missed payment may be cured, and payment behavior can change as the borrower’s circumstances and macroeconomic conditions evolve.…

Fixed incomeMachine learningStatisticsRisk management
Quant Q&A

The document describes how to price a floating-rate bond with capped coupons in QuantLib. A discounting bond engine alone is insufficient when the cash flows include coupon options: the bond's floating-rate cash flows need an option-aware coupon pricer. The…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The document raises a practical question about implied correlation in a collateralized debt obligation (CDO). In the setup described, market spreads for individual tranches are used with a Gaussian copula model and assumptions about recoveries and default…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document addresses why a floating-rate note’s duration can correspond to the time until its next coupon payment or rate reset. The response considers the bond immediately after a coupon is fixed, when the next floating reference rate can still change. It…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The answer outlines the main choices involved in building an interest rate model. A model may describe short rates, forward rates, or more complex rates such as swap rates. The appropriate rate representation and model depend on the intended application, the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document describes ways to retrieve identifiers for bonds associated with a publicly traded company. Its main programmatic suggestion is to use Bloomberg's Python interface to request reference data for an equity and the bond-chain field, then process…

EquitiesFixed income
Quant Q&A

The answer distinguishes the instantaneous short rate modeled by CIR from a maturity-specific zero rate, which is inferred from the price of a zero-coupon bond. It notes that a model of the short rate generates bond prices and thus a term structure; a single…

OptionsFixed incomeDerivatives pricingUS markets
Quant Q&A

The document asks how to give three-month SOFR futures precedence over one-month futures when bootstrapping a term curve alongside SOFR swaps. It describes a practical selection rule: inspect the existing rate helpers for a matching pillar date before adding…

Fixed incomeFuturesUS markets
Quant Q&A

The document explains how to reuse QuantLib rate helpers and a term-structure curve when bootstrapping curves for successive dates. Rather than recreating all helper objects for every observation date, create quote objects and pass handles to them when…

Fixed incomeBacktestingStatistics
Quant Q&A

The document addresses how to value an existing repurchase agreement before maturity when market repo rates have changed. Its central point is that, in a repo with daily collateral adjustment to preserve the agreed haircut, changes in the bond’s market value…

Fixed incomeRisk management
Quant Q&A

The document explains how to adjust a portfolio so its exposure to selected principal components is neutral. It frames portfolio positions and PCA eigenvectors as vectors, with component exposures calculated by projecting positions onto the eigenvectors. For…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document explains why LIBOR was commonly used as a risk-free rate proxy before the financial crisis and why OIS became the basis for risk-free discounting afterward. Before the crisis, unsecured interbank borrowing was treated as nearly risk-free, and…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document investigates apparently incorrect signs for Bartlett deltas on options on forward interest rates. It presents code that estimates delta by shifting the forward, adjusting the SABR alpha parameter according to the forward-volatility correlation…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The document explains why a Bartlett delta calculated by bumping a forward and repricing under SABR can have the opposite sign from a conventional Black delta. Black delta holds implied volatility constant, while the finite-difference calculation in the…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The document frames how liquidity might be incorporated into a credit default swap model built around a stochastic default intensity. Survival probabilities are derived from the integrated hazard rate, while the CDS value is the difference between protection…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how to hedge an amortising interest rate swap using vanilla swaps, and why matching every fixed cashflow does not necessarily match the floating-rate exposure. Its main principle is to hedge interest-rate risk rather than force every…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The answer explains the basic structure of an FX swap as two opposite currency transactions on different dates. Depending on the dates, the pair may consist of a spot transaction and a forward transaction, or two forward transactions. It also notes that the…

ForexDerivatives pricingFixed income
Quant Q&A

The note shows how to infer a market-implied probability of a Federal Reserve rate hike from a monthly fed funds futures settlement. Because the contract settles against the average effective federal funds rate across the month, its price reflects both the…

FuturesFixed incomeStatisticsUS markets
Quant Q&A

The document discusses whether futures rolls can distort short-end yield curves built from nearby interest rate futures. A roll may create short-lived imbalances that affect observed futures prices and, in turn, the rates inferred from them. The answer…

FuturesFixed incomeMarket microstructure
Quant Q&A

The document considers zero-coupon bond prices when the yield is modeled as lognormal under a forward measure. With the bond price expressed as a function of yield and time to maturity, the resulting price distribution is a nonlinear transform of the yield…

Fixed incomeOptionsStatisticsDerivatives pricing
Quant Q&A

The document addresses whether an interest rate swap must mature on a standard tenor or can end on a date chosen by its counterparties. Its answer is that an OTC swap is bilaterally negotiated, so the parties can agree to a nonstandard maturity date,…

Fixed incomeDerivatives pricingMarket microstructure