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

16,761 documents

FMZ forum

This discussion examines how starting portfolio composition can distort a simple account-value profit calculation for a cryptocurrency strategy. It compares two accounts following the same price move: one begins with a bitcoin and no cash, while the other…

CryptoStatisticsBacktesting
Lumibot

This documentation explains how Lumibot represents cash flows separately from trading activity in strategy backtests and live broker data. It distinguishes deposits and withdrawals from performance while accounting for financing, dividends, fees, interest,…

BacktestingRisk managementPortfolio constructionExecution
Amberdata research

The document explains how crypto data aggregators combine information from centralized and decentralized exchanges into normalized time series. It frames fragmentation across venues, trading pairs, and blockchains as an infrastructure problem for…

CryptoArbitrageBacktestingRisk management
SuperMind

This screening rule selects Chinese stocks with turnover between 3% and 12% and year-over-year growth in net profit attributable to the parent company above 20% and up to 100%. It then ranks qualifying stocks by the day’s auction amount and chooses the first…

EquitiesChina marketsExecutionBacktesting
SuperMind

This stock screen combines a turnover range of 3% to 12% with year-over-year growth in net profit attributable to the parent company above 20% and up to 100%. It also requires the KDJ K value to be rising, using a prior-period comparison. The article…

EquitiesChina marketsTechnical indicatorsMomentum
SuperMind

This Backtrader example pairs a simple moving average crossover strategy with two sizing approaches. The strategy buys when price crosses above a 15-period simple moving average and sells when it crosses below. A long-only sizer submits a fixed stake for…

EquitiesTechnical indicatorsPosition sizingBacktesting
SuperMind

This post proposes a technical screen for Chinese A-share stocks. It selects shares with RSI below 65, seven consecutive sessions in which the close is no higher than the open, and a KDJ stochastic K reading below 20. The accompanying code sketch describes…

China marketsEquitiesTechnical indicatorsMean reversion
vn.py community

This brief VeighNa forum exchange asks how to adjust bar construction for the morning futures market break from 10:15 to 10:30. A respondent explains that the BarGenerator currently divides data according to timestamps and asks which kind of bar the user…

FuturesBacktesting
SuperMind

This stock-selection proposal targets main-board shares associated with robotics. It filters for turnover between three and twelve percent, circulating market value below 10 billion yuan, and a weekly five-period moving average crossing above the ten-period…

EquitiesChina marketsTechnical indicatorsMomentum
MQL5 code base

This indicator adapts the Hull moving average by using a fast exponential moving average in its calculation. The standard Hull method combines weighted moving averages over different periods and applies a smoothing step based on the square root of the…

Technical indicatorsTrend followingMomentumBacktesting
Lumibot

This bot aims to mirror a named member of Congress’s reported stock holdings. A research agent checks House disclosure filings, using annual reports as the starting portfolio and applying later trade reports to update it. It excludes options, real estate,…

EquitiesPortfolio constructionExecutionUS markets
SuperMind

This note outlines a chart-based stock screen using at least five converging moving averages, a rounded or arc-shaped price pattern, and a focus on stocks associated with 2021. It illustrates possible moving-average periods of 5, 10, 20, 50, and 200 days,…

EquitiesTechnical indicatorsTrend followingBacktesting
MQL5 code base

This document describes an expert advisor that trades changes in the direction color of a PercentageCrossover indicator. It generates a signal when a bar closes and the indicator changes direction, then allows trades to be restricted to a configurable daily…

ForexTechnical indicatorsTrend followingBacktesting
BigQuant

This report reviews factor performance across the broad market, sectors, industries, and indices during the first half of 2018, then examines factor selection in a market with sharply different outcomes across stocks and sectors. It reports that most factors…

EquitiesFactor investingPortfolio constructionBacktesting
BigQuant

This summary describes a market-timing approach that uses a convolutional neural network to extract patterns from lower-dimensional index features, including technical indicators, and classify expected returns. Predicted return classes are then used to drive…

China marketsEquitiesMachine learningTechnical indicators
BigQuant

The document answers how to identify when a strategy’s maximum drawdown occurred in a backtest. It recommends adding a strategy risk overview module after the backtest module, which reports the drawdown and its associated date. The example reports a maximum…

BacktestingRisk management
BigQuant

This report summary examines whether northbound capital flows into mainland Chinese equities can inform market timing and portfolio selection. It describes threshold signals for daily and weekly flows, then a dynamically adjusted timing indicator. It also…

China marketsEquitiesMomentumBacktesting
Freqtrade

This hourly long-only strategy combines the Average Directional Index (ADX) with two simple moving averages. It calculates a 14-period ADX and 3-period and 6-period SMAs. A long entry is signaled when ADX is above 25 and the shorter SMA crosses above the…

Technical indicatorsTrend followingBacktesting
Qlib

This QlibRL example describes how to configure and run a reinforcement learning workflow for executing orders in one asset. The training setup defines a simulator with 30-minute steps, a categorical action space, a full-history state representation, a…

EquitiesExecutionMachine learningBacktesting
FMZ guides

This guide explains FMZ’s simulated-tick and real-tick backtesting modes. Simulated ticks are generated from candlestick data, while real-tick mode replays recorded tick data and can include depth and trade records. The guide describes the trade-off between…

BacktestingStatisticsRisk managementExecution
MQL5 code base

This Expert Advisor trades when the ColorZeroLagTriX indicator cloud changes color. It forms a signal at bar close when the oscillator crosses its signal line, making the method dependent on a confirmed closing-bar crossover rather than an intrabar move. The…

ForexTechnical indicatorsBacktesting
MQL5 code base

This document describes an Expert Advisor that combines two independent trading systems based on the Skyscraper_Fix and ColorAML indicators. It generates a signal when a bar closes and either indicator changes color, which the document treats as a change in…

ForexTrend followingTechnical indicatorsBacktesting
SuperMind

The document describes a stock selection rule that filters for turnover between 3% and 12%, companies listed in 2021, and an observation at 9:25 with a price increase below 6%. It presents the screen as a way to refine entry timing and avoid buying after a…

EquitiesChina marketsTechnical indicatorsBacktesting
Amberdata research

The article explains Active Fundamental Performance (AFP), a measure intended to identify mutual fund managers who select stocks well on fundamental information. For each fund, it computes the covariance between benchmark-adjusted portfolio weights, or…

EquitiesFactor investingStatisticsBacktesting