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

Search the library

549 documents

FMZ digest

The document presents an FMZ teaching strategy that adds positions at successive price levels spaced by multiples of ATR. It builds short positions when price rises through upper levels and long positions when price falls through lower levels, increasing the…

FuturesGrid tradingVolatilityPosition sizing
FMZ digest

The article proposes a long-only grid strategy for crypto contracts, motivated by the view that a long position has a bounded loss if the asset falls to zero while potential gains are not similarly capped. It places successive buy orders at intervals below…

CryptoFuturesGrid tradingPosition sizing
FMZ digest

This personal account traces the author’s path from hardware development into cryptocurrency mining and automated trading. It describes early Litecoin mining, holding coins through a severe decline, and later selling during a recovery. The trading discussion…

CryptoArbitrageMarket makingGrid trading
FMZ digest

This teaching example describes a spot strategy that aims to keep the account’s balance currency and valuation currency equal in value. It calculates paired buy and sell limit orders around the current account holdings, using a configurable distance from the…

CryptoSpot marketsGrid tradingRisk management
FMZ digest

This overview sketches several automated crypto strategies. Its main examples are funding-rate arbitrage, which pairs a short perpetual futures position with a spot long to seek funding income, and spot grid trading, which places paired buy and sell levels…

CryptoPerpetual futuresArbitrageGrid trading
FMZ digest

The document explains why candle-based backtests can mislead, especially for high-frequency and multi-instrument strategies. Candles omit the timing of trades and bid-ask quotes, making it hard to reconstruct simultaneous prices or realistic fills. They also…

BacktestingHigh-frequency tradingGrid tradingMarket microstructure
FMZ digest

The article presents a simple long-only strategy for crypto perpetual contracts. Starting from the current price, it places buy orders at fixed intervals below that level, increasing order size by a configured ratio as price falls. When a long position…

CryptoPerpetual futuresGrid tradingPosition sizing
FMZ digest

This article explains how to expand a single-pair cryptocurrency grid strategy into a multi-asset spot system. It outlines practical design needs: retrieving aggregated market data and account balances, assigning different grid intervals and order sizes to…

CryptoSpot marketsGrid tradingExecution
FMZ digest

This tutorial shows how to connect Claude Pro to FMZ through the Model Context Protocol (MCP), then use the AI assistant to inspect and operate configured trading accounts. Examples include placing a grid of futures orders, comparing prices across exchanges,…

CryptoFuturesGrid tradingExecution
FMZ digest

This tutorial develops a multi-contract spread monitor and a grid-based hedge for crypto futures. It matches near and far contracts for the same underlying, calculates spread values from executable bid and ask quotes, and creates price levels around an…

CryptoFuturesArbitrageGrid trading
FMZ digest

This tutorial explains how to implement an extendable price grid and trigger trades when market prices cross its levels. It begins with a finite set of grid prices, then adds levels above or below the existing range as the market moves, while preventing new…

CryptoGrid tradingFuturesBacktesting
FMZ digest

The article describes a rebalancing approach for perpetual futures: maintain a target position value, sell as price rises, and buy as it falls. An adjustment threshold determines how much price movement triggers a rebalance. It contrasts this with a grid…

CryptoPerpetual futuresGrid tradingBacktesting
FMZ digest

This beginner guide surveys common programmed trading approaches, including arbitrage, trend following, grid or regression methods, and high-frequency trading. It also distinguishes strategies by implementation scope, such as single-asset, multi-asset,…

CryptoArbitrageTrend followingGrid trading
FMZ digest

The article presents an automated strategy for Binance perpetual contracts after a delisting signal. It detects contracts whose delivery date changes from a distant placeholder to a scheduled settlement time, then opens a base short and runs a separate short…

CryptoPerpetual futuresEvent-drivenGrid trading
FMZ digest

The document walks through a long, short, or two-sided grid strategy written in Pine for use with FMZ. Users set grid spacing, order size, grid count, and take-profit distance. When the live bar begins, the strategy records a starting price, plots grid…

CryptoGrid tradingExecutionBacktesting
FMZ digest

The document explains a perpetual futures balance strategy that maintains a target position value by selling after price rises and buying after declines. Its adjustment ratio determines how much the position changes for a given price move. The author…

CryptoPerpetual futuresGrid tradingBacktesting
FMZ digest

This article explains two ways to seek gains when a crypto price fluctuates around a stable level. A balancing strategy maintains a target value split between cash and coin, trading when the allocation drifts beyond a chosen adjustment band. A grid strategy…

CryptoGrid tradingMean reversionBacktesting
FMZ digest

This tutorial outlines a simple martingale-style strategy for cryptocurrency perpetual futures. It places long and short entry orders around the current price, cancels the remaining order after one fills, then sets a closing order relative to the open…

CryptoFuturesPerpetual futuresGrid trading
FMZ digest

This first-person account traces a programmer’s path into cryptocurrency trading, from mining Litecoin to cross-exchange arbitrage, grid strategies, market making, and taking liquidity. It describes how apparent opportunities changed as prices moved,…

CryptoArbitrageMarket makingGrid trading
FMZ digest

This research note develops a three-leg hedge across perpetual, near-dated, and deferred delivery futures. It defines a butterfly spread as the deferred contract price plus the perpetual price minus twice the near-dated contract price. A long spread position…

CryptoFuturesArbitrageGrid trading
FMZ digest

The document explains a simple grid strategy written in Pine and describes how to run it in an FMZ environment. It anchors grid levels to the first live price, then places limit orders at fixed intervals above or below that level according to a long, short,…

CryptoGrid tradingBacktestingExecution
FMZ digest

This tutorial describes a Python grid strategy for a cryptocurrency price range. It divides the range into fixed price levels, places a buy order when the market is between adjacent levels, and, after a buy fills, places a sell order above the entry to seek…

CryptoGrid tradingExecutionRisk management
FMZ digest

The document describes a percentage-based grid strategy for a volatile Pre-IPO derivative. It divides a price range into levels, placing buys below and sells above, and proposes moving the range after a breakout. The described implementation can trade long,…

CryptoGrid tradingVolatilityPerpetual futures
FMZ digest

This article explains a simple spot-market grid strategy implemented in Python. It divides a chosen price interval into fixed-spaced nodes, places buy orders when the market is between adjacent levels, and submits a sell order at a predefined profit offset…

CryptoGrid tradingExecutionRisk management