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 grid method centers a trading band on a simple moving average, setting its upper and lower bounds by a proportional deviation. It divides the band into equally spaced levels and tracks whether each level has an open long position. In the source logic, a…

Grid tradingTechnical indicatorsPosition sizingRisk management
Strategy library

This long-only grid strategy places price levels between configurable upper and lower bounds. Levels can be spaced geometrically or arithmetically; the script description says it buys when price crosses a level downward and sells on an upward crossing to the…

CryptoSpot marketsGrid tradingExecution
Strategy library

The document describes a long-only grid strategy for LINK/USDT that places a series of buy and sell levels between configured high and low prices. It supports geometric or arithmetic spacing, with geometric spacing selected by default. A downward crossing of…

CryptoGrid tradingSpot marketsExecution
Strategy library

This JUP grid strategy buys as price crosses grid levels downward and sells as it crosses upward to the next level. Users set upper and lower price bounds, choose geometric or arithmetic spacing, and allocate investment across the grid slots. The published…

CryptoPerpetual futuresGrid tradingRisk management
Strategy library

D-Man V3 is described as a Bollinger Band reversal strategy that uses closed candles to identify extremes. It scales a dollar-cost averaging grid and the target for exiting the position basket according to the Bollinger half-width, linking spacing and exits…

Technical indicatorsMean reversionGrid tradingRisk management
Strategy library

This futures grid strategy places paired buy and sell limit orders around the market, then adds new grid levels after fills. Grid spacing and order size are configurable, and the step distance increases as the position grows. When exposure reaches a…

FuturesGrid tradingRisk managementExecution
Strategy library

This basic Binance futures grid method records an initial reference price when it starts. It places a short-side order when price is above that anchor and a long-side order when price is below it, using a configurable order value and grid spacing. The…

CryptoFuturesGrid tradingExecution
Strategy library

This document outlines a long-only grid strategy for XMR perpetual markets. It divides a chosen price interval into a set of levels, with either geometric or arithmetic spacing. The design buys as price crosses downward through grid levels and sells as it…

CryptoPerpetual futuresGrid tradingPosition sizing
Strategy library

This futures grid strategy opens an initial long and short position, then adds to each side when price moves against that side by a configured percentage. Position sizes increase through a preset sequence, creating a martingale-like scale-in process. Each…

FuturesGrid tradingPosition sizingExecution
Strategy library

This proposed crypto futures system runs a two-sided grid intended to capture price swings, while adjusting order size in response to recent return volatility. It combines a Hurst-based trend estimate and CUSUM monitoring to brake grid activity, and…

CryptoFuturesGrid tradingVolatility
Strategy library

This script demonstrates a basic grid for LTC/BTC. At startup, it uses the best ask as a reference price and places a ladder of limit buy orders at regular percentage intervals below it. Each order is sized from a portion of the account balance. The script…

CryptoGrid tradingExecutionBacktesting
Strategy library

This document introduces a configurable grid strategy backtest. Users can choose a neutral, long, or short mode, set the number of grid levels, and distribute levels using arithmetic or geometric spacing. Investment controls include leverage and order sizing…

Grid tradingBacktestingPosition sizingFutures
Strategy library

The document describes a long-only ETH price grid with configurable upper and lower bounds, number of levels, and geometric or arithmetic spacing. It buys when price crosses a grid level downward and sells after an upward crossing to the next level. The…

CryptoGrid tradingPosition sizingPerpetual futures
Strategy library

This long-only DCA system starts with a fixed-amount purchase, then adds safety orders when price falls by a specified percentage from the latest entry. Each successive order grows by a configurable multiplier, while the strategy tracks aggregate cost and…

CryptoSpot marketsMean reversionGrid trading
Strategy library

This document describes a two-sided crypto futures system that holds long and short exposure and seeks to follow strong moves. It discusses adding to a position when price reverses, then clearing all positions when combined theoretical and floating profit…

CryptoFuturesTrend followingGrid trading
Strategy library

D-Man Maker V2 configures a market-making controller that places maker-side dollar-cost-averaging orders at progressively wider price offsets. For buys, levels are set below the reference price; for sells, they are set above it. Configurable spreads and…

Market makingGrid tradingExecutionRisk management
Strategy library

The document describes a multi-mode system that changes its trading approach according to signals intended to identify ranging, trending, reversal, and breakout conditions. Its four modes use a grid around a reference price, moving-average crossovers, or EMA…

Multi-assetGrid tradingTrend followingBreakout
Strategy library

This long-only grid framework uses a 100-period simple moving average as its reference. It adds positions when price reaches retracement levels 8%, 15%, and 20% below that average, subject to zone-specific trade limits and a minimum interval of 50 bars…

CryptoFuturesGrid tradingMean reversion
Strategy library

This spot-style grid method begins by dividing the initial investment between cash and an asset, with the code setting each allocation to half. It tracks the marked value of the asset position against a reference value. When that value falls below the…

Grid tradingSpot marketsCryptoExecution
Strategy library

This strategy builds a set of price zones around a central moving average and scales the spacing using either ATR multiples or fixed percentages. It opens successive long entries as price falls through lower zones, then closes those entries in sequence as…

FuturesGrid tradingTrend followingVolatility
Strategy library

This strategy runs repeating long grid orders across selected traditional-asset perpetual contracts, such as equity indices, gold, oil, and currencies. It scans USDT perpetual markets, filters for TradFi instruments, scores candidates by average daily…

Grid tradingVolatilityPerpetual futuresMulti-asset
Strategy library

This strategy scans traditional finance perpetual contracts and ranks them by average daily high-low range as a percentage of closing price. It selects the most volatile eligible markets, then builds proportional price grids around current prices. Grid…

FuturesPerpetual futuresGrid tradingVolatility
Strategy library

This grid strategy establishes a step size around a baseline that updates when price moves far enough. A rising baseline opens a long with a take-profit at the upper grid level and a stop at the lower one; a falling baseline opens a short with the levels…

Grid tradingPosition sizingRisk managementExecution
Strategy library

This educational example maintains a BTC/USDT portfolio by comparing its cash share with a 50% target. It begins by using half of the account balance to buy the asset. On each polling cycle, it estimates total account value from cash and coin holdings, then…

CryptoSpot marketsGrid tradingPosition sizing