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

16,761 documents

Quant Q&A

The document explains how to test whether a signal predicts returns by sorting securities into portfolios according to the signal, then comparing high-signal and low-signal groups. A spread portfolio is formed by going long the high group and short the low…

EquitiesPortfolio constructionFactor investingBacktesting
Quant Q&A

The document considers which market variables might be studied alongside Twitter activity, including index and stock prices, price differences, trends, and expected returns. A response recommends treating posts as a source of market sentiment rather than…

EquitiesSentimentMomentumBacktesting
Quant Q&A

This exchange considers how to update expected asset returns when rebalancing a Markowitz portfolio day by day. The question proposes incorporating each new observation into the historical sample and recalculating the expected returns and portfolio weights.…

Portfolio constructionStatisticsBacktesting
Quant Q&A

This document explains how to calculate the probability that a geometric Brownian motion (GBM) price will fall inside a specified interval at the next time step, given its current value. This conditional probability is used in the stochastic mesh method to…

StatisticsDerivatives pricingBacktesting
Quant Q&A

The document asks why Jegadeesh and Titman used overlapping portfolio holding periods when testing momentum strategies. The replies give two intuitions: overlapping periods can create a larger sample than non-overlapping periods, and examining portfolios…

MomentumEquitiesBacktestingStatistics
Quant Q&A

The document describes an attempt to estimate Ornstein–Uhlenbeck process parameters by maximizing a Gaussian transition likelihood, then asks why the estimates fail or produce a math domain error. The replies identify a numerical singularity: the conditional…

StatisticsMean reversionBacktesting
Quant Q&A

The document explains how to interpret a cross-sectional rank correlation used in a trading alpha. At each date, rank securities by each variable across the same universe, such as open price and volume, then calculate the correlation between those two…

StatisticsTechnical indicatorsBacktesting
Quant Q&A

The document advises aspiring practitioners to learn statistics and machine learning before applying models to market data, then study financial modeling and backtesting, including transaction costs. It explains model fitting in terms of prediction error and…

Machine learningStatisticsBacktestingEquities
Quant Q&A

The document explores how to backtest an Avellaneda–Stoikov style market-making strategy using historical limit order book data. The question describes estimating order-arrival intensities from synchronized order and book events, then asks how simulated…

Market makingHigh-frequency tradingMarket microstructureBacktesting
Quant Q&A

The document raises two questions about using combinatorial purged cross-validation (CPCV) for a binary trading model: whether to select hyperparameters by averaging metrics across splits or across reconstructed paths, and whether evaluating those parameters…

BacktestingMachine learningStatistics
Quant Q&A

The document asks how to compare a numerical European call price from an explicit finite-difference scheme with the analytical Black–Scholes value at an intermediate time step. The model uses spatial grid points corresponding to underlying asset prices, and…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document addresses why fitted AR parameters from a simulated ARMA series may differ substantially from the values used to generate it. The response says the simulation and fitting logic are sound and points to sampling variability: a series with only a…

StatisticsBacktesting
Quant Q&A

The document considers whether publishing a technical indicator can reduce its subsequent trading performance. It frames a strategy’s historical results as a mix of genuine alpha and overfitting, with only genuine alpha expected to persist out of sample;…

CommoditiesFuturesMomentumTechnical indicators
Quant Q&A

This discussion derives the coefficient that minimizes variance when estimating an expectation with a control variate. For an adjusted estimator of the form X plus θ times the difference between the known mean of Y and Y, the constant mean contributes no…

StatisticsBacktesting
Quant Q&A

The document shows how to plot fitted conditional volatility together with forecasts from a GARCH(1,1) model in R. Its example uses the fGarch package to specify and simulate a normally distributed GARCH process, fit the model, and predict future conditional…

VolatilityTechnical indicatorsBacktesting
Quant Q&A

The document discusses discretizing a Merton-style jump-diffusion process for simulation. Rather than applying a basic Euler step directly to the asset price, the accepted answer works with log price. Each interval adds the drift adjusted for diffusion, a…

Derivatives pricingStatisticsBacktesting
Quant Q&A

The document introduces the information available in a visible order book: current prices, displayed quantities, and the structure of supply and demand. Its question asks how that information could support arbitrage or manipulation, but the accepted answer…

Market microstructureExecutionArbitrageMarket making
Quant Q&A

The document explains how to build a simplified exchange execution simulator for backtesting. It recommends using historical order book snapshots or updates to estimate fills: a market order consumes available depth until its requested quantity is filled,…

ExecutionMarket microstructureBacktestingEquities
Quant Q&A

The document asks how to compute the hindsight-optimal sequence of holdings across a universe of stocks when an investor can trade daily, compounds returns, pays transaction fees, and cannot short. It considers dynamic programming and presents an attempted…

BacktestingPortfolio constructionPosition sizingStatistics
Quant Q&A

The document describes a strategy using 30-second bars on E-mini S&P 500 futures that performed well in backtests and walk-forward tests but lost in live simulation because small execution-price differences erased its edge. The question asks whether…

FuturesExecutionMarket microstructureBacktesting
Quant Q&A

The document discusses how to reproduce Excel's bond YIELD calculation with QuantLib. QuantLib's bond yield method takes a target price, day-count convention, compounding convention, and coupon frequency, while settlement, maturity, coupon schedule,…

Fixed incomeDerivatives pricingStatisticsBacktesting
Quant Q&A

The document explains the practical limits of timestamp precision in stock market data, distinguishing timestamp resolution from the frequency of actual trades and quote updates. Nanosecond timestamps are used by specialized data providers and can help order…

EquitiesHigh-frequency tradingMarket microstructureBacktesting
Quant Q&A

The document examines an apparent mean-reverting basket built from several foreign-exchange rates. The proposed process fits a linear regression to estimate hedge ratios, forms a spread, then applies an augmented Dickey–Fuller test. The reported significance…

ForexPairs tradingMean reversionBacktesting
Quant Q&A

The document poses a valuation problem for a forward-starting interest-rate swap in a binomial short-rate lattice. The swap begins after the valuation date, receives floating payments, pays a fixed rate, and makes payments in arrears. The questioner reports…

Fixed incomeDerivatives pricingBacktesting