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
Quantopian lectures
45 documents
Binance API docs
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

4,613 documents

Strategy library

This strategy uses a fast and slow exponential moving average crossover to generate long and short entries. The supplied defaults are a 20-period fast EMA and a 50-period slow EMA. Position quantity is fixed, while a percentage input is used in calculations…

Technical indicatorsTrend followingPosition sizingRisk management
Strategy library

This strategy uses a moving average and a volatility band built from twice the average true range to classify the market as rising or falling. It switches to an uptrend when the low moves above the upper threshold and to a downtrend when the high falls below…

FuturesTrend followingTechnical indicatorsVolatility
Strategy library

This trend strategy combines fast, medium, and slow Supertrend indicators to create up to three long entries. Its described setups use the indicators’ directions for an initial entry, a later stop entry around the faster Supertrend, and another entry after…

FuturesCryptoTrend followingBreakout
Strategy library

This strategy example uses the relationship between short- and long-period moving averages to identify directional trends. It filters crossover signals using the size of the moving-average difference, recent price momentum, and configurable thresholds tied…

Trend followingMomentumTechnical indicatorsPosition sizing
Strategy library

This script describes a mean-reversion strategy for two related futures contracts. It collects daily closes over a rolling window, standardizes each contract’s prices separately, and defines the spread as the difference between those standardized series. It…

FuturesPairs tradingMean reversionBacktesting
Strategy library

This gold strategy builds an opening range during the 13:00–14:00 UTC hour on weekdays, then looks for a long breakout during a later entry window. A signal requires price to cross above the range high, a bullish bar, elevated volume, and volatility…

CommoditiesBreakoutTechnical indicatorsVolatility
Strategy library

This U.S. stock strategy takes a directional position when a security has moved far enough from the previous session’s close by 2:00 PM. It buys after a sufficiently large rise and shorts after a sufficiently large decline, then enters shortly after the…

EquitiesUS marketsMomentumExecution
Strategy library

This document describes a configurable strategy that combines channel breakouts and consecutive rising or falling bars with moving-average and MACD crossovers. It also lists chart indicators for context, including swing highs and lows for stop placement,…

BreakoutMomentumTechnical indicatorsRisk management
Strategy library

This trend-following system builds a cumulative series from price changes scaled by recent variability, then compares that normalized series with a Hull moving average. Crossovers open long positions and crossunders open short positions, with an opposite…

FuturesCryptoTrend followingVolatility
Strategy library

This research framework studies how win rate, realized win-to-loss ratio, trading frequency, and position risk interact in a cryptocurrency trend breakout system. It enters long or short when a completed hourly bar breaks the previous 20-bar range and uses…

CryptoPerpetual futuresBreakoutTrend following
Strategy library

This example trains a random forest classifier each trading day to predict whether a Chinese rubber futures contract will close higher or lower on the next trading day. Its features are three price-derived series labeled as SMA, WMA, and momentum measures,…

FuturesMachine learningStatisticsBacktesting
Strategy library

This strategy uses short-term RSI pivot divergences to identify possible reversals, with a longer-term RSI condition to filter entries. Regular bullish divergence occurs when price makes a lower low while RSI makes a higher low; hidden bullish divergence…

CryptoFuturesTechnical indicatorsRisk management
Strategy library

This strategy uses a 14-period RSI and upper and lower thresholds to generate opposing trades. In its default mode, an RSI move above the upper threshold signals a short, while a move below the lower threshold signals a long. The thresholds are 75 and 25 in…

Technical indicatorsMean reversionRisk managementPosition sizing
Strategy library

This Pine strategy is designed to detect stop runs around recent swing highs and lows, then trade a reversal after price rejects the swept level. Its inputs show a framework for tracking swing zones, measuring sweep depth and prior touches, and assessing…

Technical indicatorsMean reversionRisk managementPosition sizing
Strategy library

This implementation of the Dual Thrust strategy sets upper and lower entry thresholds around the latest anchor-timeframe open. Each threshold is offset by a coefficient times the larger of two recent price ranges, calculated from rolling highs, lows, and…

BreakoutFuturesTechnical indicatorsRisk management
Strategy library

This strategy enters a long position when a candle occurs at 16:00, then places a take-profit limit and stop-loss based on percentages of the entry price. Position sizing is described as a fixed share of available equity, though the source code calculates a…

FuturesCryptoRisk managementPosition sizing
Strategy library

This strategy combines RSI thresholds with the direction of a moving average calculated from RSI to generate long and short entries. It enters long when RSI is above its stated upper threshold and the RSI-based average is rising, and enters short when RSI is…

Technical indicatorsTrend followingRisk managementPosition sizing
Strategy library

The described system uses a fast and slow double exponential moving average (DEMA) pair to follow trends, with the faster line crossing above or below the slower line to indicate direction. A Hull moving average filter is intended to screen signals unless it…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This strategy calculates a trailing twelve-month percentage return, adapting its lookback to the chart interval. It uses approximate trading-bar counts for daily and weekly charts and calendar months for monthly charts; other intervals estimate bars per year…

MomentumTrend followingTechnical indicatorsPosition sizing
Strategy library

This long-only grid strategy operates between fixed upper and lower price bounds. It divides the range into configurable levels, using either geometric or arithmetic spacing, buys when price crosses down through a level, and sells on an upward crossing at…

CryptoPerpetual futuresGrid tradingPosition sizing
Strategy library

Despite the document title referring to selling, the supplied script describes a two-sided Turtle-style trend-following system. It enters long after a close crosses above the prior 55-period high, or short after crossing below the prior 55-period low.…

Trend followingBreakoutFuturesTechnical indicators
Strategy library

This strategy combines RSI and CCI readings across short intraday timeframes, with Bollinger Bands available as an auxiliary condition. It proposes staged long or short entries using dollar-cost averaging, with configurable order weights, take-profit levels,…

FuturesCryptoTechnical indicatorsPosition sizing
Strategy library

This strategy uses bullish and bearish engulfing patterns to start positions in the direction of a 200-period EMA filter. It sizes an initial entry from a small equity fraction, then permits up to four additional entries when price moves against the position…

Technical indicatorsTrend followingPosition sizingRisk management