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

FMZ forum

The document outlines a cryptocurrency grid strategy designed to run across several exchanges and spot, futures, and perpetual markets. It describes a grid that can operate in both directions or only one direction, with one side disabled by setting its order…

CryptoGrid tradingExecutionMarket microstructure
Hummingbot docs

The document explains how to configure and launch V2 strategies in Hummingbot. Configurable scripts can be started from YAML configuration, while controllers are loaded through a wrapper script that can list one or more controller configurations. Controllers…

CryptoTechnical indicatorsMean reversionGrid trading
FMZ forum

This tutorial develops a spot-style cryptocurrency grid strategy by extending a finite set of price levels as the market moves beyond its upper or lower boundary. It tracks the current and previous ticker prices to detect upward and downward crossings. At an…

CryptoGrid tradingBacktestingRisk management
MQL5 code base

The eFibo Expert Advisor is presented as a manual trading aid that automatically executes a constant-step grid in a chosen direction. As price moves favorably, it adds positions at successive levels whose lot sizes can follow Fibonacci values, such as 1, 2,…

ForexGrid tradingTrend followingPosition sizing
MQL5 code base

This document describes a utility library for working with floating-point numbers in trading software. Its functions cover approximate comparisons, rounding to decimal places or increments, normalization and range mapping, clamping, safe division, binary…

StatisticsExecutionGrid tradingRisk management
MQL5 code base

This document describes an Expert Advisor that runs grid trading in finite, restartable cycles. At each restart, it selects an anchor and grid, then closes the cycle when a profit target, drawdown limit, age limit, or weekend rule is reached. The design aims…

Grid tradingRisk managementVolatilityPosition sizing
Stratmill research code

This tutorial compares a high-frequency grid market-making strategy across cryptocurrency exchanges, emphasizing that different order flows can change results even for the same trading pair and parameters. The strategy places layered limit bids and offers…

CryptoFuturesGrid tradingMarket making
OctoBot

This guide explains grid trading as a method of placing buy and sell orders at preset price intervals. As price moves through the levels, the orders aim to capture the difference between purchases and sales without requiring a forecast of the overall…

Grid tradingVolatilityRisk managementExecution
FMZ live strategies

This live robot page describes an aggressive martingale approach on OKX USDT futures. It shows both long and short positions across many contracts, adding to positions in layers as prices move against them. The displayed settings specify an initial order…

CryptoFuturesPerpetual futuresGrid trading
Stratmill research code

This tutorial describes a high-frequency grid strategy that places passive limit orders at regular intervals around the mid-price. It maintains a fixed number of buy and sell levels, refreshes orders as the market moves, and limits new orders based on the…

FuturesCryptoGrid tradingMarket making
Stratmill research code

This tutorial applies the Guéant–Lehalle–Fernandez-Tapia market-making model to grid quoting. It derives bid and ask quote depths from a fair price, volatility, trading intensity, and inventory. The resulting quotes combine a half-spread with an…

Market makingGrid tradingHigh-frequency tradingCrypto
OctoBot

This overview explains trading bots as programs that use market data and predefined rules to analyze conditions and place orders. Bots can run strategies such as dollar cost averaging or grid trading, and may connect technical indicators with risk management…

CryptoExecutionRisk managementPosition sizing
MQL5 code base

The Market Capture strategy starts with a market sell, then adds positions at fixed grid intervals as price moves. An upward move from the initial sell triggers a buy; continued movement adds further buys at intervals from the previous buy. If price reverses…

Grid tradingPosition sizingRisk managementExecution
Hummingbot docs

Hummingbot version 2.2.0 adds two trading controllers to its V2 framework. The Arbitrage controller is designed to trade price differences between spot venues, including automated market makers and central limit order books. It supports configurable exchange…

ArbitrageGrid tradingExecutionBacktesting
TqSdk

This asynchronous example implements a futures grid around a chosen starting price. It creates multiple long and short trigger levels using repeated percentage steps, assigns a trade size to each level, and starts a watcher task for every grid interval. A…

FuturesGrid tradingExecutionRisk management
MQL5 code base

The document describes a high risk recovery approach that opens an opposite trade when price moves against an existing position by a defined pip distance. If price continues in the new direction, the gains on the newer position may eventually offset the…

ForexGrid tradingRisk managementPosition sizing
ProRealCode

This document describes a ProRealTime trend strategy that enters when weighted rate of change, MACD, and stochastic conditions align. It adds to positions as price moves favorably by a volatility-adjusted grid step, with the step derived from recent and…

Trend followingGrid tradingRisk managementPosition sizing
MQL5 code base

The document outlines a two-sided stepped grid strategy. It sets a grid distance, opens a long after a decline by that distance and a short after a rise by the same distance, then closes a position when price has moved two grid distances upward. Initial…

Grid tradingPosition sizingBacktestingCrypto
MQL5 code base

The document describes an Expert Advisor that places buy and sell orders at expanding Fibonacci-based intervals, adjusting grid spacing and position sizes to market conditions. Its proposed filters combine Market Profile value areas with ADX trend strength…

Grid tradingForexCommoditiesTechnical indicators
FMZ forum

This tutorial extends a multi-symbol cryptocurrency contract-spread monitor into a grid-based hedging strategy. It pairs longer-term contracts with perpetual contracts, tracks spread levels, and opens or closes offsetting positions when grid thresholds are…

CryptoFuturesPerpetual futuresGrid trading
FMZ forum

The author warns that a martingale strategy can show attractive returns during calmer conditions while accumulating exposure that may lead to severe drawdowns or liquidation when volatility rises. The post recounts an anecdotal case in which several live…

Risk managementPosition sizingVolatilityGrid trading
MQL5 code base

BreakTrend is described as an indicator for grid strategies, which can suffer losses when an early entry goes against a strong developing trend. The indicator waits until a sizable move has occurred, then signals when a reversal or pullback may be possible.…

ForexTechnical indicatorsGrid tradingMean reversion
FMZ forum

This tutorial outlines the design of a simple cryptocurrency spot grid strategy. It defines an equal-difference grid around an initial price, with grid levels extending both above and below that starting point. Each level stores its price and whether a buy…

CryptoGrid tradingSpot markets
SuperMind

The document explains grid trading as a contrarian approach for markets that fluctuate around a reference price. An investor divides capital into units, buys as price falls through grid levels, and sells as it rises, seeking to realize gains from repeated…

Grid tradingMean reversionRisk managementExecution