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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

21,023 documents

Stratmill research code

This introduction explains how cointegration can help create a mean-reverting portfolio from price series that are not themselves mean-reverting. By combining multiple assets with suitable weights, a trader may construct a spread or portfolio whose value…

Mean reversionStatisticsPortfolio constructionPairs trading
FMZ forum

The document explains grid trading as repeated buying during declines and selling during advances, with portfolio rebalancing used to harvest price fluctuations. Its central example, attributed to Shannon’s Demon, splits capital equally between shares and…

Grid tradingPosition sizingStatisticsRisk management
BigQuant

This Chinese-language research summary explains how to estimate consensus net profit from analyst forecasts and turn that estimate into equity-selection signals. It proposes weighting forecasts by report recency and by each analyst’s prior adjusted forecast…

EquitiesFactor investingStatisticsBacktesting
MQL5 code base

The document defines trading volume as the amount of an asset traded over a period and average volume as total traded amount divided by the length of that period. It explains that volume is commonly expressed as shares per trading day for individual stocks,…

StatisticsMarket microstructureExecutionTechnical indicators
BigQuant

This literature digest summarizes two research topics. The first examines whether approval of new IPOs affects existing Chinese stocks. Treating the IPO approval system as a natural experiment, the summarized study reports negative price effects on existing…

China marketsEquitiesEvent-drivenFactor investing
MQL5 code base

This brief description introduces an oscillator formed from the ratio of two moving averages calculated with the linear regression method. The indicator compares a faster or slower regression-based average with another, offering a derived measure of their…

Technical indicatorsStatistics
BigQuant

This weekly research summary compares fundamental and price-related equity factors across Chinese index constituent universes. It reports that valuation, profitability, and financial-quality factors were relatively strong during the week, while growth was…

EquitiesFactor investingStatisticsChina markets
MQL5 code base

This document describes an XMA Ichimoku indicator that adds a visual estimate of trend strength using standard deviation. When the indicator’s standard deviation falls between two configured thresholds, it displays a small dot on the moving average; the dot…

Technical indicatorsStatisticsTrend following
MQL5 code base

This document describes a smoothed correlation indicator intended to distinguish trending price action from ranging or erratic movement. It calculates a bar-to-bar correlation coefficient over a correlation period and then applies smoothing, with both…

Technical indicatorsStatisticsTrend followingMean reversion
FMZ forum

This introductory programming note describes several Python mistakes that can make code behave unexpectedly or become harder to maintain. It recommends checking which Python version a program targets, favoring clear code over compressed one-liners, and…

StatisticsExecution
SuperMind

This overview organizes common machine learning methods in two ways: by their form or function, and by how they learn from data. It surveys regression, instance-based methods, regularization, decision trees, Bayesian methods, clustering, association rules,…

Machine learningStatistics
BigQuant

A trader reports that a stock-selection strategy using TA-Lib indicators produces different results each time it is run. The response points to an SQL query in one module that lacks an explicit sort order as the likely cause. When rows arrive in an…

BacktestingStatistics
quant-trading

The document outlines a mean-reversion strategy for two assets selected for cointegration. It uses the Engle–Granger two-step approach: regress one price series on the other, test whether the residuals are stationary, then fit an error-correction model and…

Pairs tradingMean reversionStatisticsBacktesting
ProRealCode

This ProOrder indicator draws a zigzag by identifying local highs and lows over a symmetric window and connecting alternating turning points. Its configurable depth parameter determines how many bars are considered around a candidate fractal: increasing the…

Technical indicatorsStatistics
FMZ forum

The article explains event-based tick data through changes to a limit order book: orders arrive, are canceled, or trade against resting quotes. With this event stream, a researcher can reconstruct the visible book, subject to venue rules and the depth…

Market microstructureHigh-frequency tradingExecutionStatistics
BigQuant

This article examines how training-window length affects an AI stock-selection model. It compares long windows, expanded year by year from 2005 to 2021, with shorter windows ranging from a month to a few years. The author recommends checking each window…

Machine learningBacktestingFactor investingStatistics
Stratmill research code

This implementation describes convergence trading for two cointegrated assets as a portfolio optimization problem. It estimates error-correction speeds and other model parameters from price data, then computes portfolio weights under both unconstrained and…

Pairs tradingArbitragePortfolio constructionStatistics
MQL5 code base

The document describes two ways to construct a Lagrange polynomial in an indicator tool. One option detects local maxima and minima automatically and uses those points as the basis for the polynomial. The other builds the polynomial from points chosen by the…

Technical indicatorsStatistics
SuperMind

Backtesting feeds a strategy’s rules with historical market data, turns the resulting signals into trades, and aggregates their profit and loss. The document presents four uses: screening candidate strategies, modeling market and execution conditions, tuning…

BacktestingStatisticsRisk managementExecution
BigQuant

This article introduces Granger causality and transfer entropy as ways to study directional predictive relationships in time series. Granger causality tests whether a source series improves forecasts of a target beyond the target’s own history, commonly…

StatisticsEquitiesMachine learningSentiment
ProRealCode

The document presents a logarithmic Garman–Klass estimator that uses open, high, low, and close prices to estimate realized or historical volatility. It forms log returns for close-to-close, close-to-open, open-to-previous-close, and high-to-low moves. The…

VolatilityStatisticsTechnical indicators
BigQuant

This document summarizes an introductory treatment of graph neural networks (GNNs), which learn from data represented as entities and their relationships. It explains how convolutional ideas used with images can be generalized to graph structures, whose…

Machine learningStatistics
BigQuant

The article reviews the long decline in mutual fund and ETF expense ratios and links it to investor choices, competition, and changes in financial advice and retirement plans. It distinguishes asset-weighted averages, which reflect where investors put their…

StatisticsPortfolio constructionUS markets