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 turn the output of a Johansen cointegration test into a spread for a two-stock pairs trading strategy. The trader contrasts the method with a spread formed from an ordinary least squares hedge ratio, where one stock is reduced by a…

Pairs tradingStatisticsEquitiesBacktesting
Quant Q&A

The document describes an attempt to assess a GARCH model fitted to S&P 500 returns. It shows a rolling backtest setup and reports difficulty using mean absolute percentage error (MAPE) to compare predicted and realized values. The reply explains that MAPE…

StatisticsVolatilityBacktestingRisk management
Quant Q&A

The document considers how to balance uncertain expected-return forecasts against covariance risk and trading costs in a constrained portfolio optimization problem. Its proposed method is to multiply the return signal by a shrinkage coefficient between zero…

Portfolio constructionBacktestingRisk managementStatistics
Quant Q&A

The document clarifies how conditional variance depends on the variable being modeled, in response to a question about comparing implied volatility with GARCH forecasts. Under information available at the prior time, a price and its simple change have the…

VolatilityStatisticsBacktesting
Quant Q&A

The document surveys commercial suites that combine market data, backtesting, event processing, and automated trading. It asks about leading vendors, practical tradeoffs, integration costs, customization, and typical users, but provides only a partial…

BacktestingExecutionMarket microstructure
Quant Q&A

The document outlines how to test the CAPM by comparing asset excess returns with market excess returns through estimated betas. It explains that the Kenneth French data library supplies market returns and a risk-free rate, but generally does not provide…

StatisticsFactor investingUS marketsBacktesting
Quant Q&A

The document demonstrates how to use Halton low-discrepancy sequences in Monte Carlo option pricing. Uniform sequence values are transformed through the inverse standard normal distribution, then scaled by the drift and volatility of a risk-neutral log-price…

OptionsDerivatives pricingBacktesting
Quant Q&A

The discussion compares drawdown objectives with minimum variance and expected shortfall in portfolio allocation. It presents several reasons drawdown may be less common: variance is a familiar target, drawdown optimization can be computationally demanding,…

Portfolio constructionRisk managementStatisticsBacktesting
Quant Q&A

The document considers whether statistically simulated price histories can reduce the risk of selecting strategies that merely fit past winners. One reply warns that simulation adds a second assumption: the market model must be credible before a strategy’s…

BacktestingStatisticsMachine learningRisk management
Quant Q&A

The document examines how to convert a daily Sharpe ratio into an annual figure. It illustrates the issue with a daily mean return and standard deviation, then compares compounding the average return over a year with scaling volatility by the square root of…

StatisticsRisk managementBacktesting
Quant Q&A

The question describes applying principal component analysis to many correlated stock features while trying to predict the FTSE 100. It raises confusion about a result suggesting that no components explain 99% of variability, whether additional features such…

EquitiesMachine learningStatisticsBacktesting
Quant Q&A

The document raises a numerical issue in Monte Carlo valuation of European calls and puts on the same stock. Under standard simulation, each option value is estimated by averaging its payoff over simulated underlying paths. With a finite sample, the…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document distinguishes almost-sure convergence of a Monte Carlo sample mean from the rate at which its estimation error typically decreases. Under the stated independent, identically distributed sampling setup with finite variance, the central limit…

StatisticsBacktesting
Quant Q&A

The document considers how to model sovereign yield spreads for Germany, France, and Spain using unemployment and public debt. It raises choices about stationarity, whether to use absolute economic indicators or differences between countries, and how to…

Fixed incomeStatisticsBacktesting
Quant Q&A

The document discusses how to combine rolling-window estimation with the two-stage Fama–MacBeth method. The questioner estimates portfolio factor exposures over rolling five-year samples, producing many sets of estimates, and asks which exposure estimates…

StatisticsFactor investingBacktesting
Quant Q&A

The document describes a data-access problem involving Nasdaq Data Link’s CHRIS continuous futures datasets. A user could retrieve other datasets with a valid API key but received access-denied errors when requesting historical daily futures data intended…

FuturesCommoditiesBacktesting
Quant Q&A

The document asks how to choose a stop-loss boundary automatically from a trade log containing entry and exit times, profit or loss, maximum adverse excursion, and maximum favorable excursion. The suggested approach frames threshold selection as an…

Risk managementPosition sizingBacktesting
Quant Q&A

The document describes a replication of an equity statistical-arbitrage strategy in which a stock is hedged with a basket of ETFs. Regression residuals provide the trading signal, and regularized regression estimates the ETF hedge coefficients. The…

EquitiesMachine learningBacktesting
Quant Q&A

The document considers whether to subtract the sample mean from log returns before applying a block bootstrap. Its main answer says centering is useful when the bootstrap is meant to represent a null hypothesis of zero expected excess return. Resampling…

StatisticsBacktestingRisk management
Quant Q&A

The document explains how to organize constituent returns when researching strategies on stocks that enter and leave an index. For a simulated portfolio that follows membership, include a stock’s returns only while the strategy has exposure: add it upon…

EquitiesBacktestingPortfolio constructionUS markets
Quant Q&A

The discussion frames the task as explaining changes in a strategy’s daily profit and loss using candidate variables that were not used to generate its trading signals. It recommends first considering how the predictors relate to one another: dimensionality…

StatisticsMachine learningRisk managementBacktesting
Quant Q&A

The document frames a modeling question about predicting the difference between a bond auction’s yield and its when-issued yield. The data are described as sparse: auctions occur monthly, and the author reports 850 results across maturities over a…

Fixed incomeStatisticsMachine learningBacktesting
Quant Q&A

The document addresses how to evaluate GARCH forecasts, which predict conditional volatility rather than the return level. It outlines an out-of-sample comparison associated with Hansen and Lunde: estimate an ARCH-family model using data through a chosen…

VolatilityStatisticsBacktesting
Quant Q&A

The document outlines several ways to assess whether a candidate signal adds useful return information. Suggested checks include risk-adjusted performance and tail risk, regression against established factor models to examine the intercept, trading costs and…

Factor investingStatisticsBacktestingExecution