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
Quantpedia
86 documents
TqSdk
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 raises a practical estimation question about the diffusion matrix in a multivariate financial model. It focuses on a setup in which factor or eigenportfolios are constructed to have zero covariance, making a covariance estimate based directly on…

StatisticsPortfolio constructionMachine learning
Quant Q&A

The document responds to a student seeking manageable machine-learning project ideas with two research directions from quantitative finance. The first is deep hedging for risk management, along with data-driven estimates of option Greeks such as delta.…

Machine learningOptionsDerivatives pricingRisk management
Quant Q&A

The note addresses a non-finite initial-value error when estimating a Markov-switching vector autoregression in R. One answer suggests that the model may require stationary input and recommends removing trends, for example by subtracting a mean or a fitted…

StatisticsMachine learningBacktesting
Quant Q&A

The document describes a volatility-modeling question involving monthly returns on a Brazilian equity index. After fitting an ARIMA model, the author finds mixed evidence in its residuals: plots and autocorrelation-based checks on squared residuals do not…

EquitiesVolatilityStatisticsMachine learning
Quant Q&A

The discussion asks why a logistic regression strategy can show acceptable backtest and walk-forward performance even when its coefficients have insignificant p-values. It cautions that standard significance tests assume a single model was specified in…

StatisticsMachine learningBacktesting
Quant Q&A

The discussion concerns estimating the dependence structure between innovations from two time series. The question points to parametric and nonparametric approaches and asks what it means to filter time out before estimating a copula. The answer frames the…

StatisticsMachine learningRisk management
Quant Q&A

The document distinguishes a compound Poisson process, formed by summing random jump sizes up to the count of a Poisson process, from a marked Poisson process, which pairs event times with marks. A compound process can be constructed from a marked process by…

StatisticsMachine learning
Quant Q&A

The document distinguishes quantitative research from production execution when choosing programming languages. It presents R and Python as suitable environments for research and alpha-model development, while noting that a complete trading system must also…

ExecutionHigh-frequency tradingMachine learning
Quant Q&A

The document raises an estimation concern about the prediction matrix in Bryan Kelly’s Principal Portfolios framework. The matrix links each asset’s next-period return to signals associated with other assets, and the cited estimator averages return–signal…

EquitiesFactor investingStatisticsMachine learning
Quant Q&A

The document explains a signal as a variable derived from market information that represents or triggers an investment decision. It may be binary, indicating whether to act, or take a range of values that can encode degrees or directions of action, such as…

StatisticsExecutionMachine learning
Quant Q&A

The document discusses how to encode intraday trading rules in a genetic algorithm when signals are mostly Boolean conditions. One reply proposes representing entry and exit logic as separate chromosome segments, with genes selecting AND or OR operators…

Machine learningTechnical indicatorsBacktestingRisk management
Quant Q&A

The document recommends books for a statistics student seeking an introduction to financial theory and models. It points to texts on financial time series, econometrics, volatility, risk management, event studies, asset pricing, and machine learning. The…

StatisticsVolatilityRisk managementMachine learning
Quant Q&A

The document compares a two-state hidden Markov model applied to currency-return volatility with a simple threshold that labels observations as high or low volatility. A threshold can produce a similar-looking state sequence, but it does not account for the…

VolatilityMachine learningForexStatistics
Quant Q&A

The document considers how to represent Bollinger Bands as inputs to a neural network that predicts market direction across multiple stocks. The replies explain that the bands combine a moving average with a volatility-based width, so raw price levels are…

Technical indicatorsMachine learningEquitiesVolatility
Quant Q&A

The document asks for stable, nontrivial dependence patterns in financial data, beyond direct relationships such as a derivative and its underlying. The accepted answer offers the Presidential Puzzle as a candidate: research reported higher average excess…

EquitiesStatisticsMachine learning
Quant Q&A

This note illustrates how least squares Monte Carlo can approximate a conditional expectation using simulated observations. For independent uniform variables X and Y, it forms an observable Z from a nonlinear function of both, then regresses simulated X…

StatisticsMachine learningDerivatives pricing
Quant Q&A

The document raises a practical estimation problem in using Markov switching models to forecast financial risk regimes. It reports that the Baum-Welch algorithm, commonly used for hidden Markov model estimation, can converge very slowly or fail to converge…

Machine learningStatisticsRisk management
Quant Q&A

The document describes a proposed scenario-generation pipeline for stock returns. It fits a univariate GARCH(1,1) model with an ARX mean and Student-t residuals to each stock, transforms standardized residuals to uniform variables, fits a multivariate…

EquitiesStatisticsMachine learningRisk management
Quant Q&A

This discussion explains how to retrieve estimated volatility summaries from an R model fit with the stochvol package. The questioner compares a plot produced by the package’s plotting function with median values computed from the latent simulation draws and…

VolatilityMachine learningStatistics
Quant Q&A

The note explains how to interpret transition parameters from a three-state Markov-switching GARCH fit in R’s MSGARCH package. Although a three-state transition matrix has nine entries, only six are independently estimated because each state’s remaining…

Machine learningVolatilityStatistics
Quant Q&A

The discussion concerns filtering a stationary but nonperiodic time series in a causal way, a challenge for Fourier methods because they do not localize frequency changes in time. The questioner has tried empirical mode decomposition and intrinsic time-scale…

Technical indicatorsStatisticsMachine learning
Quant Q&A

The question asks how to classify stocks beyond familiar categories such as sector, industry, exchange, currency, and market capitalization, in the context of analyzing portfolio margin. The answer proposes unsupervised hierarchical clustering, followed by a…

EquitiesMachine learningStatisticsPortfolio construction
Quant Q&A

The document compares programming needs in quantitative finance and argues that language choice depends on the work being done. For research and backtesting, it favors high-level languages such as Python, Matlab, and R because they shorten the path from an…

BacktestingHigh-frequency tradingMachine learningExecution
Quant Q&A

The document raises a practical feature-construction issue when replicating research on high-frequency stock return predictability. It asks how to calculate transaction returns or price direction over very short intervals when trades may be much less…

High-frequency tradingEquitiesMarket microstructureMachine learning