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
WonderTrader
14 documents
Alphalens
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

21,023 documents

MQL5 code base

This document describes an indicator that fits a polynomial regression trend to historical prices and draws a channel around it. The upper and lower lines are parallel to the regression curve, with their distance set by the maximum closing-price deviation…

Technical indicatorsStatisticsTrend followingBacktesting
MQL5 code base

Trend Envelopes use price-change thresholds to decide whether a new trend has begun or the existing trend should continue. This variant bases the price-change calculation on standard deviation, allowing the envelope threshold to adjust to conditions…

Technical indicatorsTrend followingStatistics
MQL5 code base

The document defines a histogram oscillator built from two Relative Strength Index series with different lookback periods. It subtracts the slow RSI from the fast RSI, then applies a simple moving average to that difference. The resulting smoothed series is…

Technical indicatorsMomentumStatistics
ProRealCode

This indicator combines a volume-weighted average price with MACD-style trend measures to classify market conditions. It calculates the average closing price weighted by volume over a rolling lookback, then plots the distance between the current close and…

Technical indicatorsMomentumStatisticsBacktesting
Stratmill research code

This document explains copula-based measures for comparing financial return series by separating marginal distributions from dependence. It presents Spearman’s rho as a rank-based dependence measure and contrasts it with Pearson correlation, which captures…

Multi-assetStatisticsPortfolio constructionRisk management
MQL5 code base

This document describes an expert advisor that counts observed spreads in predefined ranges as market ticks arrive. It reports the counts separately for each year and prints the statistics to the trading platform’s journal when it stops, making the output…

StatisticsMarket microstructureExecution
BigQuant

This BigQuant community post reports that applying a lagged value in a query that joins stock prefactors directly to an index-component table can produce zero-filled results. The example calculates a two-period stock return using a lagged close price, then…

China marketsEquitiesStatistics
BigQuant

This short forum answer addresses how to aggregate price-to-earnings data across stocks in an industry. It suggests using a grouped sum operation keyed by an industry classification and applying it to trailing-twelve-month P/E values in a stock-factor…

EquitiesChina marketsStatistics
BigQuant

This article proposes interpreting value, momentum, quality, and low-volatility returns through a recurring factor cycle inferred from factor performance itself. It describes normal periods, episodes when value suffers a major drawdown due to growth stocks…

EquitiesFactor investingMomentumMean reversion
ProRealCode

The HawkEye volume indicator colors a volume histogram according to rules combining current price action, bar range, and trading volume. It compares range and volume with moving averages over a lookback period, then locates the current close relative to…

Technical indicatorsStatistics
BigQuant

The document describes preparing supervised-learning labels from Chinese daily stock bars. It calculates a forward price ratio using lead values, clips observations to the cross-sectional 1st and 99th percentile boundaries, and assigns the result as the…

EquitiesChina marketsMachine learningStatistics
MQL5 code base

This example introduces support vector machines through a hypothetical animal-classification task. It defines seven numeric features and labels an observation positive when every feature falls within a specified range. Randomly generated observations and…

Machine learningStatisticsBacktesting
MQL5 code base

Chaikin Money Flow (CMF) summarizes buying and selling pressure over a chosen lookback period. Its calculation weights volume according to where the close falls within each bar’s high-low range, then divides the period’s summed money-flow volume by summed…

Technical indicatorsEquitiesMomentumStatistics
BigQuant

This shared open-source example builds a daily classifier for Chinese stocks using price and volume data, technical indicators, and three supervised models: a random forest, logistic regression, and a linear support vector classifier. Features include…

China marketsEquitiesMachine learningTechnical indicators
BigQuant

The report describes applying OpenFE, an enumerate-and-filter framework, to discover interpretable fundamental factors from Chinese companies’ balance sheets, income statements, and cash-flow statements. It first removes fields with substantial missing data,…

EquitiesFactor investingMachine learningStatistics
MQL5 code base

This document defines a bull and bear power oscillator using binary signals derived from each bar’s high and low relative to an exponential moving average of closing prices. A bull signal is set when the high exceeds the EMA, while a bear signal is set when…

Technical indicatorsStatistics
ProRealCode

This experimental ADX variant uses a Vertical Horizontal Filter (VHF) to adapt its effective calculation period to price movement, and applies an Exponential Smoothing and Innovation State Space Model (ISSM) filter to high, low, and close inputs. It derives…

Technical indicatorsTrend followingStatistics
ProRealCode

This indicator builds channels from the rolling highs and lows of several moving-average lines. It compares each moving-average channel’s width with a threshold based on the close-price range over the prior 300 bars. A sufficiently wide channel is treated as…

Technical indicatorsTrend followingStatistics
BigQuant

This research summary describes a monthly sector-rotation framework for Chinese equities. It groups 29 CITIC first-level industries into financial, cyclical, consumer, and growth sectors, builds market-cap-weighted sector indices, and proposes selecting…

EquitiesChina marketsPortfolio constructionStatistics
BigQuant

This overview defines factors as common drivers of security returns and distinguishes systematic factor exposure from asset-specific risk. It traces the move from the market-only CAPM to multi-factor explanations such as the Fama–French market, size, and…

EquitiesFactor investingPortfolio constructionStatistics
ProRealCode

This indicator estimates the expected value of a long trade held for a fixed number of bars in two ways. Its empirical engine repeatedly samples overlapping historical trades, optionally applying take-profit and stop-loss rules, then calculates average…

StatisticsBacktestingRisk managementVolatility
MQL5 code base

The document introduces M2_MA, a technical indicator described as a smoothed, non-trivial linear combination of exponential and linearly weighted moving averages. It identifies the indicator’s author and notes that its implementation relies on reusable…

Technical indicatorsStatistics