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

23 documents

Stratmill research code

The Range Action Verification Index (RAVI) is described as a trend-detection indicator based on the percentage difference between current and past prices. The document gives threshold-crossing rules attributed to its developer: an upward cross of a 3%…

Technical indicatorsTrend followingMomentum
Stratmill research code

This code implements a collection of cross-sectional and time-series equity alpha factors, mainly using close, open, high, low, volume, returns, and VWAP data. The factors combine operations such as rolling ranks, correlations, moving averages, extrema, and…

EquitiesFactor investingTechnical indicatorsStatistics
Stratmill research code

This Python module provides utilities for evaluating systematic strategies and constructing several trend signals. It computes annual return and volatility, Sharpe and Sortino ratios, downside risk, maximum drawdown, Calmar ratio, positive-return frequency,…

Trend followingTechnical indicatorsRisk managementBacktesting
Stratmill research code

This document describes a trading rule that measures a spread’s latest value against its recent average and standard deviation. It uses separate lookback windows for the mean and standard deviation, then calculates a z-score to identify unusually high or low…

Mean reversionTechnical indicatorsStatisticsRisk management
Stratmill research code

This document describes helper calculations commonly used to construct quantitative signals from price or other tabular time series. Its functions cover rolling sums, averages, standard deviations, correlations, covariances, ranks, products, extrema,…

Technical indicatorsStatistics
Stratmill research code

The document contains reusable strategy calculations for price returns, volatility scaling, trend following, and MACD signals. Its intermediate trend strategy combines the signs of one-month and one-year returns, weighted by a parameter, and applies that…

Trend followingTechnical indicatorsVolatilityRisk management
Stratmill research code

This code sample implements parts of the Alpha101 factor set using historical equity fields such as open, high, low, close, volume, returns, and volume-weighted average price. The formulas combine rolling ranks, moving averages, correlations, price changes,…

EquitiesFactor investingTechnical indicatorsStatistics
Stratmill research code

This Chinese equity screening proposal combines three conditions: daily price amplitude above 1%, a dividend ratio above 25% for 2019, and a 15-minute MACD histogram that is shortening while below zero. The rationale is to find volatile shares with a history…

EquitiesChina marketsTechnical indicatorsVolatility
Stratmill research code

This note proposes a short-term Chinese equity screen that selects stocks with a price amplitude above one, an appearance on the prior day's trading list with buying greater than selling, and a rising DEA indicator. The rationale is to combine elevated…

EquitiesChina marketsMomentumTechnical indicators
Stratmill research code

This data-preparation workflow builds model inputs for a momentum strategy from asset closing prices. It clips prices using bounds based on an exponentially weighted mean and standard deviation, derives daily returns and volatility, and creates a next-period…

Machine learningMomentumVolatilityTechnical indicators
Stratmill research code

This tutorial demonstrates how to inspect market depth and trade flow in an event-driven backtest. It first reads the nearest visible bid and ask levels, then shows a region-of-interest vector representation that limits depth access to a configured price…

Market microstructureBacktestingTechnical indicatorsCrypto
Stratmill research code

This module describes calendar rules for rolling several futures series: crude oil, NBP natural gas, refined products including RBOB, grains, and ethanol. The rules use contract-specific termination conventions, such as dates near the 25th or 15th of a…

FuturesCommoditiesBacktestingTechnical indicators
Stratmill research code

This document presents a Chinese stock screening rule that combines RSI below 65, seven consecutive sessions in which the close is no higher than the open, and a latest price above its five-day moving average. It frames the conditions as a way to identify a…

EquitiesTechnical indicatorsMean reversionChina markets
Stratmill research code

The document describes three ways to refine spread trading signals. A threshold filter enters or maintains a long or short spread position only when the predicted spread change crosses a chosen boundary; an asymmetric version allows different boundaries for…

Pairs tradingTechnical indicatorsVolatilityRisk management
Stratmill research code

This Python class implements a broad collection of formula-based equity signals using daily close, open, high, low, volume, returns, and volume-weighted average price data. Its methods translate rank, correlation, rolling-window, change, volatility, and…

EquitiesFactor investingTechnical indicatorsBacktesting
Stratmill research code

This Chinese stock-selection note combines three filters: MACD above its zero axis, a 2021-to-2018 revenue ratio above 1.1, and a gain below 6% at 9:25. The rationale is to pair positive technical momentum and multi-year revenue growth with a limit on the…

EquitiesTechnical indicatorsMomentumChina markets
Stratmill research code

This Python class assembles a subset of Alpha101-style equity signals from price, volume, VWAP, returns, and precomputed factor series. Its methods apply operations such as cross-sectional ranking, rolling correlation, covariance, time-series ranking, decay,…

EquitiesFactor investingTechnical indicatorsStatistics
Stratmill research code

This data-preparation module builds time-series inputs for a deep-learning momentum model. It reads close prices, clips extreme values using an exponentially weighted mean and standard deviation, then derives daily returns and volatility. The target is a…

Machine learningMomentumVolatilityTechnical indicators
Stratmill research code

This note presents a basic stock-selection filter for shares whose codes begin with 60. It requires the daily high-low range to exceed one percent of the prior close and yesterday’s trading value to exceed a stated threshold. The document interprets the…

EquitiesChina marketsVolatilityTechnical indicators
Stratmill research code

The document introduces the Commodity Channel Index (CCI), describing it as a statistical technical indicator that compares price movement with a typical range. It notes that the indicator was first used in futures analysis and later applied to equities. CCI…

Technical indicatorsStatisticsEquitiesFutures
Stratmill research code

This document presents a partial Python implementation of an Alpha101-style factor library. Its functions combine price and volume data using rolling ranks, correlations, covariance, moving averages, standard deviations, price changes, and volume averages.…

EquitiesFactor investingTechnical indicatorsStatistics
Stratmill research code

This code presents discretized mutual information (MI) and variation of information (VI) measures for comparing two data series. When the user does not supply a bin count, it estimates one from the observation count and, for the bivariate case, the…

StatisticsTechnical indicators
Stratmill research code

This code describes a data formatter for a momentum model. It defines target returns, normalized returns over several horizons, MACD features, and optional change-point, calendar, and ticker identity inputs. It also assigns columns roles such as target,…

MomentumTechnical indicatorsMachine learningBacktesting