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

7,910 documents

Strategy library

This script demonstrates a basic grid for LTC/BTC. At startup, it uses the best ask as a reference price and places a ladder of limit buy orders at regular percentage intervals below it. Each order is sized from a portion of the account balance. The script…

CryptoGrid tradingExecutionBacktesting
Strategy library

This example shows how to attach custom data to a security object in a trading algorithm and retrieve it through different interfaces. It stores two exponential moving averages as properties and a Bollinger Bands indicator through an indexer. The strategy…

EquitiesTechnical indicatorsExecution
Strategy library

This strategy classifies price relative to pivot levels calculated from a selected higher timeframe’s previous high, low, and close. Fibonacci-style levels divide prices into zones above and below the central pivot. The description frames these zones as…

CryptoFuturesBreakoutTechnical indicators
Strategy library

The document outlines a breakout system that filters entries using trend, momentum, strength, and volume. It describes EMA alignment and a one-hour EMA comparison for direction, RSI ranges and MACD histogram sign for momentum, plus ADX and SuperTrend…

Technical indicatorsBreakoutTrend followingRisk management
Strategy library

This strategy combines three Supertrend indicators with different ATR multipliers and lookback periods. A long signal occurs when all three indicate an upward direction; a short signal occurs when all three indicate a downward direction. An optional filter…

Trend followingTechnical indicatorsVolatility
Strategy library

This daily trend-following strategy combines 20-, 50-, 150-, and 200-day simple moving averages with RSI, recent candle direction, and volume. Long entries require price above the 150-day average, a bullish relationship between the 50- and 150-day averages,…

CryptoFuturesTrend followingMomentum
Strategy library

The indicator transforms volume into a signed series: each bar’s volume is weighted by recency and given a positive or negative sign according to whether the close is above or below the open. It then applies several nested weighted averages, with lengths…

CryptoFuturesTechnical indicatorsMomentum
Strategy library

This script defines strict failed-two reversal patterns on a chart timeframe and includes a daily higher-timeframe bias filter. It tracks consecutive bullish or bearish candles, then looks for a reversal candle that briefly breaches the prior candle’s range…

Technical indicatorsMean reversionTrend followingExecution
Strategy library

This open-source strategy script presents a configurable framework combining Fibonacci retracement zones with trend, moving-average, higher-timeframe, session, volatility, and order-flow filters. The visible settings include a base timeframe, optional…

Technical indicatorsTrend followingVolatilityMarket microstructure
Strategy library

This strategy combines Bollinger Bands with the Relative Strength Index (RSI) to generate entries. Its stated defaults use a 20-period simple moving average with bands two standard deviations away, alongside a 14-period RSI. A long signal occurs when price…

Technical indicatorsMean reversionRisk management
Strategy library

This strategy uses the Vertical Horizontal Filter (VHF) to distinguish directional movement from choppy price action. It divides the high-to-low range over a lookback period by the sum of absolute close-to-close changes over that period. The example uses a…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This code example retrieves the account’s Binance futures positions through an account API endpoint and converts nonzero USDT-margined positions into a normalized position structure. The fields include symbol, absolute position size, entry price, unrealized…

CryptoFuturesPerpetual futures
Strategy library

This strategy combines Bollinger Bands, MACD, and ATR to identify potential trend entries in Bitcoin futures. Its stated approach looks for price movement beyond a band, a confirming MACD relationship, and a displacement from the middle band of at least one…

CryptoFuturesTrend followingBreakout
Strategy library

This tutorial describes a monitor for a selected crypto trading pair that sends a notification when the latest traded price rises above an upper threshold or falls below a lower threshold. The user can set the pair, both price levels, and how often the…

CryptoTechnical indicators
Strategy library

This strategy combines RSI thresholds with a volatility-based trailing stop called VSTOP. RSI readings above an overbought threshold prompt long entries, while readings below an oversold threshold can prompt short entries when price is below the VSTOP line.…

CryptoFuturesMean reversionVolatility
Strategy library

This document presents the Relative Strength Index as an oscillator for interpreting momentum extremes. It uses a 14-period length by default and allows the input price series to be selected. The conventional guideposts are 70 for an overbought reading and…

Technical indicatorsMomentumFuturesBacktesting
Strategy library

This strategy uses a short and a longer simple moving average to generate directional signals. A crossover of the shorter average above the longer one triggers a long entry, while a downward crossover triggers a short entry. The document presents the…

CryptoFuturesTrend followingMomentum
Strategy library

This Pine Script strategy backtests a 123-Stormer price pattern with configurable long and short entries. It includes an option to require the third candle to be an inside bar and limits how many bars can pass between a signal and entry. Positions can also…

BacktestingTechnical indicatorsTrend followingRisk management
Strategy library

This strategy combines the True Strength Index (TSI), Commodity Channel Index (CCI), and a Hull moving average calculation to form directional entry and exit rules. It opens a long position when the TSI signal is rising relative to its lagged value, price is…

CryptoFuturesTrend followingMomentum
Strategy library

This strategy uses an adaptive moving average (AMA) to track price and a channel around it to signal directional breakouts. A volatility-sensitive smoothing factor makes the average more responsive when price moves farther from its prior value and smoother…

CryptoFuturesTrend followingBreakout
Strategy library

This trading bot scans USDT perpetual contracts and builds candidate lists from hourly candles. One screen requires a bullish candle, volume above the previous candle, a positive KDJ crossover, and a positive crossover of the seven- and twenty-five-period…

CryptoPerpetual futuresTechnical indicatorsMomentum
Strategy library

This intraday setup combines a five-minute opening range breakout with a one-minute fair value gap condition during a specified session. It defines bullish and bearish gaps by comparing the current one-minute candle's high or low with the corresponding…

BreakoutTechnical indicatorsPosition sizingRisk management
Strategy library

The document presents a stock trading concept built around four indicators: MACD crossovers to indicate direction, RSI thresholds for overbought or oversold conditions, ATR-based trailing levels, and DEMA as a trend filter. It describes these components as a…

EquitiesTrend followingMomentumTechnical indicators
Strategy library

This strategy describes a short-only approach using two fast exponential moving averages and a pair of slower averages. It opens a short position when the faster average crosses below the other fast average and the short-period RSI is above a threshold. It…

CryptoFuturesMomentumTechnical indicators