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
WonderTrader
14 documents
Alphalens
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

219 documents

Stratmill research code

This document presents a C-vine copula method for statistical arbitrage across a cohort of stocks. It transforms daily returns into uniform pseudo-observations using empirical cumulative distributions, selects a C-vine structure by fitting candidates and…

EquitiesMean reversionArbitrageStatistics
Stratmill research code

This document is a tabular reference of S&P 500 companies. Its rows pair ticker symbols and company names with GICS sector and sub-industry classifications, headquarters, index entry dates, SEC identifiers, and founding information. It can help researchers…

EquitiesUS markets
Stratmill research code

This Python class appends expanded values to a tabular dataset using polynomial bases or feature products. Its available polynomial families are Chebyshev, Legendre, Laguerre, and ordinary powers; the requested degree controls how many orders are generated.…

Machine learningStatistics
Stratmill research code

This code provides helper measures for selecting groups of four stocks as candidate partners in a vine copula workflow. One traditional method chooses the quadruple with the greatest sum of pairwise correlations. Other methods operate on empirical ranked…

EquitiesStatisticsPortfolio constructionPairs trading
Stratmill research code

This data-preparation module builds time-series inputs for a deep-learning momentum model. It reads close prices, clips extreme values using an exponentially weighted mean and standard deviation, then derives daily returns and volatility. The target is a…

Machine learningMomentumVolatilityTechnical indicators
Stratmill research code

This document explains how a Kalman filter can update a pair’s hedge ratio over time, avoiding the need to choose a fixed lookback window or a manually selected observation-weighting scheme. It models one asset’s price as a linear function of the other, with…

Pairs tradingMean reversionStatisticsMarket microstructure
Stratmill research code

This note presents a basic stock-selection filter for shares whose codes begin with 60. It requires the daily high-low range to exceed one percent of the prior close and yesterday’s trading value to exceed a stated threshold. The document interprets the…

EquitiesChina marketsVolatilityTechnical indicators
Stratmill research code

The code excerpt outlines a Rust live-trading bot builder and event-processing loop. A builder registers instruments with connector and symbol details, tick and lot sizes, and market-depth storage; it can also attach error handlers and order-response hooks…

ExecutionMarket microstructureHigh-frequency trading
Stratmill research code

This technical guide models a positive mean-reverting portfolio as the exponential of an Ornstein–Uhlenbeck process. It fits the model by maximizing average log-likelihood, selecting the portfolio asset ratio that produces the best fit. The model parameters…

Mean reversionPairs tradingStatisticsRisk management
Stratmill research code

The document introduces the Commodity Channel Index (CCI), describing it as a statistical technical indicator that compares price movement with a typical range. It notes that the indicator was first used in futures analysis and later applied to equities. CCI…

Technical indicatorsStatisticsEquitiesFutures
Stratmill research code

This document explains the role of a connector in an algorithmic trading system: it provides a communication point between bots and exchanges, brokers, or market-data providers. A system can manage multiple bots, and each bot can connect to several…

FuturesExecutionHigh-frequency tradingMarket microstructure
Stratmill research code

The document recommends plotting live and backtested equity, positions, strategy signals, and order prices together as an initial way to locate discrepancies. If the strategy logic is implemented consistently, it identifies latency and queue modeling as…

BacktestingExecutionMarket microstructureHigh-frequency trading
Stratmill research code

This document presents a partial Python implementation of an Alpha101-style factor library. Its functions combine price and volume data using rolling ranks, correlations, covariance, moving averages, standard deviations, price changes, and volume averages.…

EquitiesFactor investingTechnical indicatorsStatistics
Stratmill research code

The document implements an H-construction approach for analyzing price series, based on a cited study of statistical variability in spreads. It converts a series into Kagi-like turning points or Renko-like threshold steps. The H-inversion statistic counts…

Pairs tradingStatisticsMean reversionMomentum
Stratmill research code

The H-strategy uses Renko or Kagi turning points to study how far a price or spread typically moves before reversing. It defines an H threshold, marks extrema and the later times when a move of that size confirms a turn, then measures the count of reversals,…

Pairs tradingMean reversionMomentumVolatility
Stratmill research code

These release notes describe Hummingbot 1.14.0, including new centralized and decentralized exchange connectors, documentation changes, and updates to bot orchestration and execution components. The trading-related changes include a KuCoin perpetual…

CryptoPerpetual futuresSpot marketsExecution
Stratmill research code

The document explains an optimal-transport approach to measuring dependence between asset return series. It first transforms observations into empirical copula coordinates using normalized ranks, which removes marginal scales while retaining dependence…

StatisticsMulti-assetRisk managementPortfolio construction
Stratmill research code

This documentation explains the event record format used by a high-frequency backtesting system and how to validate timestamps in market data. Each record stores an event type, exchange and local timestamps, price, quantity, and optional order or extra…

High-frequency tradingMarket microstructureBacktestingCrypto
Stratmill research code

This overview introduces the Transformer architecture from the paper “Attention Is All You Need.” Earlier sequence-to-sequence systems commonly used recurrent or convolutional networks, often combined with attention. The Transformer instead relies on…

Machine learningStatistics
Stratmill research code

This code presents discretized mutual information (MI) and variation of information (VI) measures for comparing two data series. When the user does not supply a bin count, it estimates one from the observation count and, for the bivariate case, the…

StatisticsTechnical indicators
Stratmill research code

This document describes a Generic Non-Parametric Representation distance for comparing two financial series. It combines a distribution-distance component with a dependence component, with a parameter controlling their relative contribution. The dependence…

StatisticsPairs tradingPortfolio construction
Stratmill research code

This HftBacktest documentation explains how exchange fill rules and queue-position assumptions shape market-data replay backtests. It contrasts a default model that fills orders completely with an alternative that allows partial fills when a trade reaches an…

BacktestingExecutionMarket microstructureHigh-frequency trading
Stratmill research code

This document explains a stochastic-control approach to trading two cointegrated assets whose log-price spread is modeled as a stationary process. A mean-reverting spread represents relative mispricing, while a market index and a risk-free asset capture…

Pairs tradingArbitragePortfolio constructionRisk management
Stratmill research code

This report summary explains a rules-based forecast of constituent changes for four major mainland China equity indexes: the CSI 300, CSI 100, SSE 180, and SSE 50. It uses each index provider’s published construction rules and market and financial data…

EquitiesChina marketsEvent-drivenBacktesting