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

Search the library

549 documents

Strategy library

This expert advisor combines two MACD readings with a stochastic oscillator to generate entries. A long setup requires the slower MACD to be positive while the faster MACD is negative, followed by the stochastic rising through its signal line from an…

ForexTechnical indicatorsGrid tradingRisk management
Strategy library

This document describes a one-direction spot trading system adapted from an averaging strategy. It opens a position, places an additional order after price moves against the position, and sets the added quantity so the revised average entry approaches a…

CryptoSpot marketsGrid tradingPosition sizing
Strategy library

This grid strategy divides a price range into evenly spaced levels. The range can be set manually or derived from recent highs and lows or a moving average, with optional deviations. When price is below an unfilled grid level, the rules add a long position;…

Grid tradingMean reversionFuturesPosition sizing
Strategy library

This source describes a long-only grid strategy for FIL perpetual futures. It places a set of price levels between user-defined upper and lower bounds, with either geometric or arithmetic spacing. The comments describe buying as price crosses grid levels…

CryptoPerpetual futuresGrid tradingRisk management
Strategy library

This source describes a spot grid approach bounded by user-selected upper and lower prices. It divides that range into ten evenly spaced levels and, when there are no open trades, places five long limit entries at lower grid levels. Each order is sized as…

CryptoSpot marketsGrid tradingExecution
Strategy library

This script describes a static grid for APE/USDT, with configurable upper and lower price bounds, level count, and geometric or arithmetic spacing. Its stated design keeps the grid fixed rather than shifting it upward when price exceeds the upper boundary;…

CryptoSpot marketsGrid tradingBacktesting
Strategy library

This weekend strategy anchors percentage bands to the previous Friday’s close. During the specified weekend window, it opens a short when price rises beyond the upper band or a long when price falls below the lower band. If price moves farther against an…

CryptoFuturesMean reversionGrid trading
Strategy library

This long-only strategy uses two adjacent candles with matching lows as a reversal trigger, then places four equal-sized limit orders at levels above the low. The grid spacing is based on recent high-low movement scaled by a volatility multiplier. Unfilled…

CryptoFuturesMean reversionGrid trading
Strategy library

This script describes a long-only grid approach for a Bitcoin perpetual futures market. It divides a fixed price range into levels, using either geometric or arithmetic spacing. The stated default configuration uses geometric spacing, with buys triggered as…

CryptoFuturesGrid tradingPerpetual futures
Strategy library

This controller configures a grid strategy for one exchange connector and trading pair. It specifies a price range, a direction, a quote budget, order spacing and minimum size, limits on concurrent and batched orders, and an order update frequency. A grid…

Grid tradingExecutionRisk management
Strategy library

The document presents a configurable grid strategy organized around price crossovers of a simple moving average. Its visible settings allow a long or short side, a 50-period SMA, a starting capital input, a grid spacing percentage, stop-loss and take-profit…

CryptoGrid tradingTechnical indicatorsRisk management
Strategy library

This Pine strategy describes a long-only grid for XAU. It divides a fixed price range into configurable levels spaced either geometrically or arithmetically. The system buys as price crosses levels downward and sells as price crosses upward to the next…

CommoditiesGrid tradingPosition sizingBacktesting
Strategy library

This note describes a grid-like strategy that opens a long position when flat and reacts to the open position’s percentage profit or loss. At the configured grid threshold, a profitable position is closed and replaced with another long. A losing long is…

FuturesGrid tradingTrend followingPosition sizing
Strategy library

This strategy uses two Wavetrend lines to scale into long positions at several oversold thresholds and take partial profits after a rebound. Entries require both lines to be below a threshold, with the faster line above the smoothed line; the deepest…

CryptoFuturesGrid tradingMean reversion
MQL5 articles

The article describes a market-neutral limit-order grid built from historical return distributions rather than a directional forecast. It calculates rolling returns from price data, sorts them, and uses empirical percentiles to estimate levels at which…

ForexStatisticsGrid tradingPosition sizing
arXiv papers

The document compares traditional grid trading with a dynamic approach for cryptocurrency markets. It first analyzes the expected value of a conventional grid under simple assumptions, concluding that its expected return is approximately zero. It then…

CryptoGrid tradingBacktestingRisk management
Stratmill research code

This example sets up a historical simulation for a grid trading strategy on the linear 1000SHIBUSDT contract. It loads daily market data and latency files for a date range, initializes market depth from a start-of-day snapshot, and configures the backtest…

Grid tradingBacktestingExecutionMarket microstructure
Stratmill research code

This example shows how a live grid trading bot can respond to errors while trading SOLUSDT on a futures venue. Its handler distinguishes interrupted connections, critical connection failures, order errors, and custom error codes. It logs connection and order…

Grid tradingFuturesExecutionRisk management
Strategy library

The document describes a fixed grid strategy built around a chosen starting price and a grid spacing percentage. It calculates ten buy thresholds below the start price and corresponding sell thresholds, then opens long entries when the close falls below a…

CryptoFuturesGrid tradingRisk management
vn.py community

This event announcement outlines two educational topics: futures and cash-futures spread trading, and machine-learning methods for developing CTA signals. The spread section describes analyzing related contracts through their price difference, looking for…

FuturesArbitragePairs tradingGrid trading
Quant course library

This spot grid strategy places paired buy and sell orders around the market, then rebuilds the grid after a fill using the filled order price and current bid and ask. Grid spacing and order size are configurable. A position calculator tracks net exposure and…

CryptoSpot marketsGrid tradingRisk management