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

7,910 documents

Strategy library

This long-only strategy identifies bullish hammer-like candles using conditions on the candle body, upper wick, and lower wick. When either of its two candle tests is met, it enters a position sized to the account’s current equity relative to the closing…

Technical indicatorsMean reversionPosition sizingRisk management
Strategy library

This strategy compares a closing price with an N-period simple moving average and expresses the absolute difference as a percentage of price. It assigns a short position when the gap exceeds an upper threshold and a long position when it falls below a lower…

Mean reversionTechnical indicatorsBacktestingFutures
Strategy library

This strategy combines four technical filters to define long and short setups. It uses fast and slow EMA relationships to establish direction, Bollinger %B thresholds to require price near the upper or lower band, the Awesome Oscillator to confirm momentum,…

Technical indicatorsTrend followingMomentumVolatility
Strategy library

This script defines bullish and bearish candles with no wick on either end: an up candle has its low at or above the open and its high at or below the close, while a down candle has the inverse relationship. It also marks sequences in which two such candles…

Technical indicatorsBacktesting
Strategy library

This note explains why a futures position’s displayed average price may not represent its original entry price. It contrasts the generic position price field with exchange-specific fields for opening cost, average cost, or entry price. The example shows a…

FuturesCryptoRisk managementExecution
Strategy library

This strategy combines the Traders Dynamic Index (TDI), a Price Action Channel (PAC), and MACD to identify directional signals around possible trend changes. TDI uses RSI and smoothed RSI lines, with their crosses and positions relative to a middle line…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This intraday strategy defines the opening range from the first five-minute candle after the 9:30 market open. It watches for a break above or below that range, then waits for price to retest the boundary and resume in the breakout direction. Entry also…

BreakoutTechnical indicatorsRisk managementExecution
Strategy library

This strategy uses a 120-minute Supertrend, calculated with an ATR period of 14 and factor of 3.42, to set directional entries when price crosses its line. It uses a 15-minute RSI with length 5 as an additional exit signal, closing longs at an upper…

FuturesTrend followingTechnical indicatorsPosition sizing
Strategy library

This document outlines a trend-following method using a 5-period exponential moving average and a 20-period simple moving average. Its written description calls for signals to align across the chart timeframe and a 4-hour timeframe: an upward crossover on…

FuturesTrend followingTechnical indicatorsBacktesting
Strategy library

This script describes a countertrend strategy that enters long after a large bearish candle and short after a large bullish candle. It identifies unusually large bars by comparing each bar’s high-low range with a moving average of recent ranges, then…

Mean reversionTechnical indicatorsRisk managementBacktesting
Strategy library

This document describes a contract grid strategy with long, short, or two-sided operation. It places orders across a price range anchored to an initial or current price, aiming to capture repeated moves between grid levels. Grid count is calculated…

CryptoFuturesGrid tradingExecution
Strategy library

This document presents a trend-following method using 10-day, 100-day, and 200-day exponential moving averages. The accompanying source enters long when the three averages are aligned in ascending order, with the shortest above the middle and the middle…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This document outlines a rules-based strategy combining moving averages, estimated buying and selling volume, and Bollinger Bands. It uses 20-day and 60-day averages to describe trend direction, and compares estimated buy or sell volume with the opposing…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This document describes a short-only strategy for the POL perpetual market. It opens a position when a 9-period RSI on a 5-minute chart crosses down through 80, treating a retreat from overbought conditions as a possible reversal. The base order is followed…

CryptoPerpetual futuresMean reversionTechnical indicators
Strategy library

This combined strategy requires a short-term reversal signal and a longer-term trend signal to agree before entering. The reversal component uses a Stochastic oscillator with price movement over recent bars and fast/slow line relationships around the…

FuturesMean reversionTrend followingTechnical indicators
Strategy library

This trend-following method builds a channel from the highest and lowest values of a higher-timeframe opening price over a configurable lookback, then compares the current close with a switching threshold. A close crossing above the threshold triggers a long…

FuturesTrend followingBreakoutTechnical indicators
Strategy library

This BTC perpetual strategy combines several trend and activity measures: ADX, a cloud indicator, a range filter, a fast moving average, MACD, volume, and RSI. Its main entries use these indicators to identify direction and avoid flat or overextended…

CryptoPerpetual futuresTrend followingTechnical indicators
Strategy library

This strategy combines a 20-period EMA for directional bias, a 21-period Hull moving average for trend direction, and a 14-period ADX filter that can be switched off. It enters only when these conditions align, the price is within two ATRs of the EMA, and…

FuturesTrend followingTechnical indicatorsRisk management
Strategy library

This trend-following method enters long when the close crosses above the first upper standard-deviation band and enters short when it crosses below the first lower band. It exits a long when price crosses below the moving-average basis and exits a short when…

CryptoFuturesTrend followingBreakout
Strategy library

The narrative describes a 20-period simple moving average and 5-period exponential moving average, with price crossings filtered by a MACD cross held for several periods. It also proposes updating stops around post-entry highs or lows. However, the included…

CryptoFuturesBreakoutTechnical indicators
Strategy library

The strategy describes a smoothed RSI-style oscillator intended to reduce short-term noise while limiting lag. Its source first forms a weighted price from the current close and three prior closes, then sums upward and downward changes over a configurable…

CryptoFuturesMomentumTechnical indicators
Strategy library

This trend-following system uses a 12-period EMA crossing a 21-period EMA to open long or short positions. It calculates a 14-period ATR and places stop-loss orders 1.5 ATR from the average entry price and profit targets 3 ATR away, giving a nominal 1:2…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This long-only system combines SuperTrend direction, an RSI filter, and a simple moving average to select entries. It buys when SuperTrend is bullish, RSI is below 65, and price is above the 50-period average. The stated exit is a bearish SuperTrend turn,…

Trend followingTechnical indicatorsMomentumVolatility
Strategy library

The BabyShark strategy seeks reversals when price moves far from a volume-weighted average price (VWAP) and a volume-derived RSI reaches an extreme. It calculates VWAP over 60 candles and defines outer bands using three average deviations. A long setup…

Mean reversionTechnical indicatorsVolatilityRisk management