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

The author recounts moving from early cryptocurrency trading and leveraged futures to writing automated strategies, including moving-average and grid approaches. The account describes losses and operational setbacks as well as learning to use trading APIs…

CryptoArbitrageFuturesExecution
FMZ digest

The document explains a box-based trend strategy built around support and resistance. It defines the box boundaries from recent price extremes and treats a close above the upper boundary as a potential move into a higher range, while a close below the lower…

FuturesCommoditiesCryptoBreakout
FMZ digest

This document sketches a way to shift crypto assets between exchange accounts using opposing positions in futures contracts. The example monitors order book depth at two venues, opens a short at one and a long at the other when the price spread widens, and…

CryptoFuturesArbitrageRisk management
FMZ digest

This tutorial explains ways to configure a crypto trading bot for multiple trading pairs, exchange accounts, and futures contracts. For several pairs on one account, it describes either switching the pair on a single exchange object or assigning separate…

CryptoFuturesArbitrageExecution
FMZ digest

This tutorial lays out a supervised-learning workflow for developing a market-direction signal, using a stock–futures basis as an example target. It distinguishes model-based strategy design from data mining, then walks through defining the prediction target…

Machine learningStatisticsBacktestingExecution
FMZ digest

The article describes building a spot and delivery-futures spread strategy around the idea that the spread tends to fluctuate near a mean. Its initial signal uses a spread deviation from that mean, while an augmented Dickey-Fuller test screens for…

CryptoFuturesSpot marketsArbitrage
FMZ digest

The document proposes hedging spot and futures exposure with paired limit orders instead of taking existing quotes when a price spread meets a threshold. It compares the futures and spot order books, places orders on opposite sides when the spread is…

Spot marketsFuturesArbitrageExecution
FMZ digest

This article presents a simple futures copy-trading bot that monitors a reference account’s long and short position amounts and mirrors their changes in follower accounts. Because futures positions have direction and contract-specific details, it tracks long…

FuturesExecutionPosition sizingRisk management
FMZ digest

The article explains a workflow for turning TradingView Pine strategy alerts into orders placed by a separate trading bot. TradingView sends a webhook request to an extended API, which forwards the request body as an interactive message to a running bot. The…

ExecutionFuturesSpot marketsTechnical indicators
FMZ digest

This article describes adapting a Pine strategy that assigns fixed weights to technical indicators according to market state. The proposed workflow rebuilds indicators in Python, classifies market conditions, computes a weighted score, and feeds features…

Machine learningTechnical indicatorsFuturesRisk management
FMZ digest

This article presents a short-horizon strategy for trading two related crypto futures contracts. Its motivating example is a claimed brief lag between TRUMP and MELANIA: when one contract moves sharply, the strategy looks for a difference in their candle…

CryptoFuturesArbitragePairs trading
FMZ digest

This tutorial explains how to connect TradingView alerts to an automated trading robot on the FMZ platform. It uses FMZ’s extended API to send a command to a selected robot, and describes restricting the API key to the command interface and encoding the…

CryptoExecutionTechnical indicatorsFutures
FMZ digest

This tutorial presents a Donchian Channel trend-following method based on the highest high and lowest low over a rolling lookback period. The midpoint is the average of those two channel boundaries. A close above the upper boundary opens a long position,…

FuturesTrend followingBreakoutTechnical indicators
FMZ digest

This article explains how to run a Python strategy whose main logic resides in a local file on the machine hosting an FMZ trading robot. Its example uses a Dual Thrust futures strategy. One approach imports a local module and passes in the platform’s…

FuturesBacktesting
FMZ digest

The document explains Kaufman’s Adaptive Moving Average (KAMA), which adjusts its responsiveness using an efficiency ratio based on net price movement relative to total movement over a lookback period. Low efficiency makes the average smoother in choppy…

CryptoFuturesTrend followingTechnical indicators
FMZ digest

This document revisits a multi-coin Binance futures strategy that trades each altcoin against a basket-level index of altcoin-to-BTC prices. Positions are scaled to the deviation from the cross-sectional mean, with an exchange simulation tracking margin,…

CryptoFuturesPairs tradingBacktesting
FMZ digest

The document describes how a backtest advances through historical data and compares bar-based simulation with two tick-based approaches. In a traditional on-bar test, the strategy receives one decision point per candle, typically using its close, while…

BacktestingExecutionMarket microstructureFutures
FMZ digest

The document presents a trend-oriented trading signal built from the slope of a smoothed midpoint between the rolling high and low. It first calculates the high and low over a lookback window, averages them, smooths that series with a moving average, and…

FuturesCryptoMomentumTechnical indicators
FMZ digest

The document presents a Python port of a commodity futures moving average strategy originally implemented in JavaScript. It frames the example as a way to study multi-instrument strategy architecture, including per-contract state, position and order…

FuturesCommoditiesTrend followingTechnical indicators
FMZ digest

The document explains the Aroon indicator, which uses how recently a market made its highest and lowest prices over a chosen lookback period. Aroon Up and Aroon Down range from zero to one hundred; readings near one hundred indicate that the corresponding…

FuturesCommoditiesTrend followingTechnical indicators
FMZ digest

The document describes a crypto futures execution problem: after a limit order fills, the exchange’s position endpoint may still report the earlier position. A strategy that relies on that stale response can conclude the order did not execute and place…

CryptoFuturesExecutionRisk management
FMZ digest

This article presents an FMZ framework for trading several perpetual futures symbols through unified platform APIs. It organizes per-symbol state for prices, orders, positions, precision, and account metrics, then describes routines for loading market…

CryptoFuturesPerpetual futuresExecution