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

715 documents

Machine Learning for Trading

This analysis compares validation predictions from several model families for perpetual futures funding. It explains that information coefficient measures the ranking of subsequent returns, AUC measures the ordering of up and down outcomes, and log loss…

CryptoPerpetual futuresMachine learningStatistics
Machine Learning for Trading

This case study assesses DeFi Llama total value locked data as a possible input to an Ether trading research pipeline. It separates signal strength, data quality, legal suitability, and commercial value, with legal issues and the lack of reconstructible…

CryptoDeFiOn-chain dataStatistics
Machine Learning for Trading

This notebook evaluates published factor returns as potential portfolio building blocks. It separates three questions: whether a factor’s average return clears a demanding statistical bar, whether factors diversify one another for reasons that may persist,…

Factor investingStatisticsPortfolio constructionRisk management
Machine Learning for Trading

This notebook compares risk overlays across case-study backtests, including stop, trailing-stop, loss-limit, drawdown-breaker, and volatility-target rules. It loads each study’s overlay results, selects a baseline from an allocation-stage backtest where…

Risk managementBacktestingPortfolio constructionStatistics
Machine Learning for Trading

This case study applies gradient-boosted trees to NASDAQ-100 microstructure features to forecast returns and direction at several intraday horizons. It contrasts trees with linear models: trees can discover conditional relationships, such as order-flow…

Machine learningMarket microstructureEquitiesStatistics
Machine Learning for Trading

This notebook assembles a forecasting system with four stages: a panel of research agents, probability aggregation, an adversarial debate, and a supervisor that identifies disagreements, searches for clarifying evidence, and issues a final probability. The…

Machine learningStatisticsRisk management
Machine Learning for Trading

This notebook compares deterministic relational retrieval with embedding search on a corpus of institutional 13F holdings. It creates a point-in-time snapshot by keeping each institution’s latest reported position before a fixed cutoff, then builds questions…

Machine learningEquitiesStatisticsBacktesting
Machine Learning for Trading

This notebook demonstrates training a generative adversarial network on engineered ETF features with differential privacy. It introduces the privacy parameters epsilon and delta, explains why DP-SGD clips each record’s gradient before aggregation and adds…

Machine learningStatisticsRisk managementEquities
Machine Learning for Trading

This notebook applies classical ordinary least squares inference to ETF features and forward returns. It reviews coefficient estimates, standard errors, t statistics, p values, and tests for heteroscedasticity, residual autocorrelation, non-normality, and…

EquitiesStatisticsRisk managementMachine learning
Machine Learning for Trading

This notebook compares time bars with tick, volume, dollar, imbalance, and run bars built from a single day of AAPL exchange trades. The first four sampling approaches group observations by elapsed time, trade count, shares traded, or notional traded.…

EquitiesMarket microstructureStatisticsTechnical indicators
Machine Learning for Trading

This notebook fits PatchTST, a transformer-style sequence model, as one member of a predeclared population of models for S&P 500 options research. It divides a lookback series into fixed-length patches, embeds them as tokens, and uses attention to relate…

OptionsMachine learningBacktestingStatistics
Machine Learning for Trading

This document defines two diagnostics for labels whose forward return windows overlap: pooled panel autocorrelation and effective sample size based on label uniqueness. Autocorrelation pairs observations only within the same entity and at the requested…

StatisticsMachine learningBacktesting
Machine Learning for Trading

This notebook shows how to use an estimation-window correlation network to describe an equity universe and build a network-diversified portfolio. It selects liquid symbols using only data available before evaluation, converts return correlations to…

EquitiesPortfolio constructionStatisticsRisk management
Machine Learning for Trading

This exploratory analysis examines the legacy Quandl WIKI US equities panel, focusing on price conventions, data coverage, and what its history can support in a backtest. It distinguishes raw prices, which reflect traded price levels, from adjusted prices…

EquitiesUS marketsStatisticsBacktesting
Machine Learning for Trading

This notebook treats a Sharpe ratio as an estimate with sampling uncertainty. It develops confidence intervals and probabilistic Sharpe calculations that account for sample length, skewness, and kurtosis, then uses minimum track record and power planning to…

StatisticsRisk managementBacktesting
Machine Learning for Trading

This notebook compares three ways to classify financial news sentences as positive, neutral, or negative: TF-IDF word and word-pair features with logistic regression, averaged pretrained GloVe vectors with logistic regression, and a pretrained FinBERT…

Machine learningSentimentStatistics
Machine Learning for Trading

This shared allocation module turns cross-sectional predictions into portfolio weights. It ranks assets by score to select long positions or top and bottom baskets for long-short portfolios. Position weights can reflect conformal prediction widths, where…

Portfolio constructionPosition sizingRisk managementStatistics
Machine Learning for Trading

This notebook constructs features from minute-level NASDAQ-100 data using three procedures: a rolling heterogeneous autoregressive regression for near-term variance forecasts, a Fourier transform to describe periodic structure in recent activity, and…

EquitiesVolatilityMachine learningStatistics
Machine Learning for Trading

This analysis uses NASDAQ TotalView-ITCH messages to describe venue activity and build a trade table linked to ticker, side, and order attributes. It counts message types, compares trading with the much more numerous quoting and removal events, and ranks…

EquitiesMarket microstructureExecutionStatistics
Machine Learning for Trading

This dataset guide describes a workflow for obtaining FRED series, aligning observations to a daily calendar, and loading selected indicators for analysis. The examples include Treasury yields, the 10-year minus 2-year spread, VIX, employment measures,…

Fixed incomeStatisticsRisk managementMulti-asset
Machine Learning for Trading

This notebook assesses whether a monthly long–short strategy based on firm characteristics can be studied with a released US firm panel. It checks the data encoding, how the available universe changes over time, whether each rebalance has enough firms to…

EquitiesFactor investingStatisticsBacktesting
Machine Learning for Trading

This notebook shows how to analyze a financial event graph without confusing when an event happened, when it became public, and when the graph pipeline extracted it. It loads timestamped 8-K relationships, measures disclosure and extraction delays, and…

Machine learningStatisticsBacktestingEvent-driven
Machine Learning for Trading

The document explains how double machine learning (DML) estimates whether buyer-initiated volume share affects future returns after accounting for spread, short-term volatility, and trailing returns. It residualizes both treatment and outcome against those…

EquitiesMarket microstructureStatisticsMachine learning