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
Quantopian lectures
45 documents
Binance API docs
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 analysis studies aggregated trades for a newly listed crypto perpetual contract, focusing on buy-trade arrival intervals and counts within short time buckets. It compares observed behavior with a Poisson process, whose assumptions imply a stable event…

CryptoStatisticsHigh-frequency tradingMarket microstructure
FMZ digest

This article outlines a crypto rotation system that ranks liquid coins using moving-average alignment, the widening or narrowing of moving-average gaps, and the direction of those averages across several timeframes. It selects stronger positive and negative…

CryptoFuturesTrend followingMachine learning
FMZ digest

This guide explains how to read a trading strategy performance report, whether it summarizes historical backtests or live results. It describes common report components: individual trade records, returns grouped by day or longer periods, and charts such as…

BacktestingStatisticsRisk management
FMZ digest

This tutorial shows how to connect Claude Pro to FMZ through the Model Context Protocol (MCP), then use the AI assistant to inspect and operate configured trading accounts. Examples include placing a grid of futures orders, comparing prices across exchanges,…

CryptoFuturesGrid tradingExecution
FMZ digest

The document gives a compact example of a cross-exchange hedging strategy. It retrieves account balances and market tickers from several exchanges, then checks pairs of different exchanges for a price spread above a configured threshold. When the spread…

ArbitrageExecutionMarket microstructureRisk management
FMZ digest

The article explains why ordinary JavaScript arithmetic can produce small errors with decimal values: many decimal fractions cannot be represented exactly in binary floating-point. Such discrepancies can affect calculations and comparisons in trading logic,…

StatisticsExecutionRisk management
FMZ digest

The article presents a JavaScript framework for copying positions from one leader account to multiple subscriber accounts, including when the signal strategy is written in My or Pine. It uses a leader-subscriber structure: the leader polls its positions,…

CryptoPosition sizingExecutionRisk management
FMZ digest

The article compares two ways to deliver external trading signals to an FMZ strategy, using TradingView webhooks as the example. One route sends requests through the platform’s extended API, which forwards them to the strategy as interaction messages. The…

ExecutionMarket microstructureStatistics
FMZ digest

The document presents Python examples of buy-side and sell-side iceberg execution. An iceberg order divides a larger target into smaller limit orders, placing them in relation to the current bid or ask and a configured price depth. The scripts track account…

ExecutionMarket microstructurePosition sizingSpot markets
FMZ digest

The document adapts an intertemporal commodity futures hedge strategy by using Bollinger Bands on the price spread between two contracts to define entry and exit signals. It synchronizes the contracts’ candle data, calculates the spread as one contract’s…

FuturesCommoditiesPairs tradingMean reversion
FMZ digest

The document describes a footprint chart that expands each futures candlestick into price levels with estimated active buying and selling volume. Its example processes tick updates, classifies trades as buyer or seller initiated using the latest price…

FuturesCommoditiesMarket microstructureTechnical indicators
FMZ digest

The document explains recursive methods for tracking a sample mean and variance as observations arrive, then extends the discussion to exponentially weighted statistics. These updates keep the current estimates rather than the full history, which can reduce…

StatisticsTechnical indicatorsHigh-frequency trading
FMZ digest

The article explains cross-exchange cryptocurrency arbitrage based on temporary price differences. It proposes monitoring executable bid and ask prices, buying where the asset is cheaper and selling where it is dearer, then closing when the spread narrows.…

CryptoArbitrageExecutionMarket microstructure
FMZ digest

The document presents three rule-based trading templates and frames them as distinct ways to reason about markets: summarizing past prices, applying explicit intraday rules, and interpreting market positioning or expectations. The first template combines a…

Technical indicatorsFuturesBreakoutVolatility
FMZ digest

The article studies how cryptocurrency prices behaved after Binance began trading their perpetual contracts in 2023. It aligns four-hour closing-price data to each contract's first available observation, excludes contracts already listed at the start of the…

CryptoPerpetual futuresStatisticsBacktesting
FMZ digest

This installment designs the receiving side of a trade synchronization system. It explains how to pause copying through a strategy control and require a password to resume, and how to set a fixed order quantity or scale the quantity received in each signal.…

CryptoExecutionPosition sizingRisk management
FMZ digest

The article introduces intertemporal hedging by pairing a long position in one contract with a short position in another, then closing both when the combined result is favorable. It derives the basic spread relationship for a short in contract A and a long…

CryptoFuturesPerpetual futuresPairs trading
FMZ digest

The document describes translating a market heuristic about price-move size and the speed of KDJ’s J value into a crypto trading strategy. The proposed rules combine small or large price moves with fast or slow J-value changes to form long and short signals.…

CryptoTechnical indicatorsMomentumBacktesting
FMZ digest

The document explains Shannon’s Demon, a portfolio strategy that repeatedly rebalances between cash and a volatile asset. In a simplified random walk, the strategy can gain from price fluctuations even when the asset has no positive expected return. The…

CryptoVolatilityPortfolio constructionBacktesting
FMZ digest

This tutorial develops a multi-contract spread monitor and a grid-based hedge for crypto futures. It matches near and far contracts for the same underlying, calculates spread values from executable bid and ask quotes, and creates price levels around an…

CryptoFuturesArbitrageGrid trading
FMZ digest

This first-person account follows a beginner’s attempts to automate cryptocurrency trading, from configuring a third-party spot bot to using charting-platform signals for leveraged futures. The author describes being caught in altcoin losses after a broad…

CryptoRisk managementPosition sizingExecution
FMZ digest

The document explains Dual Thrust, a range-based breakout system that sets upper and lower trigger levels around a bar’s opening price. Its range is derived from rolling highs and lows of both highs, lows, and closes; separate multipliers determine how far…

CryptoFuturesBreakoutMomentum
FMZ digest

This analysis asks whether Binance-listed perpetual contracts keep rising after launch or tend to reverse. It uses four-hour Binance perpetual price data from 2023, measuring each newly listed coin’s prices against its first available price and averaging the…

CryptoPerpetual futuresStatisticsMarket microstructure
FMZ digest

This article recounts adapting an older FMZ market making strategy for Lighter, a decentralized exchange described as offering zero trading fees to regular traders. It explains the exchange account configuration at a high level and argues that lower fees…

CryptoMarket makingExecutionRisk management