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

549 documents

Strategy library

This workflow describes a two-sided grid for crypto derivatives. It places long entries at descending price levels and short entries at ascending levels, with each position intended to close for a profit when price returns by one grid step. A minute-level…

CryptoFuturesGrid tradingSentiment
Strategy library

This grid strategy divides a price range into evenly spaced levels and opens positions as price moves below grid levels, then closes the corresponding positions when price rises through the next level. Its boundaries may be manually set or recalculated from…

FuturesGrid tradingTrend followingExecution
Strategy library

This MetaTrader expert advisor combines the Andean Oscillator with daily high-low levels to generate scalping signals. A buy setup begins when the oscillator’s bullish component crosses above its signal line, subject to checks across prior bars for…

ForexTechnical indicatorsGrid tradingRisk management
Strategy library

The document outlines an event-driven short strategy for USDT perpetual contracts approaching delisting. It monitors exchange contract metadata for a delivery date that has changed from the distant default, then allocates account funds among detected…

CryptoPerpetual futuresGrid tradingEvent-driven
Strategy library

This cryptocurrency strategy opens an initial long position using OHLC4, then adds safety orders as price falls through progressively spaced thresholds. The source increases safety-order size with each additional level and closes the accumulated position…

CryptoFuturesGrid tradingPosition sizing
Strategy library

This grid strategy combines RSI readings from seven timeframes, ranging from very short intervals to daily bars, with limit orders spaced at fixed percentage increments. It generates a buy signal when all RSI readings fall below their configured upper…

Grid tradingTechnical indicatorsMean reversionFutures
Strategy library

This document presents the setup for a long-only EURUSD grid strategy. It places grid levels between configurable high and low prices, with geometric spacing by default and arithmetic spacing as an alternative. The accompanying description says the bot buys…

ForexGrid tradingPosition sizingExecution
Strategy library

This example implements a two-sided grid for a futures contract. Starting from a reference price, it calculates successive levels at fixed percentage intervals: lower levels for a long grid and higher levels for a short grid. As price crosses levels, the…

FuturesGrid tradingPosition sizingExecution
Strategy library

This long-only strategy combines an EMA trend filter with a grid of limit buys spaced by ATR. When the trend condition is met, it places three entry orders below the current price, with exits one grid step above each entry and a shared stop at the fifth grid…

FuturesTrend followingGrid tradingVolatility
Strategy library

This document describes a grid strategy that divides a price range into evenly spaced levels. It tracks price against those levels, opening fixed-size long positions as price moves below grid lines and closing them when price rises through the next line. The…

Grid tradingFuturesBacktestingRisk management
Strategy library

The document combines promotional claims with a concrete futures order-management loop. The described account trades several selected coins and adjusts order size and transaction settings over time, but the supplied implementation does not show a…

FuturesGrid tradingExecutionRisk management
Strategy library

The document presents a long-only grid for TRX perpetual futures. It defines fixed upper and lower price bounds and distributes buy levels between them using either geometric or arithmetic spacing. A downward crossing of a level triggers a buy; an upward…

CryptoGrid tradingPerpetual futuresPosition sizing
Strategy library

This controller generates directional mean-reversion signals from Bollinger Band position: readings below a configurable lower threshold trigger a long signal, and readings above an upper threshold trigger a short signal. It then uses dollar-cost averaging…

Mean reversionGrid tradingTechnical indicatorsExecution
Strategy library

This educational example describes a spot-style grid strategy for BTC/USDT using fixed price levels. It initializes buy levels at regular intervals across a configured range, assigns each level a fixed order amount, and sets a take-profit price above each…

CryptoGrid tradingExecutionBacktesting
Strategy library

This document describes a spot long strategy for tokenized gold against USDT, modeled on a 3Commas DCA bot. It opens a base position, adds safety orders as price falls by set increments, increases later order sizes slightly, and exits when price rises 1.5%…

CommoditiesCryptoSpot marketsGrid trading
Strategy library

This teaching example sets up a long and short hedge across two OKEX futures contracts: quarterly and current-week. It builds a grid of spread thresholds, each with an opening level and a lower closing level. When the quarterly contract’s bid minus the…

FuturesArbitrageGrid tradingExecution
Strategy library

This grid strategy divides a chosen price range into evenly spaced levels and assigns a fixed base-currency order size to each level. It activates once price closes inside the range. A level can open a long position when price moves down through it, provided…

Grid tradingCryptoFuturesPosition sizing
Strategy library

This strategy builds price bands around a moving average using ATR distances scaled by several Fibonacci ratios. A fast EMA and slow SMA define the broader direction. In an upward regime, the rules seek long entries when price crosses below one of the lower…

Grid tradingTrend followingTechnical indicatorsVolatility
Strategy library

This strategy builds several price bands around a moving-average center using ATR multiplied by Fibonacci-style factors. A faster EMA and slower SMA determine the directional regime. In an uptrend, price crossing below one of the lower bands can trigger a…

FuturesGrid tradingTrend followingTechnical indicators
Strategy library

This code example builds a two-sided price grid around a starting level for a futures contract. It creates multiple long-side trigger prices below the start and short-side trigger prices above it by repeatedly applying a fixed percentage spacing. Each grid…

FuturesGrid tradingExecutionMarket microstructure
Strategy library

This document describes a Binance spot grid strategy that places buy and sell orders around the market and adds profit-taking and stop mechanisms. Grid spacing and trade size are configurable. After a fill, it tracks the position and average price, cancels…

CryptoSpot marketsGrid tradingRisk management
Strategy library

This script describes a long-only grid strategy for BNB perpetual trading. It divides a chosen price range into multiple levels, with either geometric or arithmetic spacing. The strategy buys when price crosses a grid level downward and sells after an upward…

CryptoFuturesGrid tradingPosition sizing
Strategy library

This TradingView strategy framework uses a dynamic grid of price levels to place buys and sells as the market moves. It offers arithmetic or percentage-based grid widths, with pivot resolution and moving-average settings to adapt the layout. Buy and sell…

CryptoGrid tradingBacktestingPosition sizing
Strategy library

This strategy combines RSI and CCI readings with a fixed grid of long orders. A long signal occurs when RSI readings on two stated timeframes and a CCI reading fall below configured thresholds. The first order is offset from the close, while additional…

CryptoFuturesGrid tradingTechnical indicators