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 article outlines a Fisher Transform indicator computed from bar highs and lows. It normalizes the midpoint against the highest high and lowest low over a lookback period, blends that value with the prior normalized value, clamps extreme inputs, and…

Technical indicatorsStatisticsEquities
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 adjusted mid-price estimates from high-frequency order book and transaction data. Using top-of-book bid and ask quantities, it starts with the standard midpoint and tests volume-weighted and nonlinear imbalance adjustments. It then…

High-frequency tradingMarket microstructureExecutionStatistics
FMZ digest

This strategy description adapts grid trading to perpetual contracts tracking traditional assets such as equity indexes, commodities, and currencies. It periodically ranks eligible markets by average daily high–low range over a lookback window, excludes…

FuturesGrid tradingVolatilityRisk management
FMZ digest

The article introduces Bayesian statistics through its historical development, from De Moivre’s forward probability questions to Thomas Bayes, Richard Price, and Laplace’s work on inverse probability. The central idea is to infer an unknown parameter from…

StatisticsMachine learning
FMZ digest

This installment describes a rough simulation intended to illustrate potential losses from a Binance futures strategy that shorts assets judged to have risen too far and goes long on assets judged to have fallen too far. The document points readers to a…

CryptoFuturesMean reversionRisk management
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

The article presents a two-part workflow for newly listed crypto perpetual contracts. A slower analysis process detects exchange announcements, tracks candidate tokens, and gathers basic token metrics, news, and derivatives data such as prices, funding…

CryptoPerpetual futuresMachine learningSentiment
FMZ digest

This article describes a workflow intended to interrupt impulsive crypto trades by requiring a trader to state a reason before acting. It combines the trade idea with position information, news-based sentiment, and technical indicators such as MACD, RSI,…

CryptoMachine learningTechnical indicatorsSentiment
FMZ digest

The document introduces visual programming for trading strategies, showing how to select candle data, calculate price changes, and express patterns such as a sharp rise with higher volume or a price gap. It also reviews moving averages, MACD, and KDJ as…

CryptoTechnical indicatorsMean reversionPortfolio construction
FMZ digest

This tutorial outlines a statistical arbitrage approach for crypto perpetual contracts. It screens historical closing prices for highly correlated pairs, then trades deviations in their price ratio: when the ratio is above its reference level, it buys one…

CryptoPerpetual futuresPairs tradingStatistics
FMZ digest

The article describes a spot-style cross-currency hedge using two crypto assets, such as LTC and ETH quoted in USDT. Instead of trading an absolute price spread, it tracks one asset's price relative to the other. As the ratio rises through preset grid…

CryptoGrid tradingPairs tradingRisk management
FMZ digest

This strategy screens USDT perpetual contracts for strong 24-hour gainers, then collects open interest, funding rates, market capitalization, and daily candles. Hard filters remove crowded shorts, low open interest, and coins that have already pulled back.…

CryptoPerpetual futuresMachine learningTechnical indicators
FMZ digest

This proof of concept runs four AI models in parallel on the same market data. Each model makes independent decisions using multiple timeframes and technical indicators, then trades in a virtual account. The system ranks models by realized profit and copies…

Machine learningTechnical indicatorsExecutionRisk management
FMZ digest

This article surveys stop-loss approaches and shows how to express several of them as trading rules. It covers price levels based on support or resistance, fixed limits from entry, trailing exits that follow favorable price movement, retracement exits from a…

Risk managementPosition sizingTechnical indicatorsTrend following
FMZ digest

This article describes a Python framework for automated cryptocurrency trend trading, organized as a class with separate modules for market setup, data persistence, commands, orders, risk controls, trend signals, and status reporting. Its example trend…

CryptoFuturesTrend followingTechnical indicators
FMZ digest

This document explains how a strategy provider can use metadata attached to a platform registration code to apply different operating limits to different renters. Metadata is a string set when creating a code, and the strategy reads it at runtime to select a…

CryptoSpot marketsRisk managementPosition sizing
FMZ digest

This article examines whether top-of-book bid and ask quantities can improve estimates of short-term price movement. Using Binance YGG book ticker data from a volatile day, it defines quote imbalance from the relative sizes of the best bid and ask queues,…

CryptoHigh-frequency tradingMarket microstructureStatistics
FMZ digest

This document describes the design of a reusable plotting library for strategies that need several charts. Its proposed interface supports candlestick records, time-series points, horizontal reference lines, titles, and event flags, with per-chart…

ExecutionTechnical indicators
FMZ digest

This Python strategy follows price moves without technical indicators. It stores a reference price and compares the latest price with it; when price rises or falls beyond a configurable fraction, it places a buy or sell order and resets the reference to the…

Trend followingMomentumPosition sizingBacktesting
FMZ digest

This brief example shows how to submit BitMEX orders through an exchange IO interface. It demonstrates a post-only limit order by setting the passive-execution instruction, then shows a bulk request containing two limit orders for the same contract. A final…

CryptoMarket makingExecution
FMZ digest

This document explains how FMZ’s JavaScript strategies can run custom functions in parallel. It describes creating worker threads, passing arguments, joining a thread to obtain its return value and elapsed time, and forcibly terminating a worker. It also…

ExecutionStatistics
FMZ digest

The document reconstructs a TradingView strategy that combines a fast and slow exponential moving average with buy and sell signals from a range filter indicator. A long entry requires a bullish range-filter signal, the fast EMA above the slow EMA, and a…

CryptoPerpetual futuresMomentumTechnical indicators
FMZ digest

This tutorial describes a library for connecting FMZ strategies to Uniswap V3 through Web3 functions. It introduces registering token addresses, retrieving token-pair prices and wallet balances, and swapping between tokens. The examples include an…

CryptoDeFiSpot marketsExecution