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

9,797 documents

FMZ digest

This introductory guide explains APIs through everyday analogies and shows how trading code uses them to request market data, calculate indicators, place orders, and inspect account state. Its M-language examples cover open, high, low, close, volume,…

Technical indicatorsExecutionMarket microstructureFutures
FMZ digest

This tutorial describes a simple KDJ strategy and how to structure its implementation in C++ on the FMZ platform. It introduces the indicator’s RSV, K, D, and J components, then uses the relationship between K and D to generate long or short entry signals.…

Technical indicatorsMomentumFuturesExecution
FMZ digest

This programming guide presents two market-monitoring examples. The first collects spot prices across Binance trading pairs, stores observations in a rolling window, computes percentage changes, sorts the pairs, and displays the strongest movers. It notes…

CryptoFuturesPerpetual futuresMarket microstructure
FMZ digest

This note explains the Dual Thrust system, a breakout approach associated with futures, foreign exchange, and equity markets. It derives a range from recent highs, lows, and closes, then scales that range by a parameter to set thresholds around the next…

FuturesForexEquitiesBreakout
FMZ digest

This document describes a waterfall-style trend strategy built from three lines, each formed by averaging three exponential moving averages at progressively longer lengths. It proposes going long when price is above all three lines and they are ordered…

Technical indicatorsTrend followingFuturesCrypto
FMZ digest

This document presents a trend-following strategy based on Ease of Movement (EMV), an indicator combining changes in price range and trading volume. It describes EMV as a measure of price movement relative to volume: readings above zero indicate a stronger…

FuturesTechnical indicatorsTrend followingBacktesting
FMZ digest

The document walks through a Python implementation of a Donchian channel strategy for a futures market. It defines the channel from the highest high and lowest low over a lookback period, with the midpoint between them. A close above the upper boundary opens…

FuturesBreakoutTrend followingTechnical indicators
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

The document introduces a backtesting system for European-style Bitcoin options and explains how option contracts are identified, priced, traded, and monitored alongside spot or futures positions. Its examples sell a call while buying spot or futures, then…

CryptoOptionsFuturesSpot markets
FMZ digest

This educational example designs a deliberately random futures strategy for dYdX. A random draw selects long or short exposure, and a fixed stop profit or stop loss defines when to close the position. After a losing trade, the strategy increases its position…

CryptoFuturesPosition sizingRisk management
FMZ digest

This tutorial introduces cross-period hedging by pairing a long position in one futures contract with a short position in another. It derives how the combined result depends on the spread changing between entry and exit, then notes that fees and slippage…

CryptoFuturesPerpetual futuresArbitrage
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

This tutorial introduces a visual, block-based way to assemble trading strategies. It explains how blocks connect, accept adjustable inputs and default values, and can be moved, copied, resized, and configured. The examples use a trading platform’s modules…

FuturesBacktestingExecutionMarket microstructure
FMZ digest

This article introduces wavelet transforms as localized, multi-scale filters for financial price series. It explains how wavelet basis functions and their coefficients can separate low-frequency movement from faster fluctuations, then describes a simplified…

Technical indicatorsTrend followingStatisticsCrypto
FMZ digest

The document explains a historical currency-margined futures strategy built around repeated position entry, a profit-taking order, and a reverse trade when a stop-loss condition is reached. After a loss, the system cancels outstanding orders, closes or…

FuturesRisk managementPosition sizingExecution
FMZ digest

The document describes a Python framework for a futures trend strategy, organized as a class with separate modules for market decisions, order handling, account calculations, risk controls, and persistent data. Its trend signal uses price relative to an EMA…

FuturesTrend followingTechnical indicatorsRisk management
FMZ digest

This article compares bar-based and tick-based backtests, focusing on how coarse bars can hide the path prices took within a period. That ambiguity can produce unrealistic fills or conceal whether a stop would have triggered before a favorable exit. It also…

BacktestingHigh-frequency tradingMarket microstructureExecution
FMZ digest

The article explains a passive market-making approach that tries to move ahead of a large visible order by placing a limit order one tick better. A trader watches the order book for a sizable participant whose order may act as support or resistance, then…

CommoditiesFuturesHigh-frequency tradingMarket making
FMZ digest

The document introduces FMZ’s data exploration module, which combines market datasets with SQL queries and charting. Users can inspect available OHLC and tick tables, preview fields, upload limited CSV datasets, and query with editable parameters. Saved…

CryptoFuturesVolatilityMarket microstructure
FMZ digest

The document explains Parabolic SAR as a trend-following indicator whose stop level advances toward an extreme price using an acceleration factor. It outlines rising and falling calculations, including the initial factor, its increments when new extremes…

FuturesTrend followingTechnical indicatorsRisk management
FMZ digest

The article examines a futures execution hazard: an exchange may report an outdated position after a limit order has already filled. A strategy that interprets the stale response as an unfilled order can submit another opening order and accumulate unintended…

CryptoFuturesExecutionRisk management
FMZ digest

The article defines PBX as a set of averaged exponential moving averages and uses their relative order to identify directional conditions. Its example builds three PBX lines, each averaging EMAs at progressively longer periods. It opens a long when price is…

Technical indicatorsTrend followingFutures
FMZ digest

This installment reviews a multi-currency Binance futures strategy and updates its analysis with minute-level price data. One method compares each asset's price relative to Bitcoin after exponential moving-average normalization, then adjusts signed target…

CryptoFuturesPairs tradingBacktesting