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
Quantpedia
86 documents
TqSdk
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 Pine strategy describes a long-only grid for XAU. It divides a fixed price range into configurable levels spaced either geometrically or arithmetically. The system buys as price crosses levels downward and sells as price crosses upward to the next…

CommoditiesGrid tradingPosition sizingBacktesting
Strategy library

This note describes a grid-like strategy that opens a long position when flat and reacts to the open position’s percentage profit or loss. At the configured grid threshold, a profitable position is closed and replaced with another long. A losing long is…

FuturesGrid tradingTrend followingPosition sizing
Strategy library

This strategy calculates a simple moving-average center line and standard-deviation bands, then signals long positions when the close is at or below the lower band and short positions when it is at or above the upper band. It also specifies pyramiding,…

Technical indicatorsBreakoutPosition sizingFutures
Strategy library

This strategy combines a higher-timeframe trend filter with lower-timeframe pullback entries. It classifies the environment using daily price relative to an exponential moving average and recent momentum, then looks for pullbacks around a four-hour EMA.…

CryptoTrend followingMomentumPosition sizing
Strategy library

This document describes an execution program that receives TradingView alerts and translates them into long, short, and position-closing actions on a futures exchange. Its configuration covers the trading pair, contract type, leverage, order sizing, price…

FuturesExecutionPosition sizingRisk management
Strategy library

This framework is an automated trend-trading system for cryptocurrency futures. It exposes settings for an EMA-based trend judgment and an optional standard deviation measure, including whether volatility is calculated from candle midpoints or closes. The…

Trend followingTechnical indicatorsRisk managementPosition sizing
Strategy library

This strategy uses Bollinger Bands to enter long positions when price crosses upward through the lower band and short positions when price crosses downward through the upper band. It can add to an existing position when a later band signal occurs after price…

BreakoutTechnical indicatorsPosition sizingRisk management
Strategy library

This long-only strategy ranks each bar’s high-to-low range against a 50-bar lookback. It signals an entry when the range percentile reaches at least 95 and the bar closes below its open, using an unusually large down bar as the trigger. The description says…

VolatilityBreakoutPosition sizingExecution
Strategy library

This RSI strategy uses a 14-period indicator and trades only during a specified three-hour window in GMT+2. The description says an RSI move above 70 triggers a short and a move below 30 triggers a long. It specifies fixed pip-based stop and target…

Technical indicatorsMean reversionRisk managementPosition sizing
Strategy library

This long-only dollar-cost-averaging strategy for a crypto perpetual contract uses a four-hour RSI reading below 28 to arm a base entry. If price declines from that entry, it places as many as five additional orders at fixed percentage offsets, with order…

CryptoPerpetual futuresMean reversionPosition sizing
Strategy library

This strategy maps Gregorian timestamps to lunar calendar dates using year-specific lunar new year dates and month lengths. It enters a long position on lunar day five when flat and closes the position on lunar day twenty-six when holding. Position quantity…

CryptoSpot marketsBacktestingPosition sizing
Strategy library

This strategy combines an RSI oversold trigger with a moving-average filter for its first long entry, then places additional buys at progressively lower prices using exponentially spaced DCA levels. It adjusts position sizing across entries, takes profit on…

CryptoFuturesMean reversionPosition sizing
Strategy library

This strategy begins a long position when RSI signals an oversold condition and price is below a moving average. If price falls further, it adds entries at levels spaced by an exponential function. Each entry is sized to keep individual positions equal,…

FuturesMean reversionTechnical indicatorsPosition sizing
Strategy library

This strategy combines Supertrend direction changes with an ADX-based market regime filter. ADX above a trend threshold selects a tighter ATR multiplier, while ADX below a lower threshold selects a wider multiplier. Between the thresholds, the strategy…

Trend followingTechnical indicatorsRisk managementPosition sizing
Strategy library

This script describes an opening range breakout strategy. It defines the range during the early New York session, then permits breakout entries during a later morning window and imposes a hard time cutoff for closing positions. Risk controls include a choice…

BreakoutTechnical indicatorsRisk managementPosition sizing
Strategy library

This basic market-making approach attempts to capture the gap between the best bid and best ask. It places buy and sell orders near the top of the book, adjusting each quote by a configurable slide amount. If the spread after those adjustments falls below a…

Market makingExecutionMarket microstructurePosition sizing
Strategy library

This BTC futures strategy combines five exponential moving averages to stage long entries, scale out, and exit during a deeper decline. It opens partial positions on bullish crosses among the faster averages, adds on contact with or a cross above EMA50,…

FuturesTrend followingTechnical indicatorsPosition sizing
Strategy library

This multi-signal system combines fair value gap detection with momentum, price action, and trend filters. Potential entries arise from gap-and-RSI conditions, MACD alignment, breakouts or breakdowns confirmed by volume, and rejection patterns around VWAP…

CryptoTrend followingBreakoutTechnical indicators
Strategy library

This strategy uses a fast and slow exponential moving average to generate directional signals. A crossover of the 7-period EMA above the 20-period EMA opens a long position, while a cross below opens a short; the same opposite cross closes each position. The…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This long-only trend-following system uses a fast and slow exponential moving average, with default periods of 9 and 21. A bullish crossover opens a position, while a bearish crossover closes it. Position size is calculated from a stated 1% of account equity…

FuturesTrend followingTechnical indicatorsPosition sizing
Strategy library

This strategy uses WaveTrend crossovers on multiple timeframes to align entries with broader momentum. The described entry signal comes from a crossover on a 15-minute chart, filtered by the indicator relationship on a 30-minute chart and threshold…

Technical indicatorsTrend followingMomentumRisk management
Strategy library

This long-only strategy combines divergence signals from RSI, MACD, OBV, CCI, CMF, MFI, and a MACD-style histogram with a volatility and money-flow filter. A signal can arise when an indicator forms a lower low while price does not, or when a candle meets…

FuturesMean reversionTechnical indicatorsVolatility
Strategy library

This document presents a long-only dollar-cost averaging strategy that combines EMA trend conditions, MACD, RSI, and Bollinger Bands. It starts with a configurable purchase allocation and increases the next allocation after each buy, subject to a maximum.…

CryptoTechnical indicatorsPosition sizingRisk management
Strategy library

This document describes a minimal bar-based strategy: go long when a candle closes above its open and short when it closes below its open. Position size and the backtest date range are configurable. The published backtest settings use BTC/USDT futures and a…

FuturesTrend followingBacktestingPosition sizing