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 algorithm example demonstrates how to select and open an index put butterfly using weekly SPX options. It subscribes to SPX index data and SPXW options, filters for expirations 15 to 45 days away and strikes within three increments of the underlying,…

OptionsDerivatives pricingPosition sizingBacktesting
Strategy library

This breakout strategy uses a 55-period simple moving average as the Bollinger Band center and places the upper and lower bands one standard deviation from it. A close above the upper band produces a long signal, while a close below the lower band produces a…

CryptoFuturesBreakoutTrend following
Strategy library

This single-venue strategy aims to keep the cash balance and the marked value of a crypto holding near parity. It compares the account’s cash with the asset value, then calculates half the difference as the amount to shift: buy when cash exceeds the…

CryptoMean reversionSpot marketsPosition sizing
Strategy library

This trend-following strategy uses a fast and slow simple moving average crossover to signal possible changes in direction. A bullish crossover is accepted when RSI is below its overbought threshold, while a bearish crossover requires RSI to be above its…

CryptoFuturesTrend followingMomentum
Strategy library

This Bitcoin strategy seeks pullbacks in the direction of a broader trend. It defines bullish or bearish conditions using price relative to a higher-timeframe EMA and the ordering of faster and slower EMAs. Entries also require ADX strength, ATR above its…

CryptoTrend followingMomentumTechnical indicators
Strategy library

This BTC futures strategy combines a moving average, Bollinger Bands, and a percentage deviation threshold. It tracks when price has moved sufficiently far from the average, then resets that state once price returns inside the bands. Its stated entry rules…

CryptoFuturesMean reversionTechnical indicators
Strategy library

This strategy finds the highest high and lowest low in a configurable lookback window, then calculates retracement levels at 23.6%, 38.2%, 50%, and 61.8%. Users choose whether the levels run from the high down to the low or in the reverse direction. A long…

Technical indicatorsBreakoutTrend followingRisk management
Strategy library

This strategy example uses the crossover of short and long moving averages to identify possible trends and enter long positions. It calculates the averages from recent bar closes and combines trend direction with thresholds for the average spread and…

Trend followingTechnical indicatorsMomentumPosition sizing
Strategy library

This strategy uses five exponential moving averages, ranging from a fast line to a long-term line, to define bullish and bearish conditions. It opens a long when the bullish ordering is present and the system is flat; a short also requires ATR to be above…

Trend followingTechnical indicatorsVolatilityRisk management
Strategy library

The document describes a Fish Net trend strategy built around a price “center of gravity” indicator. Its calculation weights recent price data more heavily than older observations, then smooths and transforms the result. The modified approach uses threshold…

Trend followingTechnical indicatorsRisk managementBacktesting
Strategy library

This document describes a threshold strategy built around the change in closing price from a selected number of bars earlier. The change can be displayed as a raw price difference or a percentage, and a histogram colors bars to show direction. When the…

FuturesCryptoMomentumTrend following
Strategy library

The TAM strategy uses separate pairs of RSI calculations for entering and closing long positions. A buy signal occurs when either the fast or slower entry RSI crosses above 50, provided both entry RSIs are above that threshold. A close signal occurs when…

Technical indicatorsMean reversionFuturesBacktesting
Strategy library

This short-term long strategy uses a five-period RSI to seek rebounds after weakness. The stated entry is an RSI rise above 60, with the source code further requiring the prior RSI reading to be below 50. A position is closed when RSI falls below its value…

FuturesCryptoMean reversionTechnical indicators
Strategy library

This strategy combines Heikin Ashi prices with ATR-based SuperTrend bands and additional trend and pullback conditions. Long entries require a bullish Heikin Ashi candle, a pullback interaction with a moving average, a move above the SuperTrend level, and…

Trend followingTechnical indicatorsFuturesBacktesting
Strategy library

This strategy script describes two selectable trading modes, labeled Break and ABLC, with an option to compare them. It exposes direction controls, a per-trade risk setting, a one-trade-per-day limit, and a time-based exit. Backtests can be restricted to a…

BreakoutRisk managementPosition sizingBacktesting
Strategy library

This document describes a trend-following approach that smooths price with a Hodrick–Prescott filter and compares price with a volume-weighted average price calculated over a configurable session or timeframe. The stated rule is to favor long positions above…

Trend followingTechnical indicatorsVolatilityRisk management
Strategy library

This document explains a breakout strategy based on price ranges, drawing on Nicolas Darvas’s box theory. A box is defined by a recent upper resistance level and lower support level. A close above the upper boundary is treated as a possible move into a…

FuturesBreakoutTrend followingTechnical indicators
Strategy library

This strategy combines a short-period RSI, the change in RSI, and a price rate-of-change measure into a composite signal. The description says to average the three components, enter long when the composite crosses above 40, and exit when it crosses below 70.…

CryptoFuturesMomentumTechnical indicators
Strategy library

This strategy combines Ichimoku levels, MACD, a stochastic oscillator, and a moving average to identify directional entries. A long signal requires the stochastic K line to cross above 20 while MACD is positive and price is above the moving average and both…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This strategy enters long when a fast simple moving average crosses above a slower one. After entry, it sets a take-profit threshold relative to the entry price and closes a configured portion of the position when price reaches it; the example setting is…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This document describes a periodic averaging strategy implemented for a crypto derivatives exchange. It opens an initial position, then checks unrealized profit or loss after each configured interval. If the position is losing by more than a chosen…

CryptoPerpetual futuresPosition sizingRisk management
Strategy library

This script describes an intraday reversal strategy based on price briefly moving beyond a reference high or low and closing back inside it. It checks the completed Asian and London session ranges, the previous day’s high and low, and recent swing highs and…

Technical indicatorsForexRisk managementExecution
Strategy library

This document presents a crossover strategy that uses very short moving averages to identify changes in direction and a much longer weighted moving average as a filter. The written description specifies a 2-day and 3-day crossover, filtered by a 420-day…

FuturesTrend followingTechnical indicatorsBacktesting