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
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

16,761 documents

MQL5 code base

This note describes a custom Williams Percent Range indicator for use with an expert advisor. Its purpose is to expose the plotted line color, line width, and two threshold levels as input settings, so the indicator display can match the EA’s trading rules…

Technical indicatorsBacktesting
SuperMind

This code example demonstrates a data workflow for a FinRL stock-trading project. It fetches a single stock’s price history through both yfinance and FinRL’s Yahoo downloader, then downloads a Dow 30 universe over configured training and trading periods. A…

EquitiesMachine learningBacktestingStatistics
BigQuant

This retrospective contrasts rule-based stock selection with machine-learning ranking and describes backtesting as a way to evaluate a strategy on historical market data. Its central caution is that a strong fit on a small sample can reflect an irrelevant…

BacktestingMachine learningExecutionRisk management
MQL5 code base

The document describes an Expert Advisor that trades signals from the DigitMacd oscillator. It enters when a bar closes and the indicator’s cloud changes color, making the color transition the strategy’s central trigger. The EA depends on a separately…

ForexTechnical indicatorsBacktesting
Qlib

This configuration defines a Qlib experiment that trains an IGMTF model on Alpha360 features for CSI 300 stocks. It uses historical data from 2008 through 2020, with training through 2014, validation in 2015–2016, and a held-out test period beginning in…

China marketsEquitiesMachine learningBacktesting
BigQuant

This research report examines market timing with breadth measures built from the constituents of the CSI 300. A diffusion indicator estimates the share of index stocks showing positive trends, offering a view of how broadly market direction is shared. The…

EquitiesChina marketsTechnical indicatorsBacktesting
BigQuant

This assignment turns a discretionary idea—finding concentrated holdings in recent hot industries—into a proposed equity research process. It suggests first identifying strong sectors with a sector momentum factor, then ranking stocks within those sectors…

EquitiesMomentumMachine learningBacktesting
BigQuant

The document describes a framework for evaluating equity factors and combining selected factors into a portfolio. It estimates factor returns with periodic cross-sectional robust regressions, measures the relationship between factor exposures and subsequent…

EquitiesFactor investingStatisticsBacktesting
SuperMind

This article explains industry rotation in China’s A-share market, describing how economic cycles, policy, fundamentals, and herding can cause leadership to shift across sectors. It outlines a momentum approach that ranks industry indexes by weighted returns…

China marketsEquitiesMomentumTrend following
BigQuant

This Chinese equities strategy looks for stocks with a bullish moving-average stack: the five-day average exceeds the ten-day, then the twenty-day, forty-day, and one-hundred-twenty-day averages. It adds a pullback condition: the day’s low must fall below…

China marketsEquitiesTrend followingTechnical indicators
OctoBot

This release note describes changes in OctoBot 1.0.2. ChatGPT strategy profiles can now be backtested for some settings using prompts precomputed from historical exchange-pair data downloaded by the service. The ChatGPT profile also shifts from daily trading…

CryptoBacktestingExecutionMachine learning
vn.py community

This forum post reports a VeighNa CTA backtest that reaches the historical-data loading stage but loads zero records. The script then completes initialization and replay with no trades, before result calculation fails because the daily results table lacks a…

FuturesBacktesting
SuperMind

This A-share stock screen combines a technical condition, a fundamental filter, and a short-term activity measure. It selects stocks with RSI below 65, parent-company net profit growth above 20% and at most 100%, and a turnover-based measure between 0.5 and…

China marketsEquitiesTechnical indicatorsMomentum
MQL5 code base

The document explains how to measure Expert Advisor runtime in MetaTrader 5 while excluding delays that can distort the tester’s reported duration. It distinguishes total run time, which can include history synchronization and tick preprocessing, from net…

BacktestingExecutionStatistics
BigQuant

This overview explains how deep learning models can be assembled from input, intermediate, and output layers in a visual strategy-building platform. It surveys layer families including convolution, pooling, recurrent networks, embeddings, noise and dropout,…

Machine learningStatisticsBacktesting
Freqtrade docs

This guide explains how to turn a trading idea into a Freqtrade strategy, from generating a template to defining indicators, entry and exit signals, stop losses, and optional position adjustments. It describes how Freqtrade represents candle data in pandas…

BacktestingTechnical indicatorsExecutionRisk management
BigQuant

The document contrasts selecting stocks by relative rank with selecting them by an absolute model score. A ranking method can always choose the highest-ranked names in a universe, even when their scores are weak. The proposed alternative sets a minimum score…

EquitiesMachine learningFactor investingBacktesting
SuperMind

This proposed Chinese equity screen selects stocks whose daily high-low range exceeds 1%, that had at least one limit-up day in the preceding 25 trading days, and whose circulating market value exceeds 10 billion yuan. The article interprets the range…

EquitiesChina marketsVolatilityMomentum
SuperMind

This document explains MACD as a way to compare a short-term and a long-term exponential moving average of closing prices. Their difference, DIFF, is smoothed into a signal line called DEA; MACD is calculated from the gap between DIFF and DEA. The standard…

EquitiesTechnical indicatorsMomentumBacktesting
SuperMind

The post outlines a stock screen combining three conditions: intraday high-low range relative to the open above 1%, a stated 2019 dividend-yield measure above 25%, and daily change from the open between -5% and 2.6%. It presents the conditions as a way to…

EquitiesTechnical indicatorsFactor investingBacktesting
BigQuant

The article explains robust portfolio optimization as a way to reduce the effect of errors in expected-return forecasts. Rather than optimize only for a single set of estimates, the methods consider adverse plausible cases and seek a portfolio that performs…

Portfolio constructionRisk managementPosition sizingBacktesting
TqSdk

This comparison explains differences between TqSdk and vn.py that matter when adapting existing trading strategies. vn.py is presented as an integrated package with market data, trading connections, storage, and interface components. TqSdk instead uses…

FuturesBacktestingExecutionMarket microstructure
BigQuant

The article discusses data integration challenges when developing strategies across US equities and forex. It highlights differences in update speed, price conventions, and data formats, arguing that timestamp misalignment and latency can create gaps between…

Multi-assetUS marketsForexExecution
SuperMind

The article proposes reducing noise in stock prices with wavelet decomposition, fitting ARMA models to the resulting coefficient series, forecasting those coefficients, and reconstructing a one-step-ahead price estimate. Its denoising explanation relies on…

EquitiesMachine learningStatisticsBacktesting