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

243 documents

Machine Learning for Trading

This case study evaluates monthly long-short decile strategies built from US firm characteristics, comparing linear models, gradient boosting, and latent-factor approaches under point-in-time accounting lags, walk-forward validation, and era-dependent…

EquitiesUS marketsFactor investingMachine learning
Machine Learning for Trading

This notebook compares embedded, server-based, general-purpose, and trading-focused databases on financial time-series tasks: bulk writes, full scans, time-window queries, OHLCV aggregation, and trade-quote alignment. Its main lesson is that storage layout…

BacktestingStatisticsMarket microstructureExecution
Machine Learning for Trading

This analysis compares three ways to convert signed model return forecasts into binary positions: a fixed zero cutoff, a trailing percentile for each symbol, and a cross-sectional percentile across symbols. It applies the rules to registered validation…

Machine learningExecutionBacktestingCrypto
Machine Learning for Trading

This notebook demonstrates operational safeguards for live trading using a synthetic broker. It shows how an order is rejected when its market snapshot exceeds a configured age, and how an account-value decline can trigger a daily-loss kill switch. The loss…

Risk managementExecution
Machine Learning for Trading

This notebook measures how changing proportional transaction costs affects one validation-selected FX strategy per return label. It first selects a parent from signal, allocation, and risk-overlay candidates, then varies only the aggregate cost per traded…

ForexBacktestingExecutionRisk management
Machine Learning for Trading

This analysis explains how to read cross-sectional information coefficients (ICs) for CME futures models and how they relate to later portfolio tests. It computes each date’s rank correlation between predicted and realized returns, then averages those…

FuturesStatisticsMachine learningBacktesting
Machine Learning for Trading

This notebook assesses whether historical ETF data can support a monthly ranking strategy before any model or forecast is built. It checks point-in-time eligibility using prior-year liquidity, counts available funds on rebalance dates, converts per-share…

EquitiesBacktestingExecutionStatistics
Machine Learning for Trading

This notebook investigates why two backtesting engines can produce different results from identical signals. It holds a precomputed ETF strategy fixed, forms a deterministic portfolio from its predictions, and changes execution settings one at a time. The…

BacktestingExecutionMarket microstructurePosition sizing
Machine Learning for Trading

This notebook evaluates validation predictions derived from equity and options research by translating them into long-only equity portfolios. It uses an equal-weight top-K baseline, compares several portfolio concentrations, and follows the label-specific…

EquitiesOptionsBacktestingPortfolio construction
Machine Learning for Trading

This notebook uses NASDAQ ITCH-derived trades and order messages to illustrate market microstructure patterns. It examines negative first-order autocorrelation in tick-level trade-price returns, explaining how alternating trades at the bid and ask can create…

EquitiesMarket microstructureExecutionStatistics
Machine Learning for Trading

This notebook develops a simulated market-making task in which a PPO agent chooses quote skew and spread width. Fill probability declines as quotes move farther from the mid price, while order imbalance affects both fills and subsequent price moves. A…

Market makingMachine learningExecutionMarket microstructure
Machine Learning for Trading

This notebook checks whether the data can support a weekly, cross-sectional futures strategy before any model is fitted. It describes a design that ranks CME products, takes long positions in the highest-ranked contracts and short positions in the lowest,…

FuturesCommoditiesCarryExecution
Machine Learning for Trading

This notebook uses NASDAQ ITCH-derived trade records to examine intraday trading activity. It resamples individual trades into time bars and compares share volume, trade counts, last prices and volume-weighted prices for one ticker selected from each of…

EquitiesMarket microstructureExecutionStatistics
Machine Learning for Trading

This notebook explains how market impact grows with order size and uses the square-root participation model to frame strategy capacity. It distinguishes inputs available from market data, such as volatility and average daily volume, from the impact…

Market microstructureExecutionRisk managementPosition sizing
Machine Learning for Trading

This guide introduces two sources of US equity order book tick data for microstructure research: Databento market-by-order events and NASDAQ TotalView-ITCH messages. It describes their formats, coverage characteristics, approximate data sizes, and tradeoffs.…

EquitiesMarket microstructureExecutionUS markets
Machine Learning for Trading

This notebook trains a PPO agent to schedule a parent sell order across hourly perpetual-futures bars. It augments price and volume history with the perpetual premium and time to the next funding settlement, while lagging information that would not yet be…

CryptoPerpetual futuresExecutionBacktesting
Machine Learning for Trading

This notebook compares two methods for estimating bid-ask spreads when historical data contains daily open, high, low, close, and volume but no quotes. Corwin-Schultz separates spread from volatility by comparing daily and two-day high-low ranges, relying on…

Market microstructureExecutionStatisticsRisk management
Machine Learning for Trading

This module explains how to prepare historical S&P 500 prices when ticker symbols can refer to different securities over time. It applies corporate-action adjustment factors, tracks security identifiers, and marks identity boundaries. Return calculations are…

EquitiesUS marketsBacktestingExecution
Machine Learning for Trading

This notebook measures how an S&P 500 options strategy's validation performance changes under different assumed fractions of the quoted spread paid. It selects one baseline strategy per model family, then reruns each across spread-cost assumptions and both a…

OptionsExecutionBacktestingRisk management
Machine Learning for Trading

This document presents a reusable state machine for automated trading halts, with closed, open, and half-open states. It applies the same transition logic to four risks: account drawdown, daily loss, consecutive losing sessions, and system latency. After a…

Risk managementExecutionBacktesting
Machine Learning for Trading

This dataset guide compares two sources of US equity tick data for order book and market microstructure research. Databento market-by-order records provide preprocessed add, modify, cancel, and trade events, while NASDAQ ITCH supplies a raw exchange feed…

EquitiesMarket microstructureExecution
Machine Learning for Trading

This case study evaluates daily cross-sectional signals across a broad US stock universe and lays out a long research pipeline, from point-in-time data and engineered features through model comparison, portfolio construction, costs, and holdout assessment.…

EquitiesMachine learningMomentumMean reversion
Machine Learning for Trading

This module estimates parameters for simulated crypto markets used in reinforcement-learning environments. It loads hourly perpetual-market data for a selected symbol, computes close-to-close log returns, and fits a GARCH(1,1) volatility model. If the…

CryptoPerpetual futuresVolatilityMarket microstructure
Machine Learning for Trading

This document describes a Gymnasium environment for training an agent to liquidate a position over a fixed horizon. The observation combines remaining inventory and time with spread, market depth, volatility, and a normal or stressed regime. A continuous…

Machine learningExecutionMarket microstructureVolatility