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 a bank can issue debt that counts toward regulatory capital despite still being a liability. It clarifies that “Basel-compliant bond” is imprecise: the example bonds are described as qualifying for Tier 2 capital under regulatory…

Fixed incomeRisk management
Quant Q&A

The document explains that dealers use repurchase agreements to finance Treasury inventories and to support reverse-repo lending to clients. In a repo, a dealer receives cash against securities, while a reverse repo provides cash to a client against…

Fixed incomeMarket microstructureRisk managementCarry
Quant Q&A

The document considers whether a high-coupon bond’s elevated price and Z-spread signal mispricing. It presents two ways to make comparisons across bonds with different coupons. Where principal and coupon strips are actively priced, a Treasury note’s price…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document identifies Federal Reserve purchases of mortgage-backed securities as one component of quantitative easing and asks where to find the amounts bought or sold. The accepted response points to the Federal Reserve Bank of New York’s System Open…

Fixed incomeUS marketsEvent-driven
Quant Q&A

The response explains how to obtain the function A(t,T) in the one-factor Hull–White interest-rate model. Starting from the differential equation governing A, it divides by A to express the equation in logarithmic form. Integrating between the current time…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

This example explains how to infer unobserved spot rates from coupon-bond prices when market inputs exist only at selected maturities. The setup assumes continuously compounded spot rates, known rates at earlier coupon dates, and a known price for a…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The discussion outlines a practical way to build a SOFR discount curve using term SOFR fixings for shorter maturities and fixed-versus-SOFR swaps for the longer end. It describes the swap legs as annual fixed payments on an Actual/360 basis and overnight…

Fixed incomeFuturesDerivatives pricingUS markets
Quant Q&A

The document presents a question about converting a hypothetical spot curve into par rates across short and long tenors. It describes a short-tenor formula using the discount factor for that maturity and a day-count adjustment, then a longer-tenor formula…

Fixed incomeStatistics
Quant Q&A

This document asks which interest rate belongs in a Black–Scholes option valuation, distinguishing a bank funding rate from a short rate associated with the underlying stock. The answers describe the theoretical input as a risk-free rate matched to the…

OptionsDerivatives pricingFixed incomeStatistics
Quant Q&A

The document explains how to estimate P&L for a position long a government bond and paying fixed on an interest rate swap. It starts with each leg’s DV01 and its yield change: multiplying them gives the bond and swap P&Ls, which sum to the trade’s total. A…

Fixed incomeDerivatives pricingRisk managementPosition sizing
Quant Q&A

The document works through a derivation for the protection leg of a credit default swap. The payment at default is the notional amount multiplied by one minus the recovery rate, discounted from the valuation date to the default time, and counted only if…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion examines whether an unexpected rise in inflation should prompt investors to reduce a conventional stock-and-bond allocation. Its central point is that 60/40 is not inherently optimal: portfolio weights depend on investor objectives, risk…

Multi-assetEquitiesFixed incomePortfolio construction
Quant Q&A

The document explains how to think about exposure for an interest rate swap whose mark-to-market is settled and whose fixed rate is reset to the prevailing rate for the remaining term. At the reset, the swap’s value is zero because the new fixed rate…

Fixed incomeRisk managementStatistics
Quant Q&A

The exchange considers whether derivatives with floating LIBOR payments would remain valid if the benchmark were found to have been manipulated. Its central point is that contractual wording matters: some agreements may identify a published screen value,…

Fixed incomeDerivatives pricing
Quant Q&A

The document examines how to hedge a government bond portfolio against interest-rate changes with Treasury futures. It sets out a portfolio’s market value and modified duration, the deliverable bond’s duration, contract value, and a six-month rate, then…

FuturesFixed incomeRisk managementPosition sizing
Quant Q&A

The document presents a pricing reconciliation problem: a user compares a clean euro upfront amount from a market converter with a value produced by QuantLib’s ISDA CDS engine. The reported values differ slightly. The accompanying Python example builds a…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document resolves a confusion about the time-zero value of a LIBOR rate for a future accrual period. It defines the simple rate to maturity through the price of a zero-coupon bond, then compares two ways of valuing the future-period loan. The proposed…

Fixed incomeDerivatives pricing
Quant Q&A

The document asks how to choose Euler simulation time steps for forward rates under the terminal measure. A step size based on the last fixing date lands exactly on that date, but may not align with earlier fixings. The question is whether to align steps to…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document derives the bond-pricing coefficient for a short-rate process with linear drift and square-root-affine variance. It starts from the Riccati ordinary differential equation for the coefficient B, rescales B to obtain another Riccati equation, and…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The answer describes a Monte Carlo approach to value-at-risk for a bond portfolio. It recommends modeling historical yield changes through principal components, which represent curve movements such as level, slope, and curvature. Using these factors rather…

Fixed incomeRisk managementPortfolio constructionBacktesting
Quant Q&A

The document analyzes a simulation in which a long-term zero-coupon bond’s remaining-life discount rate follows a driftless Gaussian process with a fixed mean. Bond price is modeled as the exponential of the negative remaining maturity times that rate.…

Fixed incomeVolatilityDerivatives pricingStatistics
Quant Q&A

The answer explains that segregated margin calls relate to regulatory requirements for initial margin held in a segregated account. The amount to post is described as the positive excess of calculated initial margin over a regulatory threshold: if the…

Fixed incomeRisk management
Quant Q&A

The discussion reviews a paper claiming that changes in futures open interest predict returns in related asset classes, including commodities, Treasuries, and equities. One response reports that an advisory analysis found predictive evidence after…

FuturesCommoditiesFixed incomeEquities
Quant Q&A

This discussion asks how to choose a risk-free rate when evaluating a strategy with weekly returns over a year. It considers using the one-year rate at the start of the sample, averaging weekly rates, or subtracting each week’s rate from the corresponding…

Risk managementBacktestingFixed income