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 tutorial shows how to adapt a simple price-chasing strategy from one trading pair to several pairs managed by a single robot. Its buy and sell rules remain unchanged: it compares the latest price with a stored reference price and trades when the move…

CryptoMulti-assetMomentumExecution
FMZ digest

This tutorial describes how to route live WebSocket market data into an existing trading strategy without editing the strategy’s own code. It uses a reusable template library that runs initialization logic before the strategy, identifies the exchange…

ExecutionMarket microstructureCryptoSpot markets
FMZ digest

The document develops a rolling-position approach that reinvests realized profits into later trades to compound returns during trends. It outlines three decisions: how to enter, when to add another position after a take-profit, and when to stop. The example…

CryptoFuturesTrend followingTechnical indicators
FMZ digest

This chapter presents practical ways to refine a trading strategy before deployment. It recommends acting on real-time prices when a closing-price model delays entry or exit, while emphasizing that the benefit depends on the strategy’s logic. For parameter…

BacktestingTrend followingBreakoutTechnical indicators
FMZ digest

The document explains why candle-based backtests can mislead, especially for high-frequency and multi-instrument strategies. Candles omit the timing of trades and bid-ask quotes, making it hard to reconstruct simultaneous prices or realistic fills. They also…

BacktestingHigh-frequency tradingGrid tradingMarket microstructure
FMZ digest

The article proposes an automated workflow for finding relative-value baskets from a universe of instruments. It arranges log prices in a time-by-instrument matrix, uses singular value decomposition to estimate common movement and residual directions, and…

ArbitragePairs tradingStatisticsRisk management
FMZ digest

The document presents a daily pivot-point framework built from the prior session’s high, low, and close. It calculates a central pivot, three support levels, three resistance levels, and intermediate levels. The author interprets price behavior between the…

Technical indicatorsFuturesCryptoEquities
FMZ digest

This article walks through a backtest performance-analysis routine that takes starting assets, timestamped cumulative profits, the evaluation period, and a trading-year convention. It describes how the routine derives cumulative and annualized returns,…

BacktestingStatisticsRisk management
FMZ digest

The document explains Average True Range (ATR) as a measure of price movement and describes how Wilder associated high readings with panic-driven declines near market lows, and low readings with quieter consolidation or market tops. It presents the…

FuturesCommoditiesCryptoTechnical indicators
FMZ digest

The article proposes a relative-value strategy linking the South Korea ETF EWY with Samsung Electronics and SK Hynix. It explains why the author avoids trading the visible cash-equity versus perpetual-contract basis: trading-hour mismatches, currency…

EquitiesArbitragePairs tradingStatistics
FMZ digest

The article compares four logistic-regression update schedules for predicting the direction of the next bar: a fixed model, per-bar online updates, periodic rolling retraining, and updates triggered by deteriorating recent loss. The models share the same…

Machine learningStatisticsBacktestingExecution
FMZ digest

The article outlines a framework for running a strategy across several crypto perpetual contracts using a unified set of platform functions. It describes initializing per-symbol state, retrieving contract precision and market quotes, aggregating account and…

CryptoFuturesExecutionMarket microstructure
FMZ digest

The article presents a simple long-only strategy for crypto perpetual contracts. Starting from the current price, it places buy orders at fixed intervals below that level, increasing order size by a configured ratio as price falls. When a long position…

CryptoPerpetual futuresGrid tradingPosition sizing
FMZ digest

This document outlines a utility for collecting and monitoring perpetual futures funding rates across several exchanges. It assigns a worker thread to each platform, applies platform-specific request delays, and uses different retrieval methods depending on…

CryptoPerpetual futuresCarryMarket microstructure
FMZ digest

This document develops a daily trend indicator for crypto markets using the sequence of candle highs and lows. It classifies a bullish trend when both rise across consecutive days and a bearish trend when both fall. The process uses only completed daily…

CryptoTrend followingTechnical indicatorsBacktesting
FMZ digest

This document describes a monitoring tool that collects perpetual futures funding rates from several exchanges, stores results separately for each platform, and displays them in a shared table. Exchange-specific polling intervals and market lookup methods…

CryptoPerpetual futuresCarryMarket microstructure
FMZ digest

This article describes a system in which several AI models receive the same market information, make independent trading decisions, and trade in separate virtual portfolios. The system ranks them by realized profit and directs the live account to follow the…

CryptoMachine learningTechnical indicatorsExecution
FMZ digest

This article presents a simple cryptocurrency spot copy-trading bot that monitors one reference account and mirrors its trades in other accounts. Its detection method compares the reference account’s total base-asset holdings, including frozen balances, with…

CryptoSpot marketsExecution
FMZ digest

This educational article introduces dynamic delta hedging for cryptocurrency options. It reviews the main option sensitivities: delta to the underlying price, gamma to changes in delta, theta to time decay, and vega to implied volatility. The central method…

CryptoOptionsFuturesDerivatives pricing
FMZ digest

This article explains how to expand a single-pair cryptocurrency grid strategy into a multi-asset spot system. It outlines practical design needs: retrieving aggregated market data and account balances, assigning different grid intervals and order sizes to…

CryptoSpot marketsGrid tradingExecution
FMZ digest

This chapter explains how backtesting helps validate trading signals, check strategy logic, and uncover implementation defects, while warning that historical simulation is not a forecast of future returns. It describes several ways simulations can…

BacktestingRisk managementExecutionStatistics
FMZ digest

This article explains a JavaScript implementation of SuperTrend built from average true range and smoothed upper and lower bands. The indicator switches between bands as closing prices cross them, producing an upward or downward trend state. A sample…

CryptoFuturesTrend followingTechnical indicators
FMZ digest

This tutorial presents a beginner framework for testing factors across a universe of USDT perpetual futures. It starts with hourly price, volume, trade count, and aggressive-buy data, then describes factor evaluation through forward-return regressions,…

CryptoPerpetual futuresFactor investingBacktesting
FMZ digest

This article outlines a three-class SVM model that labels future price movement as up, down, or sideways. It describes candidate inputs from recent price changes, volatility, RSI, time of day, trade flow, and order-book depth, and discusses feature…

Machine learningStatisticsMarket microstructureBacktesting