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
Quantopian lectures
45 documents
Binance API docs
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 discussion addresses frequent Value at Risk exceedances in backtests of portfolios whose VaR was estimated with historical simulation using rolling samples of 250 or 500 daily returns. It frames the issue as potential underestimation of risk and mentions…

Risk managementBacktestingStatistics
Quant Q&A

Volatility forecast evaluation depends on what quantity is forecast and what observation serves as the benchmark. Possible targets include volatility, variance, or log volatility; because true volatility is latent, evaluation may use implied volatility or a…

VolatilityStatisticsBacktesting
Quant Q&A

The document raises practical questions about using XGBoost to predict whether the next candle’s closing price will move above or below a chosen threshold from the current open. The proposed feature set combines market sentiment, macroeconomic variables,…

CryptoMachine learningBacktestingTechnical indicators
Quant Q&A

The document explains the popularity of GARCH(1,1) as a volatility model. Its simple structure, connection to established time series methods, and ability to represent volatility clustering and heavy tailed returns help explain its use. The discussion cites…

VolatilityStatisticsBacktesting
Quant Q&A

The document asks how to annualize a Sharpe ratio for an intraday strategy evaluated with prices sampled every ten seconds. The trader describes computing each interval return, summing those returns to form a daily result, and then applying the usual…

High-frequency tradingStatisticsBacktesting
Quant Q&A

The document explains why rolling multi-day returns are statistically dependent and how that dependence affects covariance. It expands the covariance of two overlapping two-day return series into same-day covariance terms and cross-time covariance terms.…

StatisticsBacktesting
Quant Q&A

The document describes a study design for sorting S&P 600 stocks into three portfolios according to historical return volatility. The proposed process estimates each stock’s volatility over a formation year, assigns stocks to terciles at the year end, and…

EquitiesVolatilityPortfolio constructionBacktesting
Quant Q&A

The document asks how to generate many asset return histories that match summary statistics from capital market assumptions, including expected returns, quartiles, volatilities, and incomplete correlation information. One response suggests initially setting…

StatisticsPortfolio constructionBacktestingRisk management
Quant Q&A

The document explains why ARMA coefficients estimated together with a GARCH variance model can differ from coefficients estimated in an ARMA model alone. The variance component accounts for changing volatility, which can affect the mean-equation estimates.…

StatisticsVolatilityBacktesting
Quant Q&A

The document asks how to find investment products whose systematic strategies and performance can be inspected and reproduced. It points to exchange-traded funds as a practical starting point, especially products built to track quantitative or…

BacktestingFactor investingEquities
Quant Q&A

The document offers research guidance for studying whether neural networks can predict liquidity or bid-ask spreads from market depth data. It recommends preparing the data carefully, considering zero or negative spreads, and planning how limited…

Machine learningMarket microstructureStatisticsBacktesting
Quant Q&A

The document outlines how to approximate critical values for an augmented Dickey–Fuller test by simulating the test statistic under its null hypothesis. The test is based on a regression for the change in a series that includes its level, an intercept and…

StatisticsBacktesting
Quant Q&A

The document describes a QuantLib issue encountered while bootstrapping a futures-based yield curve. A FuturesRateHelper constructed with explicit start and end dates, an ASX futures type, and numeric price and convexity inputs returns a null maturity date;…

Fixed incomeFuturesDerivatives pricingBacktesting
Quant Q&A

The document frames look-ahead leakage checks as mutation testing. At a historical cutoff, a valid mutation preserves information available at that time while changing only future data; if the historical artifact changes, this suggests the pipeline used…

BacktestingStatisticsMachine learningRisk management
Quant Q&A

The document asks whether portfolios built from simple rules should be called efficient. In Markowitz portfolio theory, efficiency has a specific meaning: for a given expected return, a portfolio has the lowest possible risk, placing it on the efficient…

Portfolio constructionStatisticsBacktesting
Quant Q&A

The document addresses how to measure more than the largest drawdown: it seeks the count, average depth, and average length of drawdown episodes that exceed a chosen duration threshold. It presents two approaches using price data in Pandas. One calculates…

StatisticsRisk managementBacktesting
Quant Q&A

The document describes a replication attempt involving empirical equity premium prediction. It calculates a dividend-inclusive return from consecutive index prices, adds dividends to the ending index value, converts the resulting return to logarithms, and…

EquitiesStatisticsBacktesting
Quant Q&A

The document explains why predictive accuracy alone does not establish that a trading strategy will earn money. Forecasts and backtests can omit execution costs, commissions, order-book depth, bid and ask prices, and the effect of the strategy’s own orders…

ExecutionMarket microstructureBacktestingRisk management
Quant Q&A

The document outlines a practical architecture for calculating value at risk when a trading system already generates simulated market scenarios, such as interest rate curves. In that setup, the main task is to reprice instruments under each scenario rather…

Fixed incomeRisk managementBacktestingStatistics
Quant Q&A

The document asks how to generate observations from a four-factor t-copula when the dependence matrix changes over time. Its setting is a series of 2,000 correlation matrices from a copula-DCC model, with one matrix intended for each time step. The accepted…

Multi-assetStatisticsVolatilityBacktesting
Quant Q&A

The document asks how to determine whether a strategy’s performance edge has weakened across time periods. It mentions comparing period means with a t-test as an approach encountered elsewhere, while expressing concern that this test may be unreliable for…

StatisticsBacktestingRisk management
Quant Q&A

The document questions whether daily leveraged ETFs can serve as long-term investments and whether switching between bullish and bearish funds could improve returns. It describes a simple simulation that compounds daily leveraged returns generated from…

EquitiesVolatilityBacktestingRisk management
Quant Q&A

This note frames trading under an assumed known stochastic price model as a finite-horizon stochastic control problem. The trader’s state includes capital, current position, price, and model parameters; the model evolves price and parameters using noise. The…

StatisticsRisk managementPosition sizingBacktesting
Quant Q&A

The document considers a daily classification task: using index features to predict whether the next day's open-to-close move is up or down. The proposed workflow forms a direction label, selects and scales features, trains an SVM on a rolling window, and…

Machine learningBacktestingStatistics