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
WonderTrader
14 documents
Alphalens
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

SPARK combines four SuperTrend calculations with RSI signals, while exposing controls for trading direction, minimum bars between trades, position size, and leverage. The trend component signals long or short when all four trend states agree; separate RSI…

FuturesTrend followingTechnical indicatorsPosition sizing
Strategy library

The strategy seeks entries when Supertrend direction agrees on the chart timeframe and a higher timeframe. It also requires price to be on the corresponding side of the lower-timeframe Supertrend line, with a fast and slow simple moving average comparison as…

Trend followingFuturesTechnical indicatorsVolatility
Strategy library

This strategy compares aggregated bid and ask quantities across a configurable number of price levels. It monitors the imbalance repeatedly, and enters a long or short position when one side exceeds the other by a chosen ratio for the required consecutive…

Market microstructureExecutionPosition sizingRisk management
Strategy library

This strategy uses a configurable set of eight exponential moving averages, spanning short to long periods, and trades the crossovers of adjacent enabled averages. A cross of a shorter EMA above a longer one opens a long position; a cross below closes it.…

Trend followingTechnical indicatorsPosition sizingBacktesting
Strategy library

This document describes a trend-following strategy that combines smoothed RSI-based QQE signals with moving average direction filters. It offers three signal types: the smoothed RSI crossing its midpoint, crossing the fast QQE line, or leaving a threshold…

Trend followingTechnical indicatorsRisk managementPosition sizing
Strategy library

This document describes a medium- to long-term, long-only strategy intended for T+1 stock trading. It combines moving-average conditions, a short exponential moving average crossing a slope-based signal, volume confirmation, and a weekly trend filter.…

MomentumTrend followingTechnical indicatorsPosition sizing
Strategy library

This strategy uses Stoch RSI threshold crossings to take directional positions, then manages exposure through pyramiding and per-entry stop logic. The stated rules calculate RSI and then Stoch RSI, enter long when the oscillator rises through the overbought…

Trend followingTechnical indicatorsMomentumPosition sizing
Strategy library

This strategy calculates RSI using VWAP as its price source and treats threshold crossings as reversal entries: a move back above the oversold level triggers a long, while a move down through the overbought level triggers a short. It allows repeated entries…

Trend followingTechnical indicatorsPosition sizingRisk management
Strategy library

This partial strategy script outlines a fractal-based trading system with configurable risk, exits, trading hours, and display options. It derives a daily directional bias from recent daily highs and lows: a middle low bounded by higher neighboring lows is…

Technical indicatorsRisk managementPosition sizingBacktesting
Strategy library

This simple BTC/USDT spot rule compares each new ticker price with the last price it processed. If price has risen by more than a set threshold, it sells a fraction of the BTC balance; otherwise, it buys using a fraction of available quote currency. After a…

CryptoSpot marketsExecutionPosition sizing
Strategy library

This trend-following system combines EMAs calculated from highs and lows, an ATR-based SuperTrend direction, and recent swing points. A close beyond an EMA channel marks a potential setup; the strategy then waits for a subsequent candle to break the signal…

Trend followingBreakoutTechnical indicatorsRisk management
Strategy library

The Vol-Target Trend Engine describes a risk-allocation approach for leveraged index ETFs. A 200-day simple moving average acts as a regime gate: the strategy holds exposure only when price is above the average and closes positions when the regime turns off.…

EquitiesTrend followingVolatilityRisk management
Strategy library

This strategy combines an oversold RSI reading with unusually high volume to trigger long entries. Its defaults use a 14-period RSI, a 30 oversold threshold, and volume above 1.5 times its 20-period simple moving average. It can add up to three positions,…

Technical indicatorsMean reversionRisk managementPosition sizing
Strategy library

This strategy shorts eligible stocks after a one-day decline of at least 10%. Eligibility requires average dollar volume over a rolling 22-session window to meet a market-specific threshold; it also filters for equities and can restrict securities by…

EquitiesMean reversionPosition sizingExecution
Strategy library

This long-only approach combines an upward crossover of the 10-period and 20-period EMAs with confirmation that the signal candle closes above its open. It sizes the position using a fixed numerator divided by the distance between the close and that candle’s…

FuturesTrend followingTechnical indicatorsPosition sizing
Strategy library

This configurable strategy assigns each weekday a long, short, or no-trade setting and applies those choices within a user-defined date range. When the selected direction changes from the prior day’s setting, it closes open positions and opens a position in…

CryptoFuturesBacktestingRisk management
Strategy library

This two-direction strategy combines the Stochastic Momentum Index (SMI), a fast RSI, and a candlestick-body filter. It proposes long entries when SMI is below its negative threshold or RSI is below 20, provided the candle closes down and its body exceeds…

FuturesMomentumMean reversionTechnical indicators
Strategy library

This spot Bitcoin strategy presents a simplified Turtle-style trend system. It opens a position when price moves above a Donchian upper channel, adds to the position after a further rise measured as a fraction of ATR, and exits the accumulated holdings when…

CryptoSpot marketsTrend followingBreakout
Strategy library

This document describes a one-direction spot trading system adapted from an averaging strategy. It opens a position, places an additional order after price moves against the position, and sets the added quantity so the revised average entry approaches a…

CryptoSpot marketsGrid tradingPosition sizing
Strategy library

This Hummingbot controller example opens a market position in a configured direction, sizing the order from a quote-currency amount and the current mid-price. It records when the opening action is submitted, then waits for a configurable delay before placing…

ExecutionPosition sizingPerpetual futures
Strategy library

This grid strategy divides a price range into evenly spaced levels. The range can be set manually or derived from recent highs and lows or a moving average, with optional deviations. When price is below an unfilled grid level, the rules add a long position;…

Grid tradingMean reversionFuturesPosition sizing
Strategy library

The described framework combines predefined support and resistance levels, bullish and bearish sentiment thresholds, and a candlestick feedback condition to trigger long or short entries. It also presents a risk-reward target and position sizing based on…

FuturesCryptoTechnical indicatorsSentiment
Strategy library

This Pine Script tutorial presents a long-only market-order strategy built around three moving averages. Each average has configurable period, type, price source, and chart resolution; available types include simple, exponential, weighted, volume-weighted,…

EquitiesTrend followingTechnical indicatorsPosition sizing
Strategy library

This strategy schedules a recurring position change at a user-selected time. At the specified time, it submits a short entry intended to sell at market and places a long limit entry priced one percent below the current close. The inputs include execution…

ExecutionFuturesPosition sizingBacktesting