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

Search the library

549 documents

Strategy library

This inventory-based strategy trades one asset around a reference price, such as a moving average or the midpoint of recent highs and lows. It begins with a partial position, then signals buys or sells when price moves sufficiently far from the reference or…

CryptoGrid tradingMean reversionPosition sizing
Strategy library

This document describes a grid strategy that sets trading levels around pivot prices calculated from a selected time period. Grid spacing can be a fixed price amount or a percentage of the pivot. The strategy buys when price crosses below successive grid…

Grid tradingTechnical indicatorsRisk managementBacktesting
Strategy library

This execution system monitors matched near and far futures contracts across several assets and tracks the difference between their bid and ask prices. It builds a grid around the initial spread, adding levels as the spread moves beyond the current range.…

FuturesCryptoPairs tradingGrid trading
Strategy library

This script description outlines a long-only grid for NOT/USDT perpetual futures. It places price levels between fixed upper and lower bounds, with either geometric or arithmetic spacing. The stated design buys as price crosses grid levels downward and sells…

Grid tradingCryptoPerpetual futuresPosition sizing
Strategy library

This multi-symbol expert advisor uses Commitments of Traders data to generate directional currency signals, with an optional Supertrend filter. It fetches two selected COT report classes and modes, queries positioning and changes in positions, and derives…

ForexFuturesSentimentTechnical indicators
Strategy library

This document describes a Python utility for creating and managing grid levels and associating them with order identifiers. It supports arithmetic grids specified by a level count and geometric grids specified by a percentage interval. The manager can also…

Grid tradingExecutionMarket microstructure
Strategy library

The available script excerpt describes a mean-reversion grid strategy built around Bollinger Bands. A long setup follows a move below the lower band and a close back above it; a short setup follows a move above the upper band and a close back below. Both…

Mean reversionGrid tradingVolatilityTechnical indicators
Strategy library

This script lays out a ten-level long grid around a user-defined center price. Grid levels are spaced by a percentage of that center, with orders set as limits or stops depending on whether the current price is above or below each level. Each successive…

Grid tradingPosition sizingExecutionRisk management
Strategy library

The document presents a strategy that uses a family of JMA-style moving averages to classify trend direction and trade around reversals. Its description calls the approach a grid system: it proposes building short exposure in an uptrend and long exposure in…

FuturesTrend followingGrid tradingTechnical indicators
MQL5 articles

This interview describes a forex Expert Advisor built around virtual grid orders and position averaging. The trader opens in the direction opposite the latest price movement, adds to losing positions at progressively smaller price intervals, and expects a…

ForexGrid tradingMean reversionPosition sizing
MQL5 articles

This article proposes training a machine learning model to choose between buy and sell grids. Instead of labeling examples from the direction of a single position over a future horizon, it simulates a grid across that price window and labels the side using…

ForexMachine learningGrid tradingBacktesting
MQL5 articles

This article describes a retail Expert Advisor that trades relationships among three currency pairs using a grid of pending orders. It frames the method as an alternative to capturing fleeting triangular arbitrage: instead of waiting for a perfect pricing…

ForexArbitrageGrid tradingPosition sizing
MQL5 articles

The article derives cycle-level payoff calculations for grid and martingale systems, then discusses simple implementations intended to compare those calculations with trading results. A grid places orders at intervals around a reference price and uses size…

ForexGrid tradingRisk managementPosition sizing
MQL5 articles

The article presents a method for screening closed-position histories for risks that headline win rates, profit factors, and equity curves can hide. It reconstructs positions from CSV rows or account deal history, then scores four features: larger trades…

Risk managementPosition sizingStatisticsGrid trading
MQL5 articles

The article explains a classic grid approach for both long and short trades, then describes automating it as an MQL5 Expert Advisor and reviewing it in the strategy tester. Starting with a small position, the system adds another trade each time price moves…

ForexGrid tradingPosition sizingBacktesting
MQL5 articles

This article presents an automated grid scalping approach that adds buy or sell orders at set price intervals and increases position size after losses in an effort to recover prior losses. The MQL5 implementation is described as using configurable grid…

ForexGrid tradingRisk managementPosition sizing
MQL5 articles

The article develops a mathematical framework for optimizing a simple hedging strategy before applying brute-force parameter searches. It identifies the main inputs as initial direction and lot size, separate buy and sell take-profit levels, spacing between…

ForexGrid tradingBacktestingPosition sizing
MQL5 articles

The article explains an automated grid approach for MOEX futures that places buy and sell limit orders at intervals across a chosen price range. As price moves through levels, the Expert Advisor updates pending orders and pairs executed buys and sells. The…

FuturesGrid tradingRisk managementExecution
MQL5 articles

This article explains a classic hedge cycle that alternates buy and sell positions after each stop loss. Each new position doubles the previous lot size, aiming for a fixed net gain when price eventually reaches one of two take profit levels. The author also…

ForexGrid tradingPosition sizingRisk management
MQL5 articles

This installment analyzes a simple grid strategy that adds positions at fixed price intervals, increasing each new order’s size by a multiplier. It explains how weighted average entry price determines breakeven and how the chosen direction, initial lot size,…

Grid tradingPosition sizingRisk managementStatistics
MQL5 articles

This article outlines an MQL5 Expert Advisor for a multi-level grid strategy. It organizes trades into independent baskets, each tracking direction, initial and current lot size, grid spacing, take-profit level and signal time. A moving average is used to…

Grid tradingPosition sizingRisk managementBacktesting
MQL5 articles

The article evaluates a multi-currency Expert Advisor that applies a long-only averaging grid to US stocks. RSI readings trigger entries, positions are added as price moves against the trade, and the number of grid steps is capped; at the limit, existing…

EquitiesGrid tradingMean reversionBacktesting
Strategy library

This strategy builds a grid for range-bound perpetual futures trading, with gold and other lower-volatility assets given as intended markets. It activates only after three range checks pass: a low regression slope, highs and lows that do not both move…

CryptoGrid tradingMean reversionPerpetual futures
Strategy library

The visible script describes a static geometric grid for ETH/USDT spot trading. It sets upper and lower price bounds, divides the range into levels, and assigns a cash amount to each level. The configuration disables grid trailing upward, so the range…

CryptoSpot marketsGrid tradingExecution