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

This document asks why a leveraged WTI exchange-traded note and its inverse counterpart appear to trace different slopes during large price moves. One note is described as providing leveraged long exposure and the other as leveraged inverse exposure. The…

CommoditiesVolatilityDerivatives pricing
Quant Q&A

This document asks whether a minimum-variance portfolio is more likely than a maximum-Sharpe, or tangency, portfolio to deliver out-of-sample performance close to its in-sample estimate. It defines disappointment as the gap between predicted in-sample…

Portfolio constructionStatisticsRisk management
Quant Q&A

This document poses a sequential elimination game between two teams of four gladiators. In each round, Alice chooses a fighter first and Bob responds with a matchup; each duel has no tie, and the stronger fighter’s advantage is expressed as a probability…

StatisticsRisk management
Quant Q&A

The document asks about geometric Brownian motion models whose drift or volatility depends on the stock’s past path, rather than only its current value and time. It gives examples of drift built from an accumulated function of earlier prices or from the…

EquitiesStatisticsMachine learning
Quant Q&A

The document proposes measuring how much a stock price moves within a day by summing absolute changes between selected observations, rounding each change down in units of a chosen price increment, and normalizing the total by the day’s range. It asks whether…

EquitiesStatisticsMarket microstructure
Quant Q&A

The document explains how ATR-based position sizing estimates a share count from account capital, a chosen risk fraction, and a stop distance expressed as a multiple of average true range. The resulting count represents shares sized to a target loss if the…

EquitiesVolatilityRisk managementPosition sizing
Quant Q&A

The document clarifies terminology for a trading account’s position at the end of a session. It treats overnight inventory, end-of-day holdings, and the end-of-day net position as referring to the inventory remaining at market close and carried into the…

Market microstructureExecutionPosition sizing
Quant Q&A

The document answers whether the standard European put-call parity relation also applies when the underlying is modeled with Heston stochastic volatility. Its central point is that parity follows from the option contracts and the ability to construct…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document addresses how to summarize implied volatility across an option chain rather than relying only on the at-the-money option. It describes a model-free variance-swap approximation built from option prices over a range of strikes: calls above the…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains how covariance-matrix inversion affects the standard mean-variance portfolio solution. In an eigenvector decomposition, each direction’s contribution is scaled by the reciprocal of its covariance eigenvalue. Consequently, directions…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document shows how to calculate a money-weighted rate of return for a pension fund with dated inflows and outflows. The method sets the future value equation to zero at the fund’s closing date, compounds the starting balance over twelve months, adjusts…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document discusses how to evaluate residuals when comparing time-series forecasts, including volatility forecasts from models such as GARCH. It recommends examining autocorrelation: if errors contain predictable structure, the model may be missing a…

StatisticsBacktestingVolatility
Quant Q&A

The document explains why the S&P 500 price index and its total return counterpart produce different performance charts. The price index reflects constituent share prices, so it falls when a company goes ex-dividend; it does not credit the dividend to the…

EquitiesUS marketsPortfolio construction
Quant Q&A

The document asks for the stochastic differential of an exponential built from an integral involving a diffusion process. The questioner applies Itô’s formula to the exponential, but assumes the integral has differential equal only to the integrand at the…

StatisticsDerivatives pricing
Quant Q&A

The document poses a conceptual question about the efficient market hypothesis (EMH): if prices reflect available information and investors are rational, why should prices change or investors expect returns? It considers three possibilities: no new…

StatisticsEquities
Quant Q&A

The example asks how a company can exploit a forward contract offered at an unfavorable price. It assumes a non-dividend-paying stock, a continuously compounded interest rate, and a transfer of an existing long forward position for a fee before maturity. The…

ArbitrageFuturesEquitiesDerivatives pricing
Quant Q&A

The document outlines several ways to think about pricing options on a volatility index such as VIX. One approach starts from the option portfolio used to replicate variance and adds a convexity adjustment that accounts for the square root linking variance…

OptionsVolatilityDerivatives pricingMarket microstructure
Quant Q&A

The document resolves a confusion between variance as a function of a probability parameter and portfolio variance as a function of asset weights. A Bernoulli variable’s variance can be concave in its probability parameter, but portfolio variance, expressed…

Portfolio constructionRisk managementStatistics
Quant Q&A

The note derives the range of a common off-diagonal correlation that makes a matrix with unit diagonal entries a valid covariance or correlation matrix. It corrects a variance calculation: when summing pairwise covariances in the variance of a sum, each…

StatisticsPortfolio constructionRisk management
Quant Q&A

The note asks why a CAPM generalized method of moments specification does not add a separate moment equating the factor’s sample mean to its expected value. It explains that the cross-sectional pricing moments compare each asset’s expected excess return with…

Factor investingStatistics
Quant Q&A

The document asks what changed in Monte Carlo methods for pricing American options between 2005 and 2016, following earlier machine-learning work on optimal stopping. One answer argues that the period brought few groundbreaking Monte Carlo advances and that…

OptionsDerivatives pricingMachine learningStatistics
Quant Q&A

The document explains a data choice for studying market expectations of Federal Reserve policy. Actual 30-day Fed Funds futures reference the average effective rate over a calendar month, so they do not offer a contract with a continuously rolling 30-day…

FuturesFixed incomeUS marketsBacktesting
Quant Q&A

The document frames three ways to convert a fixed-rate bond position into floating-rate cash flows while seeking to isolate the issuer spread: a par-par asset swap, a same-notional payer swap, and a payer swap sized to match the bond’s DV01. It explains the…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document derives a simple FX forward relationship from covered interest parity. For two currencies, it compares converting at spot and investing at the domestic rate with investing at the foreign rate and locking in the maturity conversion rate through a…

ForexDerivatives pricingArbitrage