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
WonderTrader
14 documents
Alphalens
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 workflow describes a bidirectional grid for cryptocurrency perpetual futures. From an initial reference price, it places long levels below and short levels above; positions are opened as price reaches grid steps and are intended to close when price…

CryptoPerpetual futuresGrid tradingSentiment
Strategy library

This Binance futures strategy places buy and sell limit orders at intervals across a configured price range. It calculates grid spacing from the range’s upper and lower bounds and the number of grid levels, then uses the current bid to place orders on either…

FuturesGrid tradingExecutionRisk management
Strategy library

The document presents a static geometric grid for UNI/USDT spot trading. It specifies a fixed price band from 2.979 to 4.171, divided into 57 levels, with an indicated allocation of 175.44 USDT per level and a reference investment of 10,000 USDT. The stated…

CryptoSpot marketsGrid tradingBacktesting
Strategy library

This strategy combines a trend state derived from high and low EMAs with a grid whose direction and price levels update when the state changes. The close is classified as bullish, bearish, or neutral by comparing it with two thresholds placed within the gap…

CryptoFuturesGrid tradingTrend following
Strategy library

QuantumGridAllocator is a Hummingbot controller that manages grid executors across configured crypto assets. It calculates the portfolio’s actual and target allocations, treating the quote asset as the unallocated remainder, and validates that configured…

CryptoGrid tradingPortfolio constructionExecution
Strategy library

This document outlines a grid strategy that derives long and short levels from Bollinger Bands. It uses a 20-period simple moving average as the center and bands two standard deviations away, then places four stepped levels relative to the lower and upper…

Grid tradingTechnical indicatorsVolatilityRisk management
Strategy library

This grid strategy divides a preset price range into geometric levels and trades around them on a 15-minute chart. When price crosses down through an unfilled level, it opens a buy; when price later crosses up through the next level above that filled buy, it…

CryptoSpot marketsGrid tradingBacktesting
Strategy library

This crypto futures strategy seeks to keep account value balanced between available stablecoin funds and a long position. It compares available balance with the leveraged value of the position. When either side exceeds a configurable threshold, it adjusts…

CryptoFuturesPerpetual futuresGrid trading
Strategy library

This teaching example describes a futures calendar spread between quarterly and weekly OKEX contracts. It subscribes to both contracts’ ticker updates over a WebSocket and tracks their price difference. A grid of spread thresholds is created from a starting…

FuturesArbitrageGrid tradingMarket microstructure
Strategy library

This document presents a tick-driven grid strategy that places buy and sell limit orders around the market, then adds to a position as price moves against it. The step between additional orders increases at specified position sizes, while a position…

CryptoGrid tradingHigh-frequency tradingRisk management
Strategy library

This strategy runs a one-sided grid in either buy-then-sell or sell-then-buy mode. In the first mode, it places a sequence of buy orders at fixed price intervals below a starting price. When a buy fills, it places a sell order above that fill by a specified…

CryptoGrid tradingRisk managementExecution
Strategy library

This script initializes a ladder of price levels around the current market price, spaced at 0.3% intervals, then checks the latest price once per second. When price crosses below a level with no tracked buy assigned there, it submits a fixed-size buy and…

Grid tradingMean reversionExecutionRisk management
Strategy library

This document presents a simple Binance spot grid approach. At timed intervals, when no orders are open, it places a buy below the best bid and a sell above the best ask, each offset by half the configured grid spacing. When either order fills, it cancels…

Spot marketsCryptoGrid tradingExecution
Strategy library

This strategy opens a long position, then adds up to 14 more orders as price falls in successive 1.1% steps from the latest grid level. Each added order grows by a 1.2 multiplier from a $100 base order. When a position is open, the script sets a take-profit…

CryptoGrid tradingPosition sizingRisk management
Strategy library

This document outlines a cryptocurrency strategy that adds to losing positions using a multiplier, with ATR-based spacing intended to adapt entries to market volatility. It also describes weighted moving averages for trend assessment, optional exits when…

CryptoFuturesGrid tradingVolatility
Strategy library

This MetaTrader expert advisor combines linear regression candles with UT Bot alerts. A long setup requires the previous candle’s regression close to be above both its open and signal line, plus a bullish UT Bot alert among the recent bars. The short setup…

ForexTrend followingGrid tradingTechnical indicators
Strategy library

This controller uses Bollinger Band position and width to activate a grid and set its price range. It reads candle data, calculates the band percent and width, then signals long when band position falls below a configurable threshold or short when it rises…

CryptoGrid tradingTechnical indicatorsVolatility
Strategy library

This pseudo-grid method uses RSI threshold crossings to refresh a price range, then divides that range into five evenly spaced levels. The range boundaries are based on volume-weighted highest and lowest source prices over the RSI lookback. Price crossings…

Grid tradingBreakoutTechnical indicatorsFutures
Strategy library

This strategy tracks price movement with a grid whose reference level is recalculated as price makes new highs or lows. When price moves beyond the configured gap, the system can generate another entry in the selected direction; a move against the position…

Grid tradingTrend followingBreakoutFutures
Strategy library

This document describes a dynamic grid approach for Bybit inverse contracts, configured for a coin-margined BTC/USD market. Rather than placing orders at fixed grid levels, it sets a target coin allocation that varies linearly with price between configured…

CryptoGrid tradingPosition sizingExecution
Strategy library

This grid strategy starts by dividing capital between cash and an asset, then makes market trades when the marked asset value moves a set percentage below or above a baseline. It buys a fixed fraction of the baseline after declines and sells a corresponding…

Grid tradingCryptoExecutionPosition sizing
Strategy library

This spot strategy repeatedly rebalances one cryptocurrency toward a target share of account value. When the asset’s share moves below the target by a configured adjustment threshold, it places a buy order; when the share moves above the target threshold, it…

CryptoSpot marketsGrid tradingPortfolio construction
Strategy library

This document describes a single-coin spot strategy that repeatedly returns the portfolio toward a target coin allocation. When the coin’s share of account value moves below the target by a set adjustment band, the bot places a buy order; when it moves above…

CryptoSpot marketsGrid tradingPortfolio construction
Strategy library

This MetaTrader expert advisor combines Heikin Ashi candles, Chandelier Exit levels, and a zero-lag least-squares moving average (ZLSMA). A buy signal occurs when the Chandelier indicator marks an upward level and the Heikin Ashi close is above the ZLSMA; a…

ForexTrend followingTechnical indicatorsRisk management