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
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

7,910 documents

Strategy library

This strategy uses a fast and a slow momentum-adjusted exponential moving average (MAEMA) to signal changes in direction. Its default lengths are 80 and 144 periods: a fast-line crossover above the slow line signals a buy, and a crossover below signals a…

Technical indicatorsMomentumTrend followingFutures
Strategy library

This example trains a linear support vector classifier on Bitcoin bar opens and closes. It labels each historical bar by whether the next close rises or falls beyond a configurable spread threshold, or stays within that threshold. At each new bar, the model…

Machine learningCryptoStatisticsBacktesting
Strategy library

This script describes a mechanical volatility breakout strategy with selectable long-only or long-and-short direction and either close-based or stop-order entries. It measures a recent price range using prior bars, excluding the current breakout bar, and…

BreakoutVolatilityTechnical indicatorsRisk management
Strategy library

This strategy script combines a selectable main moving average with offset entry logic, delayed cross-back exits, and six take-profit levels. Its settings allow EMA, SMA, WMA, VWMA, or VWAP as the main line, with configurable direction, line length, entry…

Technical indicatorsTrend followingRisk managementBacktesting
Strategy library

This strategy identifies trend direction with 50-period and 200-period exponential moving averages. It looks for a pullback to the fast average followed by a close back on the trend side, then requires volume above its 20-period average and an RSI threshold:…

Trend followingTechnical indicatorsRisk managementExecution
Strategy library

This equity-selection strategy first screens tradable constituents of the China Securities Index 1000, excluding B-shares and stocks with negative price-to-earnings ratios. It sorts the remaining stocks by P/E, keeps the 1,000 lowest, then selects the five…

EquitiesChina marketsFactor investingPortfolio construction
Strategy library

This strategy uses a seeded pseudorandom sequence to generate long or short entries and exits. Thresholds control how often signals occur: lowering them reduces trading frequency, while raising them increases it. Users can enable longs or shorts, and the…

EquitiesStatisticsBacktestingPosition sizing
Strategy library

This crypto swing strategy combines crossovers between fast and slow Arnaud Legoux moving averages (ALMAs) with a MACD histogram filter. The stated defaults use ALMA lengths of 20 and 40, with an offset of 0.9 and sigma of 5. A bullish crossover is accepted…

CryptoTechnical indicatorsMomentumTrend following
Strategy library

This strategy combines a short and long simple moving average crossover with VWAP, RSI, and volatility measures. The description specifies a 50-period and 200-period average, entering long or short when they cross and using VWAP as an additional condition.…

CryptoTrend followingTechnical indicatorsVolatility
Strategy library

This document describes a utility for constructing candles of a chosen minute interval from a sequence of lower-timeframe records. It groups source bars into time windows, then sets each aggregate candle's open from the first included bar, high and low from…

StatisticsBacktestingExecutionMarket microstructure
Strategy library

The document presents part of a compound indicator strategy labeled for BTC/USDT on a three-hour chart. The visible code calculates a volume change oscillator by comparing short and long moving averages of volume, with configurable SMA or EMA methods. It…

CryptoTechnical indicatorsMomentumStatistics
Strategy library

This strategy seeks reversals at automatically detected support and resistance, while using the relationship between 20-period and 50-period EMAs to filter entries by trend. A long setup requires price to approach support within a stated tolerance and close…

Technical indicatorsTrend followingRisk managementPosition sizing
Strategy library

This Bitcoin long strategy combines a daily higher-timeframe signal with faster chart entries. It derives a volume-weighted RSI from daily price changes and smooths it to form a directional filter. On the lower timeframe, a linear-regression measure crossing…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This script describes a passive dollar-cost averaging benchmark. It invests a fixed amount in the asset at regular intervals, either on a selected weekday or every specified number of chart bars. The script converts the quote-currency contribution into units…

Spot marketsEquitiesBacktestingPortfolio construction
Strategy library

This long-only reversal approach combines MACD crossovers with RSI readings. It opens a long position when the MACD line crosses above its signal line and RSI has recently been at or below the oversold threshold. It closes that position on a bearish MACD…

CryptoFuturesTechnical indicatorsMean reversion
Strategy library

This strategy combines MACD crossovers with a 200-period simple moving average to select long and short entries. It uses the standard 12, 26, and 9 MACD settings: a bullish crossover is eligible when both MACD lines are below zero and price is above the long…

Technical indicatorsTrend followingRisk managementBacktesting
Strategy library

This strategy looks for directional breakouts when the 20-period and 200-period simple moving averages are close together. It checks the shorter average’s slope and the close’s position relative to both averages, then uses a large candle relative to ATR as…

Technical indicatorsBreakoutMomentumVolatility
Strategy library

This script describes a long-only breakout system with configurable filters and trade management. It enters when price breaks above either a recent high or an all-time-high proxy, with an option to require a closing-price break. The default filters require…

BreakoutTrend followingMomentumTechnical indicators
Strategy library

This strategy uses the 10-year U.S. Treasury yield to decide whether to hold the S&P 500 or move to cash. It ranks the latest daily yield within its recent high-low range, using a configurable lookback period. When the yield is above a configurable threshold…

EquitiesFixed incomeUS marketsTechnical indicators
Strategy library

This basic trend-following system compares a fast EMA with a slower EMA. A cross above the slow average opens a long position, while a cross below opens a short; the opposite crossover closes the existing position. The stated defaults are 13 and 50 periods,…

Trend followingTechnical indicatorsFuturesCrypto
Strategy library

This swing strategy combines RSI, a smoothed Stochastic oscillator, SuperTrend, and the Bollinger Band middle line. A long setup requires bullish RSI and Stochastic readings alongside SuperTrend conditions; the short setup uses the corresponding bearish…

FuturesCryptoTechnical indicatorsTrend following
Strategy library

This intraday strategy enters after higher-low or lower-high patterns receive candle confirmation and meet a composite score threshold. The score combines candle body strength, relative volume, RSI conditions, current range versus ATR, and recent pattern…

Technical indicatorsRisk managementVolatilityEquities
Strategy library

This Pine strategy organizes seven candlestick signals into independently enabled modules: pinbars, engulfing patterns, top and bottom fractals, single and double harami patterns, and large-body candles. Users can adjust pinbar thresholds and the minimum…

Technical indicatorsExecutionRisk management
Strategy library

This strategy uses a fast and slow EMA crossover to signal trades on 30-minute and 1-hour charts. It filters those signals with ADX for trend strength, ATR for volatility, RSI to avoid extreme readings, and OBV relative to its moving average for volume…

Technical indicatorsTrend followingMomentumVolatility