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 why win rates become ambiguous when a strategy accumulates or liquidates positions over multiple transactions. It gives a proposed comparison based on total capital invested, total proceeds, and the elapsed time from the first purchase…

EquitiesStatisticsBacktestingRisk management
Quant Q&A

The document asks how to construct quantity values associated with an already ordered price series, while controlling their dependence, to study how correlation changes a total-revenue curve. The responses offer two approaches. For a short fixed vector, one…

StatisticsEquitiesPortfolio construction
Quant Q&A

The document compares a Python Least Squares Monte Carlo (LSM) implementation for American options with QuantLib pricing engines. The answer emphasizes that LSM continuation-value regression should use in-the-money paths, and that regression is an…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document discusses which volatility convention to use when deriving forward volatilities from cap prices. Its central point is that the appropriate model depends on the currency and rate environment. For currencies such as EUR or CHF, negative rates and…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document addresses why a bond’s G spread, measured against a government curve, can be greater than its Z spread, measured against a swap curve. Its main explanation is that the spread comparison depends on the underlying base curves, not only on…

Fixed incomeStatistics
Quant Q&A

The document explains how an exchange can handle a crossed book at the market open, when buy orders are priced above sell orders. Rather than giving priority simply to the highest bid or earliest order, the described opening process evaluates candidate…

EquitiesMarket microstructureExecution
Quant Q&A

The document explains how annualization differs across common performance ratios calculated from monthly returns. Under an independent and identically distributed monthly-return assumption, Sharpe and Information ratios scale by the square root of twelve:…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document addresses why repeated geometric Brownian motion simulations produce different price paths, even when the model inputs remain unchanged. The randomness comes from newly drawn Brownian shocks on each run. The accepted response gives a practical…

EquitiesStatisticsBacktesting
Quant Q&A

The document discusses the familiar claim that higher volatility raises the value of standard American calls and puts, and considers why a formal reference may be hard to find. The response suggests reasoning from the relationship between American and…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why a quoted annual interest rate is divided by the number of compounding periods per year. The annual quote is a convention; the rate applied at each period is the quoted rate divided by that frequency. Applying this periodic rate over…

Fixed incomeStatistics
Quant Q&A

The document addresses a QuantLib error raised while constructing a EUR yield curve with futures rate helpers. The reported expiry, December 19, 2016, is rejected as an invalid IMM date even though the instrument is described as a Euribor future. The…

Fixed incomeFuturesMarket microstructure
Quant Q&A

The document explains why derivative pricing in an incomplete market does not determine a unique equivalent martingale measure. Multiple such measures can imply different arbitrage-free prices, so replication alone cannot select a single price when some…

Derivatives pricingOptionsRisk management
Quant Q&A

The document presents a portfolio optimization modeling problem. The decision variables represent net asset weights and separate gross long and short positions, with constraints linking net weights to those positions and bounding total gross exposure. The…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document reviews risk-neutral valuation in a binomial model with constant or adapted, time-varying interest rates. It describes valuing a payoff by taking its conditional expectation under the risk-neutral measure and discounting by the relevant sequence…

Derivatives pricingFixed incomePortfolio construction
Quant Q&A

The document asks whether a pairs trading strategy should retest cointegration each day using a rolling window, rather than test once during an initial formation period and then trade the selected pair for a fixed holding period. The proposed approach uses…

Pairs tradingStatisticsMean reversionBacktesting
Quant Q&A

The document explains that beta’s sign is determined by covariance, or equivalently correlation, with the chosen reference market. The market portfolio in the CAPM is an idealized aggregate; empirical analysis usually uses a narrower index, such as a stock…

StatisticsPortfolio constructionRisk managementMulti-asset
Quant Q&A

The document explains why multiplying a futures contract size by its displayed price can produce a mistaken contract value. The key is the price unit: a soybean future may be quoted in cents per bushel rather than dollars per bushel. Contract size must be…

FuturesCommoditiesExecution
Quant Q&A

The answer distinguishes dealer-to-dealer (D2D) markets from dealer-to-client (D2C) markets to explain why some swap order books show indicative rather than executable prices. In D2D markets, the answer says executable broker systems or voice prices are…

Fixed incomeMarket makingMarket microstructureExecution
Quant Q&A

The document asks for a rigorous basis for a proposed decay-time relationship between diffusion volatility and the effect of lognormally sized Poisson jumps on the final return distribution. It focuses on a claim from a volatility text that relates the…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document raises a comparison between a Fourier-based estimator of realized variance and covariance and the conventional sum of squared returns. The author applies the estimator to one day of ultra-high-frequency observations, samples the data at…

StatisticsVolatilityHigh-frequency trading
Quant Q&A

The document gives a brief pointer for plotting an option’s modeled value as time to expiry changes. It demonstrates using RQuantLib to calculate a sequence of American call prices at different remaining maturities, then drawing those values as a line plot.…

OptionsDerivatives pricingStatistics
Quant Q&A

The document compares worst-case arbitrage allocation with expected-value betting across two simultaneous matches. For the first match, the offered payouts allow a guaranteed profit if the stake is split between Pink and Maroon within a specific range.…

Position sizingArbitrageRisk managementStatistics
Quant Q&A

The document outlines a Monte Carlo framework for estimating portfolio value at risk when positions have different gearing. Rather than treating broker margin as the risk measure, it starts with a model that generates future returns for each underlying…

Risk managementPosition sizingStatistics
Quant Q&A

The document addresses uncertainty in a Monte Carlo estimate of conditional value at risk (CVaR), which depends both on estimating a tail quantile and averaging outcomes beyond that threshold. It recommends bootstrap confidence intervals: repeatedly resample…

Risk managementStatisticsBacktesting