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

5,018 documents

Quant Q&A

The document asks how to build two structured matrices whose entries decay with the distance between time indices: one uses exponential decay controlled by a positive scale parameter, and the other uses powers of a coefficient whose magnitude is below one. A…

StatisticsMachine learning
Quant Q&A

The document discusses whether time-series features must be weakly stationary for neural networks, other predictive machine learning models, or clustering. It argues that nonstationary predictive inputs can encourage a model to rely mainly on…

Machine learningStatistics
Quant Q&A

The document describes how to turn simulated uniform observations from a fitted copula into return innovations compatible with previously fitted AR-GARCH models. The proposed step is to apply the inverse cumulative distribution function of the conditional…

StatisticsVolatilityMachine learning
Quant Q&A

The document explains why randomly dividing financial observations into training and test sets can create look-ahead leakage. Its example uses daily returns for S&P 500 stocks modeled with market beta. If the full sample includes a persistent market rise or…

Machine learningBacktestingStatisticsEquities
Quant Q&A

The discussion asks whether tuning a trading model across bootstrapped versions of historical returns can reduce overfitting to one observed market path. It outlines dependent bootstrap approaches that preserve time-series structure, including resampling…

BacktestingStatisticsMachine learningRisk management
Quant Q&A

The document raises the problem of using regression splines when new predictor values fall outside the range covered by calibration data. Its example is electricity load forecasting: a model trained on winter temperatures may be used as spring temperatures…

StatisticsMachine learningBacktesting
Quant Q&A

The document considers clustering a large stock universe using both return correlations and company characteristics such as valuation and size. Correlation-based distances can group stocks that move in similar directions, while feature-based clustering…

EquitiesStatisticsMachine learningFactor investing
Quant Q&A

The document surveys ways to assess whether a time series is stationary, starting from a question about confirming a KPSS result. Suggested methods include the Augmented Dickey–Fuller, Elliott–Rothenberg–Stock, Phillips–Perron, Schmidt–Phillips, and…

StatisticsBacktestingMachine learning
Quant Q&A

The document outlines a model validation workflow and points readers toward regulatory guidance, books, and research on model risk. Its practical sequence begins with conceptual soundness: independently derive or review the model’s mathematics, identify…

Risk managementStatisticsMachine learning
Quant Q&A

The document describes a practical limitation of Empirical Mode Decomposition (EMD) for streaming financial time series. When new observations arrive and the decomposition is recomputed, the number and values of the intrinsic mode functions can change. The…

StatisticsMachine learningBacktesting
Quant Q&A

The document presents an example of estimating time-varying betas between several exchange-traded funds with a state-space model and Kalman filtering. It describes preparing adjusted price-change data, fitting a separate regression for each ordered pair of…

EquitiesStatisticsMachine learning
Quant Q&A

The document describes a forecasting problem involving several public equity indices observed quarterly, with a requested horizon of at least fifteen to twenty samples. It reports that a VAR or VARMA specification fitted the historical data well but…

EquitiesStatisticsMachine learningBacktesting
Quant Q&A

The document discusses building an affinity matrix to cluster stocks, with the aim of studying cohesion within and between ETFs and possibly supporting arbitrage research or risk modeling. It compares clustering on summary statistics such as average return…

EquitiesMachine learningStatisticsArbitrage
Quant Q&A

The document discusses generating Student-t random variates for use as innovations in a Brownian motion or geometric Brownian motion simulation. It notes that statistical software can generate these variates and gives examples of programming environments and…

StatisticsMachine learningBacktesting
Quant Q&A

The document compares jump diffusion models and neural networks, especially LSTMs, for forecasting time series such as stock prices or ATM cash withdrawals. It distinguishes forecasting conditional averages from modeling the distribution of future outcomes.…

Machine learningStatisticsVolatilityRisk management
Quant Q&A

The document asks how to prepare daily predictive datasets when features arrive at different frequencies. Its example combines infrequent company earnings information with more frequent variables to predict a daily outcome. Because quarterly events leave…

StatisticsMachine learningEquitiesBacktesting
Quant Q&A

The answer describes a trading approach for returns generated by a known two-state Gaussian hidden Markov model. Rather than infer regimes from moving averages or other heuristic indicators, it recommends updating the probability of each hidden state from…

Machine learningStatisticsPosition sizingRisk management
Quant Q&A

The document is a request for guidance reproducing results from a study of the Great Recession using Markov-switching vector autoregression and Markov-switching dynamic stochastic general equilibrium models. It identifies an archived R package that can fit…

Machine learningStatisticsBacktesting
Quant Q&A

The document discusses how the number of trees and the number of predictors may affect random forest performance. Because forests use bootstrap samples of observations and random subsets of features, too few trees may leave some observations with little or…

Machine learningStatisticsBacktesting
Quant Q&A

The document examines differential Sharpe and downside deviation ratios (DSR and D3R), which use exponentially weighted estimates of returns and their squares to update risk-adjusted performance measures incrementally. This can avoid recalculating a…

StatisticsRisk managementMachine learningBacktesting
Quant Q&A

The discussion considers building a neural network to generate buy, sell, or hold signals from stock prices and technical indicators such as RSI and Williams %R. The response recommends defining a prediction horizon and labeling the direction of returns over…

EquitiesMachine learningTechnical indicatorsMomentum
Quant Q&A

The document asks how to estimate outcomes for US men and US women from three separate height datasets: people in the US, men worldwide, and women worldwide. Each dataset has its own linear regression, and some predictors may overlap. The proposed approach…

StatisticsMachine learning
Quant Q&A

The document explains ways to generate scenarios whose features retain specified marginal distributions or ranges while exhibiting dependence. It warns that applying a Cholesky factor directly to bounded, non-normal variables generally changes their marginal…

Machine learningStatisticsMulti-asset