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

122 documents

FMZ digest

The document examines Bitcoin return distributions and volatility, then outlines a modeling workflow using ARMA for returns and EGARCH for conditional volatility. It calculates log returns from closing prices and discusses descriptive statistics, quantile…

CryptoVolatilityStatisticsBacktesting
FMZ digest

This tutorial develops a pairs trading approach around the idea that two related assets may have a stable long-run relationship even as their prices temporarily diverge. It distinguishes cointegration from correlation, uses a cointegration test to screen…

Pairs tradingMean reversionStatisticsBacktesting
FMZ digest

This tutorial outlines a data-mining approach to machine-learning signals, contrasting it with strategies that begin from an explicit market inefficiency such as trend following or mean reversion. It recommends defining the prediction target and evaluation…

Machine learningStatisticsBacktestingExecution
FMZ digest

The article describes a workflow for finding tokens held across wallets associated with holders of a successful project. It automates collection of leading BSC token holders, filters out likely institutions and large project wallets, queries remaining…

CryptoOn-chain dataStatisticsRisk management
FMZ digest

This tutorial develops an intraday pairs-trading example using SPY and IWM minute bars. It aligns the two price series, estimates a rolling linear-regression hedge ratio, forms a spread, and standardizes that spread as a z-score. The example opens a long…

EquitiesPairs tradingMean reversionStatistics
FMZ digest

The article introduces Markowitz modern portfolio theory as a framework for choosing asset weights by balancing expected return and risk. It explains that portfolio risk depends not only on each asset’s volatility but also on covariance between assets, so…

Multi-assetPortfolio constructionStatisticsRisk management
FMZ digest

This tutorial explains how to retrieve a specified number of historical bars when an exchange API limits the amount returned by a single request. Its example targets Binance futures: map supported bar durations to exchange intervals, request successive time…

FuturesBacktestingStatistics
FMZ digest

This article explains two signals derived from limit order books: volume imbalance at the best bid and ask, and order flow imbalance based on changes in displayed size and quote prices. The first compares the quantities resting at the best buy and sell…

Market microstructureStatisticsHigh-frequency trading
FMZ digest

This article studies whether crypto assets that move more closely with Bitcoin perform differently from less correlated coins. It explains Pearson correlation as a measure of linear co-movement, then describes collecting four-hour Binance futures prices for…

CryptoStatisticsPairs tradingMomentum
FMZ digest

This article outlines a way to screen cryptocurrencies for grid trading, which seeks to trade repeated price swings rather than rely on a sustained directional move. It proposes looking for assets with substantial price ranges and restrained cumulative…

CryptoGrid tradingStatisticsSpot markets
FMZ digest

This guide extends a market data collector so FMZ’s backtest system can request historical bars from a custom source. The collector stores exchange K-line data in MongoDB while a small HTTP service runs alongside it. When the backtester requests data for a…

BacktestingStatisticsExecution
FMZ digest

This article describes a workflow for finding tokens held across wallets associated with early holders of a successful BSC project. It automates the manual process of collecting top holders, excluding labeled institutions and large project wallets, querying…

CryptoOn-chain dataStatisticsRisk management
FMZ digest

This introduction contrasts subjective trading, where a trader interprets signals and may change methods after losses, with quantitative trading, where rules are applied consistently and strategies are evaluated with historical data. It presents…

BacktestingStatisticsRisk management
FMZ digest

The document explains how to combine existing candles into a larger target interval when an exchange or data source does not provide that interval. Its example infers the source interval from the final two records, checks that the requested interval is an…

BacktestingStatistics
FMZ digest

This introductory course explains quantitative trading as the use of rules, data, and computation to research and execute investment decisions. It contrasts systematic execution with discretionary judgment, while emphasizing that automation is a tool and…

StatisticsBacktestingRisk managementPosition sizing
FMZ digest

This article describes a quantitative prediction workflow that turns each recent candlestick window into a tabular sample for TabFM, a foundation model for tabular data. Each row contains OHLCV values from completed bars, arranged as lagged fields, and the…

CryptoMachine learningStatisticsBacktesting
FMZ digest

The document compares China’s commodity futures CTP interface with cryptocurrency exchange APIs. It covers historical data availability, communication patterns, market depth and trade reporting, request limits, and operational reliability. CTP generally…

FuturesCryptoMarket microstructureExecution
FMZ digest

The paper develops a framework for assessing high-frequency trading returns by separating four contributors: available price opportunity, the fraction captured by a strategy, effective spread paid or earned, and liquidity-provider rebates. It compares three…

High-frequency tradingMarket microstructureExecutionStatistics
FMZ digest

This document explains a statistical arbitrage approach that trades two correlated cryptocurrencies when their price ratio moves away from a reference level. It describes taking opposite positions in the two assets and closing or adjusting them as the ratio…

CryptoPairs tradingMean reversionStatistics
FMZ digest

The document explains why a profitable historical backtest may fail in live markets, especially when a strategy is tuned and judged on the same limited sample. It recommends splitting chronological price history into an earlier training segment for parameter…

BacktestingStatisticsMachine learningRisk management
FMZ digest

The article explains a backtest performance function that turns starting capital, cumulative profit observations, timestamps, and annual trading days into total and annualized returns, Sharpe ratio, volatility, maximum drawdown, and win rate. It walks…

BacktestingStatisticsRisk management
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

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

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