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

662 documents

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 explains a workflow for turning TradingView strategy alerts into live orders through FMZ and an exchange. Earlier integrations sent trade actions through webhook parameters or JSON messages. The newer approach sends the strategy’s current…

ExecutionRisk managementPosition sizingCrypto
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

This document explains how to use FMZ’s extended API to monitor and control many live trading bots from a central strategy. Its example retrieves robot records in paginated batches, filters them by strategy and status, and displays bot identifiers, names,…

ExecutionRisk management
FMZ digest

The article compares two token-selection ideas: buying low-priced coins and rotating into coins with low market capitalization. It describes a weekly ranking approach, selecting the twenty lowest-priced assets for one index and the ten lowest-cap assets for…

CryptoFactor investingBacktesting
FMZ digest

The article describes FMZ’s built-in database interface, based on SQLite, as a way to persist structured strategy data beyond the simpler state-saving function. It outlines basic relational database operations, including creating tables, inserting records,…

CryptoExecutionMarket microstructure
FMZ digest

This tutorial explains how to extend a visual strategy editor with custom modules by defining blocks in a JavaScript template. It uses a built-in trading library as an example of the block definition format, then walks through adding a simple test block and…

Technical indicatorsCrypto
FMZ digest

The document introduces relative strength as a momentum approach: compare an asset’s performance with a benchmark or similar assets, favor stronger performers, and exit holdings that weaken. It says this approach is most useful in markets with clear trends…

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

The article develops an upgrade to a cryptocurrency spot hedger operating across two exchanges. It adds separate spread thresholds for each trading direction, allowing the strategy to respond when price differences are persistently asymmetric and inventory…

CryptoSpot marketsArbitrageExecution
FMZ digest

The document explains how a strategy lessor can attach a short metadata string to a rental registration code and have the strategy interpret it as a usage tier. Its example assigns different maximum spot holdings to codes with different tier labels, while an…

Spot marketsRisk managementPosition sizing
FMZ digest

The document presents a framework for estimating the probability that Bitcoin will finish above a round’s benchmark, conditional on its current price distance, time remaining, volatility, and recent drift. It separates this forecast from Polymarket prices,…

CryptoStatisticsVolatilityExecution
FMZ digest

This analysis tests whether cryptocurrency futures trade arrivals follow a Poisson process, using aggregated YGGUSDT trades from a volatile trading day. It examines buy-side trade intervals and the number of orders observed per second. The observed…

CryptoStatisticsMarket microstructureHigh-frequency trading
FMZ digest

This tutorial introduces Ethereum interaction through FMZ, starting with platform components, hosted runners, Web3 connection settings, and the debugging tool. It demonstrates reading account balances, chain identifiers, gas prices, block heights, and block…

CryptoDeFiOn-chain dataExecution
FMZ digest

This guide explains how to connect Claude Desktop to FMZ through the Model Context Protocol (MCP). It walks through obtaining FMZ MCP configuration credentials, adding the configuration to Claude Desktop, restarting the app, and authorizing tool access. The…

CryptoMachine learningExecution
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 introductory tutorial explains time-series market data, OHLC bars, and exchange tick snapshots, distinguishing event-by-event updates from periodic snapshots. It describes how finer data granularity can make a backtest more closely resemble live…

BacktestingTechnical indicatorsStatisticsExecution
FMZ digest

The document develops a relative-value strategy that trades EWY against Samsung Electronics and SK Hynix, which are major ETF holdings. It argues that this same-account basket avoids several practical frictions in trading Korean cash equities against…

EquitiesCryptoPairs tradingMean reversion
FMZ digest

This document outlines an automated research and execution workflow for mining factors across liquid crypto perpetual contracts. At scheduled intervals, it selects markets by trading volume, classifies volatility conditions, reviews the health and coverage…

CryptoPerpetual futuresFactor investingMachine learning
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 overview compares six programming language categories for quantitative trading: visual programming, EasyLanguage-style tools, Python, Matlab and R, C++, and Java or C#. It evaluates them qualitatively on functional range, speed, extensibility, and…

StatisticsMachine learningHigh-frequency tradingBacktesting
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