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 describes a trading system that predicts buy or sell labels and sizes positions using predicted probabilities. Despite similar out-of-sample F1 scores in training and backtest periods, the strategy loses money after commissions and slippage. The…

Machine learningBacktestingExecutionRisk management
Quant Q&A

This explanation describes how to map market observations into a multilayer perceptron for time-series prediction. Each observation forms an input vector, and every hidden neuron computes a weighted combination of its input features, adds a bias, and applies…

Machine learningHigh-frequency tradingMarket microstructureStatistics
Quant Q&A

This note considers how much historical data to use when forecasting financial time series, such as predicting the next daily market close. It cautions against choosing a lookback window by searching for the interval whose forecast most closely matches a…

StatisticsMachine learningBacktestingHigh-frequency trading
Quant Q&A

The document addresses calculating rolling slope features for a time series stored in a pandas data frame. The original attempt fits a line to slices of volume and volume-price-trend observations, then writes results at positions beyond the current frame,…

Technical indicatorsStatisticsMachine learning
Quant Q&A

This document is aimed at a project supervisor seeking a broad map of machine learning methods relevant to an algorithmic momentum strategy. It names families such as neural networks, reinforcement learning, regression, clustering, Markov models,…

Machine learningMomentumBacktestingPortfolio construction
Quant Q&A

The document asks how to estimate the degrees of freedom for a multivariate Student t distribution used to simulate asset returns. The questioner already has a sample mean vector and covariance matrix and notes that, when the degrees of freedom exceed two,…

StatisticsMachine learningPortfolio constructionRisk management
Quant Q&A

The document considers whether a linear regression can predict a stock-related label more effectively by combining current observations with observations from earlier periods. Concatenating these feature vectors can capture temporal information, but it also…

EquitiesMachine learningStatisticsBacktesting
Quant Q&A

The discussion explains why Black–Scholes–Merton is primarily an option-pricing framework, not a recipe for generating entry and exit signals in spot markets. Its geometric Brownian motion assumptions imply lognormal stock prices, but the answer notes that…

OptionsEquitiesDerivatives pricingStatistics
Quant Q&A

The note explains how to test whether past values of one series help predict another series over time. It recommends Granger causality, starting with an autoregressive benchmark that explains the target variable using its own lagged values. The researcher…

StatisticsMachine learningBacktesting
Quant Q&A

The document asks which market series can illustrate alternating high- and low-volatility regimes for a regime-switching model. The questioner considers oil, equity indexes, and individual stocks, but observes that a steadily rising stock series with…

EquitiesVolatilityMachine learningUS markets
Quant Q&A

The document asks for an R library that can model Markov-switching EGARCH volatility, with controls for the volatility term structure, long-term volatility, calibration, and forecasting. The answer recommends the MSGARCH package and points to its vignette…

VolatilityStatisticsRisk managementMachine learning
Quant Q&A

The document asks why rough Heston calibration or neural-network approximation may use the Hurst parameter, correlation, volatility of volatility, and forward variance, while leaving out mean reversion, initial variance, and long-run mean variance as…

OptionsVolatilityDerivatives pricingMachine learning
Quant Q&A

This exchange addresses a question about a Riemann-sum approximation to a rough-volatility prediction formula. The question concerns why a term involving the cosine of the Hurst parameter, divided by pi and multiplied by a power of the time increment, is…

VolatilityStatisticsMachine learning
Quant Q&A

The document compares data-driven prediction with theory-based mathematical modeling and presents a broader three-part taxonomy: statistical, equilibrium-based, and empirical approaches. Statistical methods seek predictive accuracy with limited prior…

Machine learningStatisticsFactor investingHigh-frequency trading
Quant Q&A

The document explains how fractional differencing applies the lag operator to a price series and produces a weighted sum of current and past observations. Expanding the operator $(1-B)^d$ with the generalized binomial theorem gives the weights: each power of…

Machine learningStatisticsTechnical indicators
Quant Q&A

The document asks whether a skewed target must be transformed to a normal distribution and which machine learning methods rely on normality. It names Linear Discriminant Analysis and Quadratic Discriminant Analysis as methods derived under a multivariate…

Machine learningStatistics
Quant Q&A

The document describes an expectation-maximization approach for estimating a conditional Gaussian model when observations of either variable may be missing. It frames the conditional relationship between two variables as a form of a bivariate Gaussian and…

StatisticsMachine learning
Quant Q&A

This document poses a factor-modeling question: how to put returns measured on different scales onto comparable scales before predicting target returns. It lists several candidate methods: subtracting the mean and dividing by standard deviation, dividing by…

Factor investingStatisticsMachine learning
Quant Q&A

The document describes a feature-selection problem in quantitative finance. The author splits a time series chronologically into training, test, and out-of-sample periods, then uses Spearman correlations and a p-value threshold to select features. The…

StatisticsMachine learningBacktesting
Quant Q&A

The document outlines a workflow for modeling dependence among several variables with different marginal distributions. It maps observations through empirical distribution functions to pseudo-uniform values, fits a t-copula to those values, draws new joint…

StatisticsRisk managementMachine learning
Quant Q&A

The document concerns a comparison of GARCH, GJR-GARCH, and GARCH-MIDAS models for FTSE MIB returns, with the Climate Policy Uncertainty Index as the lower-frequency explanatory variable. The researcher reports that conventional GARCH and GJR models perform…

EquitiesVolatilityRisk managementMachine learning
Quant Q&A

The document discusses how to make price-derived features comparable across stocks with different price levels and across periods when an instrument’s price changes substantially. One answer recommends log returns as a common scale, followed by…

EquitiesMachine learningStatisticsVolatility
Quant Q&A

The discussion asks whether econometric time-series models and neural networks can be compared as competing approaches to forecasting, including by measures such as error and accuracy. Its central explanation is that the categories overlap: familiar…

Machine learningStatisticsBacktesting
Quant Q&A

The document sketches a high-frequency trading system split between real-time execution and analytical work. The real-time side consumes market data, maintains local limit order books, runs strategies, and creates, updates, or cancels orders. The analytical…

High-frequency tradingMarket microstructureExecutionMachine learning