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 response describes how market makers estimate fair value for a domestic ETF when its international holdings are not trading. Rather than relying on unavailable spot prices, they combine proxies such as American depositary receipts, foreign equity…

Market makingEquitiesFuturesExecution
Quant Q&A

The document asks how to convert a recorded purchase price into a value comparable with a stock’s current split-adjusted historical series. The example concerns an older Apple purchase, and the writer notes that splits and other corporate actions can change…

EquitiesStatistics
Quant Q&A

The discussion explains why constant volatility appears in market-making models and how volatility differs from the risk that incoming trades carry adverse information. Volatility estimates the risk that an inventory position will lose value as prices move;…

Market makingVolatilityExecutionMarket microstructure
Quant Q&A

The document discusses the two-dimensional term structure of lognormal implied volatility for European swaptions, varying by option expiration and underlying swap tenor. It describes a typical pattern in which volatility may rise over the shortest…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document describes a test of exit rules in short-term foreign exchange data using randomly selected entry points. It compares a trailing stop, which closes a position after gains retrace by a preset amount, with a fixed threshold that exits when either a…

ForexBacktestingRisk managementExecution
Quant Q&A

The document considers how to evaluate a simple signal that uses past data to predict a subsequent price move. It proposes comparing the signal with a label based on the next period, but cautions that a single accuracy percentage is an incomplete measure.…

BacktestingEquitiesStatisticsRisk management
Quant Q&A

The document explains why a common Bloomberg approximation for the five-year inflation rate beginning five years ahead uses twice the 10-year zero-coupon inflation swap rate minus the 5-year rate. It contrasts that linear calculation with a compounded…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note discusses how to represent recovery for a bond whose promised solvent-state cash flows have fallen far below its original notional. It cautions against assuming that recovery should simply be a standard fraction of face value: distressed creditors…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The document considers using an FX futures contract to hedge an FX forward, with the question focused on spot-rate exposure while setting aside currency interest-rate sensitivities and cross-currency basis risk. The answer offers a concise market…

ForexFuturesRisk management
Quant Q&A

The note explains how to translate option sensitivities into approximate dollar gains or losses for specified changes in the underlying price and implied volatility. It defines delta and vega as changes in option value for unit changes in their respective…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The document distinguishes constant-volatility geometric Brownian motion from a model in which returns have time-varying conditional volatility. It explains that a GARCH model is fitted to historical returns, typically by estimating its parameters, and then…

EquitiesVolatilityStatisticsDerivatives pricing
Quant Q&A

The document explains that QuantLib’s C++ calendar interface provides a holiday-list function, but the Python wrapper does not expose it. Calling that method from a Python calendar therefore raises an attribute error, and calling it as a standalone function…

Fixed incomeFuturesExecution
Quant Q&A

This note explains a negative-time pricing error when using a QuantLib zero curve to value a credit default swap. The cause is the curve’s first date: the example builds the curve from rates beginning one month after the evaluation date, so discounting or…

Fixed incomeDerivatives pricing
Quant Q&A

The document derives the distribution of the time integral of a deterministic function multiplied by a Brownian motion. It uses integration by parts to rewrite the integral in terms of the Brownian value at the horizon and a stochastic integral whose…

StatisticsVolatility
Quant Q&A

This note explains why manually calculated zero rates for two deposits may differ from a QuantLib piecewise linear zero curve. The key is that the deposits do not share the curve’s valuation date as their start: the overnight transaction runs over one day,…

Fixed incomeStatistics
Quant Q&A

The document asks how an exchange updates the displayed last price when a market order consumes liquidity at multiple price levels. It distinguishes the time an order finishes executing from the individual matching events that occur as the order fills…

Market microstructureExecutionEquities
Quant Q&A

The note explains the theoretical replication of a variance swap using out-of-the-money options across strikes. Its fair variance is expressed as an integral of put prices below the forward and call prices above it, weighted inversely by squared strike.…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The note compares how single-index and multi-index factor models represent the covariance matrix of stock returns. In the single-factor case, covariance is modeled as market variance times the outer product of security betas, plus a diagonal matrix of…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document explains a simulation framework for comparing Markowitz mean-variance optimization with Michaud’s resampled efficient frontier. A referee treats a specified set of asset means and covariances as the true population values, generates simulated…

Multi-assetPortfolio constructionStatisticsBacktesting
Quant Q&A

The document considers estimating a separate slope coefficient for each intraday time interval when past returns are used to predict subsequent returns. With few days of observations and a weak relationship, independent ordinary least squares estimates may…

EquitiesStatisticsMachine learningMomentum
Quant Q&A

The document gives a short derivation for the expectation of the product of two Brownian-related random variables. It represents one variable as a linear combination of an independent Brownian motion and another Brownian motion, then expands the product and…

Statistics
Quant Q&A

The document describes a proposed method for turning expiring corn futures contracts into a continuous price or return series. It tracks the nearby and first-deferred contracts and suggests switching between them when open interest in the deferred contract…

FuturesCommoditiesBacktestingMarket microstructure
Quant Q&A

The document considers a proposed adjustment for a stock dataset that omits delisted and bankrupt companies. The proposal models bankruptcy likelihood as dependent on volatility, assigns a distribution of losses at bankruptcy, removes subsequent returns, and…

EquitiesStatisticsRisk managementBacktesting
Quant Q&A

The document discusses why American options on illiquid underlyings are difficult to price: when the underlying share value is poorly known, option valuation is correspondingly uncertain. One answer recommends scenario-based risk and reward analysis, similar…

OptionsEquitiesVolatilityExecution