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

715 documents

Machine Learning for Trading

This notebook develops forward return labels for short at-the-money straddles on S&P 500 stocks. Since the daily panel’s nominal 30-day straddle represents a different contract each session, a shifted price series would mix instruments. The label instead…

OptionsVolatilityDerivatives pricingStatistics
Machine Learning for Trading

This notebook explains how to test whether events such as trading signals or announcements predict returns beyond a market benchmark. It demonstrates the workflow using momentum breakouts in liquid ETFs: estimate a market model from pre-event returns,…

StatisticsBacktestingMomentumBreakout
Machine Learning for Trading

This analysis compares feature-triage ledgers across nine trading case studies. It distinguishes Benjamini–Hochberg false-discovery-rate significance from a second route to a PROCEED decision, which combines a case-specific effect-size floor with fold sign…

StatisticsMachine learningBacktestingFactor investing
Machine Learning for Trading

This notebook fine-tunes three transformer checkpoints for three-class financial sentence sentiment and compares their accuracy, macro F1, confusion matrices, parameter counts, and training time. It uses a stratified train, validation, and test split of the…

Machine learningStatisticsSentimentBacktesting
Machine Learning for Trading

This document records a structured bull and bear debate about whether the Federal Reserve will raise its target rate during 2026. Three agents assess the question, with arguments drawing on Fed projections, inflation, labor-market conditions, forecasts from…

Fixed incomeUS marketsStatistics
Machine Learning for Trading

This notebook explains how to extract insider transactions from raw SEC Form 4 XML for equity research. It treats each transaction block as the unit of parsing, preserving the association among transaction code, date, share count, price, and direction. XML…

EquitiesUS marketsEvent-drivenStatistics
Machine Learning for Trading

This document introduces two latent-factor approaches for futures returns. Principal component analysis finds uncorrelated directions that explain the most return variation, while a neural stochastic discount factor seeks combinations related to the…

FuturesMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook describes slow-moving contextual features for daily trading decisions: accounting ratios, macroeconomic conditions, and calendar encodings. It outlines value and quality measures such as earnings yield, profitability, accruals, leverage, and…

EquitiesFactor investingStatisticsTechnical indicators
Machine Learning for Trading

This document explains how to build daily forward-return labels for ETFs using adjusted closing prices at the observation date and a later trading session. It creates a primary monthly-horizon label and a shorter weekly variant, with labels computed on each…

EquitiesMachine learningStatisticsMomentum
Machine Learning for Trading

This notebook compares split-conformal prediction, conformalized quantile regression, and adaptive conformal inference for forecasting ETF forward returns. In walk-forward folds, it trains on one subset, calibrates interval errors on another, and evaluates…

EquitiesMachine learningStatisticsRisk management
Machine Learning for Trading

This document describes ways to turn dated entity records into arrays for latent-factor case studies. One method keeps only entities that meet a coverage threshold learned from an eligibility dataset, producing a consistent entity axis with missing…

Factor investingPortfolio constructionStatistics
Machine Learning for Trading

The notebook studies whether order-book activity predicts near-term returns for NVDA. It builds a distance-weighted measure of book pressure from market-by-order adds, cancels, and fills, then smooths the signed activity to represent liquidity changes near…

EquitiesMarket microstructureExecutionStatistics
Machine Learning for Trading

This notebook inventories model-based feature columns across nine market case studies by reading Parquet schemas rather than loading full datasets. It excludes identifier fields, counts columns by market, and assigns feature families through tokens in their…

Machine learningStatisticsMulti-asset
Machine Learning for Trading

This notebook explains how searching across many factors or strategies inflates the apparent performance of the selected winner, even when individual estimates are computed correctly. A simulated set of noise factors illustrates that the largest information…

StatisticsFactor investingBacktestingRisk management
Machine Learning for Trading

This case study compares sequence models on an S&P 500 equity and options feature panel. It pairs an LSTM, which carries gated state through a lookback window, with an N-Linear baseline that removes the latest level and fits a linear mapping. The baseline…

EquitiesOptionsMachine learningBacktesting
Machine Learning for Trading

This notebook explains TimeGAN’s five-part architecture: an embedder and recovery network map between raw observations and latent space, a supervisor learns temporal transitions, and a generator and discriminator train adversarially. It describes staged…

Machine learningEquitiesStatisticsBacktesting
Machine Learning for Trading

This notebook compares gross and net Sharpe across strategy cost sweeps drawn from case-study backtests. For each deployed strategy configuration, it reads the assumed per-leg cost and rebalance cadence from recorded artifacts, interpolates Sharpe at the…

BacktestingRisk managementExecutionStatistics
Machine Learning for Trading

This record documents a multi-agent research run on whether the United States would enter a recession by the end of 2026 under a specified resolution rule based on consecutive quarterly GDP contractions or an NBER recession date. Three agents searched for…

StatisticsUS marketsMulti-asset
Machine Learning for Trading

This notebook converts rolling ETF return windows into two-channel images for a convolutional neural network. The Gramian Angular Summation Field rescales values within each window, maps them to angles, and records trigonometric relationships between pairs…

Machine learningStatisticsEquitiesBacktesting
Machine Learning for Trading

Risk-Premium PCA modifies the covariance matrix by adding a weighted outer product of the training mean-return vector. Its leading eigenvectors define static factor portfolios: ordinary PCA is recovered when the weight is zero, while positive weights tilt…

Factor investingStatisticsMachine learningBacktesting
Machine Learning for Trading

This notebook describes how to produce predictions for an untouched holdout period after choosing a configuration on validation data. It resolves the selected configuration, rebuilds its training specification for the holdout, and derives the training window…

EquitiesMachine learningBacktestingStatistics
Machine Learning for Trading

This notebook uses a Gaussian mixture model to group months by the joint behavior of nine factor and asset-class return series. It standardizes monthly observations, drops months with missing values, and compares candidate cluster counts using BIC, AIC, and…

Factor investingMachine learningStatisticsMulti-asset
Machine Learning for Trading

This notebook builds a forecasting agent that alternates between reasoning and actions in a ReAct loop. Its action space is deliberately small: the agent can search for evidence or submit a probability forecast. A shared two-method interface lets the loop…

Machine learningSentimentStatistics