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

1,625 documents

Strategy library

This example describes a mean-reversion approach to the price spread between near- and far-month index futures contracts. On 15-minute bars, it calculates the difference between the contracts’ closing prices over an 80-bar window, then estimates the spread’s…

FuturesArbitrageMean reversionStatistics
Strategy library

This script describes a two-exchange spot arbitrage process for the same asset. It compares executable bid and ask prices across venues, estimates available depth, and places paired buy and sell orders when the spread exceeds a threshold that includes…

ArbitrageSpot marketsExecutionRisk management
Strategy library

This document describes an execution utility for opening, closing, or reversing positions in two perpetual futures contracts. When opening, it calculates each leg's quantity from a shared per-asset value and the current ticker price, with a contract-value…

FuturesPerpetual futuresArbitrageExecution
Strategy library

This spread strategy uses Bollinger bands to enter positions when a spread moves beyond its recent range, then aims to close the position after it returns to its simple moving average. It updates spread bars from incoming ticks and waits for its price…

Mean reversionArbitrageTechnical indicatorsPosition sizing
Strategy library

This example describes two triangular arbitrage directions across BTC/USDT, LTC/USDT, and LTC/BTC markets. It compares prices from the three tickers and estimates whether converting through the triangle could yield a positive return after applying a stated…

CryptoArbitrageExecutionMarket microstructure
Strategy library

This document describes a read-only scanner for comparing perpetual futures funding rates across centralized and on-chain venues. It converts rates with different settlement intervals to annualized values and an equivalent eight-hour spread, then pairs the…

CryptoPerpetual futuresArbitrageCarry
Strategy library

This document describes a charting script for tracking Brazilian real quoted crypto prices across BitcoinTrade and Binance. It plots BitcoinTrade bid and ask data for several assets, then compares corresponding BRL markets on both venues to visualize…

CryptoArbitrageMarket microstructureSpot markets
Strategy library

This bot monitors Bitcoin order books on two exchanges and opens paired trades when the bid on one venue exceeds the opposing ask on the other by a configurable spread threshold. It sells on the higher-priced venue and buys on the lower-priced venue,…

CryptoArbitrageMarket microstructureExecution
Strategy library

This controller coordinates cross-exchange market-making executors across a maker venue and a taker venue. Users configure separate buy and sell profitability targets with associated allocation weights. The controller divides its quote budget equally between…

CryptoArbitrageExecutionMarket making
FMZ digest

This introduction explains how FMZ’s visual editor assembles trading logic from connected blocks. It covers snapping blocks together, configuring inputs, using defaults, copying and arranging modules, and saving a strategy. The examples show utility blocks…

FuturesArbitrageExecution
FMZ digest

This brief note examines how trading fees affect the spread available to a triangular hedging strategy. It points readers to two research notebooks: one using the default fee setting and another adjusted for a different fee rate. Its central lesson is that…

ArbitrageCryptoExecutionBacktesting
FMZ digest

This note presents a rudimentary BTC futures strategy prototype that monitors order books on two exchanges. When the bid on one venue exceeds the ask on the other by a specified spread, the example opens a short on the first exchange and a long on the…

CryptoFuturesArbitrageMarket microstructure
FMZ digest

The article describes a taker-style spot arbitrage method for capturing temporary price gaps across crypto exchanges. It proposes fetching order books concurrently, combining eligible ask and bid levels, and ranking them after adjusting prices for exchange…

CryptoSpot marketsArbitrageMarket microstructure
FMZ digest

This article explains the design of a C++ strategy for hedging the calendar spread between near and deferred cryptocurrency futures contracts. It outlines the basic position logic: when the spread is positive, it sells the deferred contract and buys the…

CryptoFuturesArbitrageExecution
FMZ digest

This tutorial outlines a monitor for a Curve stablecoin pool that compares a token’s implied exchange value with an assumed acquisition cost. It reads token metadata and wallet balances from the pool and token contracts, estimates the output for a proposed…

CryptoDeFiArbitrageExecution
FMZ digest

The document introduces a trading terminal designed to manage several exchange accounts and markets from one customizable screen. Users can bind exchange and trading-pair modules into groups, arrange market data, order books, account and position information…

CryptoArbitragePerpetual futuresExecution
FMZ digest

The article explains crypto execution through three layers: a macro trader schedules child orders over time, a micro trader chooses order type and price, and a smart router distributes orders across exchanges. It describes market impact, thin liquidity,…

CryptoExecutionMarket makingMarket microstructure
FMZ digest

This document explains cross-exchange arbitrage that seeks to profit when the same cryptocurrency has different prices on two exchanges. The basic method compares one venue’s ask with another’s bid, buys on the cheaper venue, and sells on the dearer one. It…

CryptoArbitrageExecutionMarket microstructure
FMZ digest

This article outlines a market-neutral funding-rate strategy: hold spot while shorting a perpetual futures contract, aiming to collect funding when the rate is positive. It explains how funding payments are intended to keep perpetual prices near spot and…

CryptoPerpetual futuresArbitrageRisk management
FMZ digest

The document argues that trading offsetting contracts on two exchanges cannot reliably move assets from one venue to another. Its reasoning is that the proposed transfer depends on one account’s losses creating a corresponding benefit for the other. That…

CryptoArbitrageMarket microstructureExecution
FMZ digest

The article distinguishes futures–spot arbitrage from calendar and cross-market spread trades. In a futures–spot position, a trader buys the commodity in the spot market and sells futures when the futures premium is considered unusually wide, expecting…

CommoditiesFuturesSpot marketsArbitrage
FMZ digest

The document describes a spot arbitrage method that compares order books across exchanges to identify temporary price gaps. It proposes collecting market data concurrently, combining asks and bids, and adjusting prices for exchange fees before ranking…

CryptoSpot marketsArbitrageExecution
FMZ digest

This article develops a systematic approach to finding multi-asset relative-value baskets rather than manually selecting pairs. It arranges log prices in a matrix, uses singular value decomposition to separate common factors from residual directions, and…

Multi-assetArbitrageStatisticsMean reversion
FMZ digest

This document describes a monitoring system for price differences between decentralized and centralized exchanges. It groups configured venues by exchange type, normalizes symbol names that vary across platforms, loads market precision, and requests order…

CryptoArbitrageMarket microstructureExecution