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

4,613 documents

Strategy library

This strategy builds two price channels around short moving averages: a 3-period EMA channel at 1.5 times ATR and a 3-period RMA channel at 1.0 times ATR. A confirmed close above either upper boundary triggers a long signal, while a close below either lower…

FuturesCryptoBreakoutTechnical indicators
Strategy library

This intraday breakout framework defines a reference range from the high and low of the first two 15-minute bars, spanning 09:15 to 09:44:59. Once the range is locked after 09:45, a move to or beyond its high can trigger a long, while a move to or below its…

BreakoutMomentumRisk managementPosition sizing
Strategy library

This excerpt introduces a VWAP-based futures strategy and shows its configuration and early calculations. It sets fixed contract sizing, commission and slippage assumptions, an ATR-based stop buffer, a reward-to-risk input, a per-trade dollar loss limit, a…

FuturesTechnical indicatorsRisk managementPosition sizing
Strategy library

This strategy combines channel breakouts with volatility-based risk management. It tracks recent highs and lows over shorter and longer lookback windows, entering long or short when price breaks a channel boundary. A skip rule can suppress a shorter-window…

CryptoFuturesTrend followingBreakout
Strategy library

This system measures each candle’s upper and lower wick as a share of its full high-low range. A bullish candle with a sufficiently large lower wick can trigger a long signal above a 200-period EMA; a bearish candle with a sufficiently large upper wick can…

FuturesCryptoTechnical indicatorsPosition sizing
Strategy library

This long-only strategy combines short-term RSI mean reversion with a 200-period simple moving average trend mode. When price is below the average, RSI below 20 can trigger a countertrend entry, sized with a configurable mean-reversion factor. When price is…

Mean reversionTrend followingTechnical indicatorsPosition sizing
Strategy library

This script derives a central pivot and Fibonacci-scaled support and resistance levels from daily high, low, and close values. It looks for rejection moves at selected levels: longs when price recovers above support, and shorts when price falls back below…

Technical indicatorsRisk managementPosition sizingBacktesting
Strategy library

The script describes a scalping strategy that combines a range filter, smoothed Heikin-Ashi candles, and higher-timeframe Heikin-Ashi direction to seek agreement before trading. An SMI filter is intended to avoid entering after an already extended move. The…

Trend followingTechnical indicatorsRisk managementPosition sizing
Strategy library

This document describes a trend-following system that combines Donchian Channel breakouts with a long-term SMA trend filter and an RSI entry filter. It enters long positions when price breaks above the entry channel while above the SMA, and short positions…

Trend followingBreakoutTechnical indicatorsRisk management
Strategy library

This example combines RSI threshold crossings with position sizing tied to account equity. It opens a long position when RSI rises through the oversold level and a short when RSI falls through the overbought level. Contract quantity is calculated from…

FuturesCryptoMomentumPosition sizing
Strategy library

This Pine Script template separates strategy signals from the mechanics of backtesting. Users supply long and short entry and exit conditions; the example uses a 50-period and 200-period simple moving average crossover. Inputs can enable either direction,…

BacktestingTechnical indicatorsPosition sizingRisk management
Strategy library

This trend-following system combines AlphaTrend, which uses ATR-based channels and MFI or RSI to indicate direction, with Kaufman’s Adaptive Moving Average (KAMA). It enters long when KAMA crosses above AlphaTrend and short when it crosses below. A…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This strategy combines a SuperTrend direction filter, a 200-period EMA option, and a smoothed Stochastic oscillator. Long signals require an uptrend and a low Stochastic reading, alongside price above the EMA when that filter is enabled. Short signals use a…

Technical indicatorsTrend followingMomentumRisk management
Strategy library

The supplied portion describes configurable controls for a breakout and trend-following strategy, but does not include the entry, exit, or order execution logic. Its risk settings include a per-trade risk percentage, a stop distance based on average true…

BreakoutTrend followingRisk managementPosition sizing
Strategy library

This document describes a Bitcoin strategy that evaluates completed eight-hour candles and uses a crossover between 12-period and 169-period exponential moving averages to trade. A positive crossover opens a long position using nearly all available account…

CryptoTechnical indicatorsTrend followingPosition sizing
Strategy library

The document presents a configurable candlestick strategy that uses hammer and shooting-star style patterns to identify potential entries. Its visible settings include minimum and maximum candle size relative to ATR, an ATR-based stop distance, a…

Technical indicatorsVolatilityRisk managementPosition sizing
Strategy library

This strategy combines a 50/200 EMA trend filter with ATR-based exits and risk-based position sizing. It opens long or short positions according to the EMA relationship, provided a 20-candle range test does not classify the market as consolidating. Stops are…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This strategy builds a set of price zones around a central moving average and scales the spacing using either ATR multiples or fixed percentages. It opens successive long entries as price falls through lower zones, then closes those entries in sequence as…

FuturesGrid tradingTrend followingVolatility
Strategy library

This strategy scans traditional finance perpetual contracts and ranks them by average daily high-low range as a percentage of closing price. It selects the most volatile eligible markets, then builds proportional price grids around current prices. Grid…

FuturesPerpetual futuresGrid tradingVolatility
Strategy library

This trading-system example adapts Almgren–Chriss optimal execution to position entries and exits. It estimates a time-varying execution parameter from rolling price volatility, candle range, and volume, then uses that parameter to choose the fraction of…

ExecutionMarket microstructureRisk managementPosition sizing
Strategy library

This short Python strategy monitors a crypto account's coin holdings, cash balance, and the current coin price. It calculates the market value of the coin position and compares that value with the cash balance. When the difference exceeds 5% of the cash…

CryptoSpot marketsPortfolio constructionPosition sizing
Strategy library

This strategy uses the direction of the latest close-to-close change to select a side: a higher close prompts long exposure and a lower close prompts short exposure. It builds positions through up to five entries, with four as the default, and the source…

FuturesBreakoutTrend followingPosition sizing
Strategy library

This trend-following system enters long or short when the 13-period EMA crosses the 33-period EMA. It exits longs on the reverse 13/33 crossover and shorts when the 13-period EMA rises above the 25-period EMA. Separate trailing exits use a 10-point distance…

FuturesTrend followingTechnical indicatorsRisk management
Strategy library

This document describes a long-only reversal setup that waits for price to break below a recent low channel before looking for a recovery. The channel is based on prior lows over a configurable lookback. After a breakdown, the strategy initializes a…

BreakoutMean reversionTechnical indicatorsRisk management