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 asks how to model the distribution of ending wealth from a starting investment when an asset’s arithmetic mean return and standard deviation are known. It suggests running repeated simulations in a spreadsheet and plotting their cumulative…

StatisticsBacktesting
Quant Q&A

The document compares simulated returns from a multivariate BEKK process and geometric Brownian motion with observed stock returns. The author finds that default BEKK output appears too volatile and that both approaches fail to reproduce the excess kurtosis…

EquitiesVolatilityStatisticsBacktesting
Quant Q&A

The document considers how to project a sparse monthly series over a one-year horizon when only two years of history are available. The measure is described as a person’s skill, but the suggested modeling considerations also apply to short time series more…

StatisticsBacktesting
Quant Q&A

The document explains purging in financial machine learning through a prediction task that uses current stock returns to forecast the next day’s market return. The accepted answer illustrates the issue with a label based on a multi-day future return: labels…

Machine learningBacktestingStatistics
Quant Q&A

The document explains why a European option on an arithmetic basket of correlated stocks generally lacks a direct Black–Scholes formula under geometric Brownian motion: the basket is a sum of lognormally distributed prices, which is not itself lognormal. It…

OptionsDerivatives pricingMulti-assetStatistics
Quant Q&A

The document asks how to interpret a test for anticipation effects in a Difference-in-Differences study. It distinguishes this concern from the parallel-trends assumption, which the author describes as commonly assessed by jointly testing whether lead…

StatisticsEvent-drivenBacktesting
Quant Q&A

The document outlines a progression of methods for testing strategies that depend on timely execution, especially passive orders and cross-market hedging. For liquidity-taking strategies, top-of-book data may support conservative size assumptions that can…

Market microstructureExecutionBacktestingHigh-frequency trading
Quant Q&A

The document asks how to choose stop-loss and take-profit thresholds from trade outcomes and expected profit estimates. It points to operations research and stochastic processes, and presents differing views: one answer argues that thresholds may be…

BacktestingRisk managementStatisticsMachine learning
Quant Q&A

The document considers how to construct dollar bars when only minute OHLCV data is available. One proposal estimates each minute’s traded value by multiplying volume by an average price, then combines minutes until their estimated dollar value reaches a…

StatisticsBacktestingMarket microstructure
Quant Q&A

The document asks how to calculate an ex-ante Sharpe ratio from simulated return paths: from compounded total returns across paths, or by calculating a Sharpe ratio along each path and averaging those ratios. The response emphasizes that the conventional…

StatisticsBacktesting
Quant Q&A

The document asks whether range-based estimators such as Garman–Klass can be combined with EWMA or ARCH-family models, and whether a dynamic volatility model is still needed when using such estimators. The response points to research that incorporates…

VolatilityStatisticsBacktesting
Quant Q&A

The document considers how to choose both a signal threshold and the future return horizon when evaluating a trading hypothesis. It warns that searching many combinations can amount to data mining and produce overfit results, while acknowledging that there…

BacktestingStatisticsMachine learning
Quant Q&A

The document raises a research concern: option pricing models may be proposed without being tested against market data or compared with established alternatives. It notes that affordable options data can be difficult to obtain, while arguing that empirical…

OptionsDerivatives pricingBacktesting
Quant Q&A

This document describes a simulation problem: generating several correlated variables from a Sobol quasi-random sequence in MATLAB. The author contrasts a Cholesky-based transformation of standard normal draws with an attempted method that transforms Sobol…

StatisticsMachine learningBacktesting
Quant Q&A

The document surveys software options for developing and evaluating trading strategies in C++. It names QuantLib, Boost, Armadillo, Intel MKL, Eigen, and TA-Lib for quantitative, numerical, and technical-analysis work. It also mentions TradeStation for…

BacktestingRisk managementTechnical indicators
Quant Q&A

The discussion addresses where to obtain several years of daily implied volatility data for large-cap stocks for backtesting. It suggests Interactive Brokers as a possible source, while noting that access requires a market data subscription. A separate reply…

OptionsVolatilityBacktesting
Quant Q&A

The document outlines questions and practical choices involved in studying how earnings surprises relate to stock behavior. A study can measure how often firms beat or miss expectations, the size of the gap, price moves around announcements, later…

EquitiesEvent-drivenStatisticsBacktesting
Quant Q&A

The document describes a simulation in which Poisson counts determine how many exponential random variables to draw for each component, after which weighted component sums produce one value per path. The original example uses nested Python loops and targets…

StatisticsMachine learningBacktesting
Quant Q&A

The document asks whether Quandl’s Wiki Continuous Futures series are already adjusted for contract rolls and how to handle them in rolling train-and-test backtests. It distinguishes continuous series from explicitly back-adjusted data: the presence of a…

FuturesBacktestingStatistics
Quant Q&A

The document addresses how to simulate the terminal price of a geometric Brownian motion (GBM). It distinguishes the arithmetic mean and variance of the resulting lognormal price from the parameters required by a lognormal random-number generator, which are…

StatisticsDerivatives pricingBacktesting
Quant Q&A

The document explains why a futures backtest needs to model the transition from an expiring contract to a later-dated contract. A price difference between those contracts is not itself a trading gain or loss: a live trader closes the expiring position and…

FuturesBacktestingCarry
Quant Q&A

The post considers how to compare profit factors across forex strategy runs when trades arrive in bursts. The author proposes treating nearby orders as one cluster and weighting each trade according to the number of subsequent orders within a short window. A…

ForexBacktestingPosition sizingRisk management
Quant Q&A

The document distinguishes an ex ante return estimate based on assumed parameters from an ex post calculation using realized mean and risk. It gives a simple normal-distribution method for estimating the probability that a return falls below zero:…

StatisticsRisk managementBacktesting
Quant Q&A

The document describes a Monte Carlo check of a continuously rebalanced delta hedge for a European call under the Black–Scholes model. The simulated portfolio gains are formed from the option delta and successive underlying-price changes. The initial…

OptionsDerivatives pricingBacktesting