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

20,364 documents

Quant Q&A

The document examines whether a forward-starting swap can be statically replicated using spot-starting zero-coupon swaps. The proposed hedge combines paying fixed on a one-year-forward, one-year swap, paying fixed on a spot-starting one-year zero-coupon…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains why the ratio of two zero-coupon bond prices, with a common valuation horizon, is a martingale under the forward measure associated with one bond. It focuses on the conditional expectation and the correct use of Bayes’ rule when…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks whether USD LIBOR can serve as a spot rate for discounting and whether a rate for a 16-day interbank loan can be estimated from overnight and one-month LIBOR. The answer emphasizes that suitability for discounting depends on the cash flows…

Fixed incomeStatistics
Quant Q&A

The document examines how to price IBOR-linked caplets and floorlets when the underlying FRA uses different day-count conventions for its floating and fixed legs. The standard Black formula multiplies the option value by one accrual fraction, but real market…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document examines why an FX data feed from OANDA, accessed through an R package, includes Saturday and Sunday observations while another data source shows business-day records. The questioner suspects that weekend values might be imputed or interpolated…

ForexMarket microstructureStatistics
Quant Q&A

The document considers calibrating an equity stochastic-volatility model alongside a stochastic short rate, with correlations among the driving processes. It explains that the stated combination may lack a tractable closed-form pricing formula, making direct…

OptionsDerivatives pricingVolatilityFixed income
Quant Q&A

The document investigates systematic profit-and-loss errors in a simulated dynamic hedge of an American put. It describes pricing and recalculating delta with a fine-step binomial tree while simulating the stock as geometric Brownian motion, financing the…

OptionsDerivatives pricingBacktestingRisk management
Quant Q&A

The document frames the model-selection problem for pricing vanilla swaptions on fixed-versus-floating or floating-versus-floating legs. Requirements include multiple floating-rate tenors, OIS and LIBOR legs across currencies, mid-curve structures, and both…

OptionsFixed incomeDerivatives pricingVolatility
Quant Q&A

The document considers whether options can reveal the market’s expected volatility from one close to the following open. It explains that an option’s implied variance over its life represents variance accumulated across the full interval to expiry. A quoted…

OptionsVolatilityStatisticsDerivatives pricing
Quant Q&A

The document asks whether a volatility skew creates expected profit from buying an at-the-money option and delta hedging it. Its answer separates implied volatility from the path of realized prices: a move to a particular terminal level does not reveal how…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains a dealing practice in which a principal rejects compensation from a broker and insists that a transaction be completed with the original counterparty at the originally agreed price. The example describes a buyer and seller whose initial…

ExecutionMarket microstructure
Quant Q&A

The document considers feature choice for a multilayer perceptron that classifies financial price moves as buy, hold, or sell. The proposed inputs concatenate recent returns and transaction volumes, and the question is whether a vector containing more than…

Machine learningEquitiesStatistics
Quant Q&A

The document discusses the consumption-based asset pricing equation and why an asset’s payoff covariance with consumption matters for its price. In the model, an investor chooses asset holdings to maximize current and expected future utility, yielding a…

StatisticsDerivatives pricing
Quant Q&A

The document explains how to evaluate a history of overlapping trades as a portfolio, including cumulative profit and loss, drawdowns, and period returns. Its central method is to value each open position over time using market prices, then aggregate the…

Multi-assetPortfolio constructionBacktestingRisk management
Quant Q&A

This document examines why an American call on a non-dividend-paying stock is generally not exercised before expiration. Its central correction is that comparing the proceeds from early exercise with a hypothetical payoff at maturity mixes a known current…

OptionsDerivatives pricingRisk management
Quant Q&A

This document asks how to size trades in back-adjusted continuous futures data when historical prices can be near zero or negative. It contrasts two attempted approaches: scaling position size inversely with price subject to a unit cap, and allocating a…

FuturesPosition sizingBacktestingRisk management
Quant Q&A

This document presents a bond portfolio duration calculation and asks how to hedge its interest-rate exposure with a fourth bond. The accepted answer distinguishes Macaulay duration, which measures the weighted timing of cash flows, from modified duration,…

Fixed incomeRisk managementPortfolio constructionDerivatives pricing
Quant Q&A

This document describes a question about how realized returns from a Constant Proportion Portfolio Insurance strategy change as its floor is varied. The investor compares a fully bond-invested portfolio at a 100% floor, a fully risky-market portfolio at a 0%…

Portfolio constructionRisk managementBacktesting
Quant Q&A

The document clarifies how long and short CDO tranche positions relate to credit exposure and credit protection. For cash CDO tranches, an investor buying a tranche takes on credit exposure and receives a spread as compensation. For a synthetic CDO, the…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document examines the basis risks in a SEK–USD cross-currency swap collateralized in euros. It reasons from the collateral currency: discounting the SEK cash flows may involve a SEK–EUR basis, while discounting the USD cash flows may involve a USD–EUR…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document considers how to convert long-run U.S. dollar return series into euros when the euro did not exist for the full sample. It suggests using the Deutsche Mark against the U.S. dollar as an approximate predecessor series for EUR/USD, giving…

ForexBacktestingMulti-asset
Quant Q&A

The document explains why a global minimum variance portfolio has the same covariance with any fully invested asset or portfolio. Its algebra starts with the GMV portfolio weights, proportional to the inverse covariance matrix applied to a vector of ones.…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document asks whether daily trading strategy returns have a reasonable upper bound as a way to detect faulty backtests. One answer frames the issue through information coefficient, the correlation between forecasts and subsequent returns. Under perfect…

EquitiesBacktestingStatisticsRisk management