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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

7,910 documents

Strategy library

This trend-following setup combines Supertrend direction on a shorter and a longer timeframe with StochRSI extremes. The stated defaults use 1-hour and 4-hour Supertrends. The strategy looks for both to agree on direction, then checks whether a StochRSI…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This Lean example demonstrates how to implement a custom simple moving average as a Python indicator and connect it to built-in indicators through extension helpers. The custom indicator maintains a fixed-length queue of recent input values, updates its…

EquitiesTechnical indicatorsStatistics
Strategy library

The strategy compares calculated trends across several timeframes, from 15 minutes through daily, using a collection of smoothed averages and oscillators. It describes a signal when the shorter timeframe reverses while longer timeframes have not, with trend…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This strategy uses three simple moving averages to generate directional trades: a crossover between short and long averages supplies the signal, while a third average filters trades according to the broader trend. It includes percentage based stop-loss and…

FuturesTrend followingTechnical indicatorsRisk management
Strategy library

This BTC futures strategy uses a T3 moving average as a broad trend filter, a price-range breakout signal, and a momentum confirmation. A long signal occurs when price crosses above a threshold based on the recent high and average high-low range, TDFI is…

FuturesTrend followingBreakoutTechnical indicators
Strategy library

This document sketches a periodic stock-selection and execution process focused on the five smallest companies by market capitalization in the CSI 300 universe. On the first incoming market bar, the strategy selects the target basket and compares it with…

EquitiesChina marketsFactor investingPortfolio construction
Strategy library

This BTC futures strategy combines fast and slow VWAP based trend lines with a breakout and volume confirmation. It builds the trend lines from VWAP calculations and rolling high-low midpoints, then derives Bollinger Bands from the average of the fast and…

FuturesTrend followingBreakoutTechnical indicators
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 strategy description combines Hull moving averages, RSI, the Chande Momentum Oscillator, recent price highs and lows, and ATR-based bands. The narrative presents RSI and CMO thresholds as momentum confirmation and describes trend changes when price…

FuturesCryptoTrend followingTechnical indicators
Strategy library

The traffic-light strategy uses three shorter exponential moving averages to assess directional alignment, plus a longer-period EMA as a market filter. The stated defaults are 8, 14, and 16 periods for the fast, medium, and slow lines, with a 100-period…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This short-term strategy compares three moving averages intended to reduce lag. Its stated setup uses fast, medium, and slow lines with periods of 12, 26, and 55. Entries depend on a crossover between the fast and slow lines, conditioned on the fast line's…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This strategy uses an Alpha Trend indicator to generate directional signals. A crossover of the indicator with its value from two bars earlier triggers a long or short entry. The published description relates the indicator to trend direction and describes…

FuturesCryptoTrend followingTechnical indicators
Strategy library

This strategy combines five-wave Elliott pattern rules with a 200-day simple moving average filter. It looks for rising highs across the first, third, and fifth waves and specified higher corrective lows to identify a bullish pattern; the bearish rules…

Technical indicatorsTrend followingFuturesBacktesting
Strategy library

This document describes a mean-reversion approach that uses RSI extremes to enter long and short positions. It treats RSI below 30 as oversold and above 70 as overbought, buying in the lower zone and selling short in the upper zone. The accompanying source…

Technical indicatorsMean reversionFuturesRisk management
Strategy library

This strategy combines the Stochastic Slow oscillator with RSI to seek reversal entries when both indicators show an extreme reading. It uses a 14-period lookback for each, smooths Stochastic %K and %D with 3-period settings, and sets overbought and oversold…

Technical indicatorsMean reversionFuturesBacktesting
Strategy library

This strategy uses a fast and a slow weighted moving average, with the fast period set to half the slow period, to frame directional signals. It also derives a momentum measure from the difference between the averages and compares smoothed values across…

Technical indicatorsMomentumTrend followingCrypto
Strategy library

This simple long-only approach measures percentage price change over a selected lookback period and buys when the decline exceeds a chosen threshold. After entry, it sets stop-loss and take-profit levels relative to the average entry price. The document also…

CryptoFuturesMean reversionRisk management
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

This strategy combines 2-, 7-, and 14-period RSI readings to identify unusually oversold or overbought conditions. It enters long when all three readings fall below their respective thresholds and short when all rise above theirs. An accuracy setting adjusts…

Technical indicatorsMean reversionCryptoFutures
Strategy library

This example demonstrates how an options strategy helper can package orders for a naked put position. It sorts the available option contracts first by closeness of strike to the underlying price and then by expiry, with the expiry sort applied last; it…

OptionsDerivatives pricingRisk managementExecution
Strategy library

This document describes a Python helper for retrieving futures candlestick data from HeXun’s third-party service. The function accepts an instrument, bar interval, requested history size, and options for including the latest bar or returning a DataFrame. It…

FuturesCommoditiesChina marketsExecution
Strategy library

This intraday trend-following strategy combines the MACD histogram, a long-period exponential moving average, and Williams Alligator lines. It takes long positions when the histogram is positive, price is above the Alligator lips and long-period average, and…

Technical indicatorsTrend followingMomentumCrypto
Strategy library

The script builds a charting and strategy framework around multiple simple and exponential moving averages. Its configurable periods include Fibonacci-like values as well as other lengths, ranging from short averages to very long ones. Users can toggle SMA…

Technical indicatorsTrend following
Strategy library

This document describes a simple moving-average strategy that compares a selected price series with an SMA. A move above the average signals a long position, while a move below signals a short position. Trading is limited to a configurable session, and…

Technical indicatorsTrend followingRisk managementExecution