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 document outlines an automated strategy that enters long or short positions when moving averages meet a set of crossover conditions. The long setup is described as a golden cross, and the short setup as a dead cross. Each setup uses comparisons across…

Technical indicatorsTrend followingRisk managementBacktesting
MQL5 code base

The document describes a custom MetaTrader 5 Strategy Tester criterion for ranking strategies. It divides the test period into an earlier in-sample segment and a later out-of-sample segment, then calculates return, drawdown, risk-adjusted performance, trade…

BacktestingStatisticsRisk management
Lumibot

The document argues that trading agents need controls after they generate a signal: trade permissions, deterministic risk checks, execution controls, and records of their decisions. It describes a setup that separates research agents from agents allowed to…

ExecutionRisk managementBacktesting
FMZ forum

This article presents a checklist for judging whether a quantitative strategy is understandable and whether its reported performance reveals its risks. It recommends examining the strategy’s economic or behavioral rationale, the explanation for position…

Risk managementStatisticsBacktestingExecution
BigQuant

This project outlines a mean-reversion pairs strategy for Chinese futures. It screens candidate contract pairs for cointegration with an Augmented Dickey-Fuller test, estimates a changing hedge ratio with a Kalman filter, and measures spread behavior with…

FuturesChina marketsPairs tradingMean reversion
Lumibot

This example shows how to run a historical backtest of a cryptocurrency portfolio using a drift rebalancer and Alpaca’s backtesting data source. The described method compares holdings with target weights and trades assets that have drifted from those…

CryptoPortfolio constructionBacktestingPosition sizing
BigQuant

This research summary describes a multi-factor investment workflow that combines alpha forecasts, a risk model, transaction-cost estimates, portfolio optimization, and performance attribution. It argues that simple score-based selection or sector and…

EquitiesPortfolio constructionRisk managementStatistics
BigQuant

This brief Chinese-language support note explains a prediction-data problem traced to missing values in a rolling price-range factor. The example factor compares a short moving average of the high-low range with a longer moving average. According to the…

Machine learningStatisticsTechnical indicatorsBacktesting
Amberdata research

The document explains how implied volatility (IV) surfaces organized by option moneyness can help identify relative pricing anomalies. A floating surface compares options at their actual listed expirations, while a constant surface interpolates or…

OptionsVolatilityDerivatives pricingCrypto
BigQuant

The report asks whether exposure to macroeconomic policy uncertainty is priced in Chinese A-shares. It describes a news-based economic policy uncertainty index and estimates each stock’s EPU beta through time-series regression. Stocks are sorted into five…

EquitiesChina marketsFactor investingSentiment
BigQuant

This study examines whether price-to-earnings ratios, cyclically adjusted P/E (CAPE), and the bond-stock earnings yield measure (BSEYD) can signal major downturns in the Shanghai and Shenzhen composite indexes. It also describes return features in the two…

EquitiesChina marketsStatisticsBacktesting
Amberdata research

This article applies the stock-to-flow ratio to Bitcoin as a scarcity-based valuation approach. It defines stock as the existing supply and flow as new annual issuance, then estimates Bitcoin’s annual production from the change in supply over a year. Using…

CryptoStatisticsBacktesting
vn.py community

This guide explains how to organize data for VeighNa’s AlphaLab research workflow. It describes the roles of its directories, daily and minute bar files, index constituent records, and contract settings, then shows how preparation notebooks supply data…

EquitiesFactor investingBacktesting
Lumibot

The document describes an automated U.S. equities strategy that reconstructs a member of Congress’s reported stock portfolio from annual disclosures and subsequent transaction filings. A research agent combines the year-end holdings with later reported…

EquitiesUS marketsEvent-drivenPortfolio construction
BigQuant

This discussion examines why published quantitative findings and attractive backtests may fail to reproduce or translate into tradable returns. It explains how publication incentives, selective reporting, repeated testing, flexible data choices, and…

StatisticsBacktestingRisk managementFactor investing
BigQuant

The document describes a problem encountered when using an initialization module to set a day counter and prevent duplicate daily trades. In backtests, the counter reportedly advanced across several days, but in simulated trading the same first-day trade ran…

ExecutionBacktestingRisk management
BigQuant

This short forum post asks how to add market-timing conditions to a strategy backtest. The author has seen strategies reduce or alter exposure after several consecutive market declines and is interested in alternatives based on whether the Shanghai Composite…

EquitiesTechnical indicatorsBacktestingChina markets
BigQuant

This brief introductory response defines quantitative investing as finding patterns in historical data, translating them into a model and strategy, and using software to execute trades according to the resulting rules. It highlights discipline as a benefit:…

StatisticsMachine learningBacktestingRisk management
NautilusTrader

This tutorial demonstrates replaying Binance level-two order book snapshots and updates in a backtest engine. It describes rebuilding the book from timestamped deltas, then checking the best bid and ask sizes after each update. When the larger side exceeds a…

CryptoFuturesBacktestingMarket microstructure
BigQuant

This forum exchange describes a fix for a BigQuant data query that failed with a missing date key while combining two data sources. The suggested query explicitly selects the date and instrument fields along with technical factor fields. It also filters…

EquitiesTechnical indicatorsBacktesting
BigQuant

A user reports a discrepancy between a trade’s recorded execution price and the stock’s historical prices on the same date after adjustment for corporate actions. The example contrasts a reported buy price with lower adjusted open and close values. The…

EquitiesBacktestingStatistics
BigQuant

This document explains how to remove ChiNext stocks from both the training and test portions of a visual AI stock-selection strategy on BigQuant. It instructs users to insert a shared “filter market” module before the missing-data handling module in each…

EquitiesMachine learningChina marketsBacktesting
MQL5 code base

This document introduces an updated version of a DSL MACD indicator for MetaTrader 5. It says the revision refreshes the code for newer platform builds, aims to make the indicator suitable for use in Expert Advisors, and adds display options. Its main…

Technical indicatorsMomentumBacktesting
Lumibot

This documentation page catalogs practical Python examples for algorithmic trading, including buy-and-hold, momentum, bracket orders, historical data retrieval, quotes, technical indicators, position handling, persistent strategy state, and logging. It…

EquitiesTechnical indicatorsExecutionBacktesting