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

1,124 documents

Machine Learning for Trading

This notebook explains how a conditional autoencoder extends instrumented principal component analysis (IPCA): it retains the two-stage structure in which fund features map to latent factor exposures and those exposures combine with factor returns, but uses…

EquitiesFactor investingMachine learningStatistics
Machine Learning for Trading

This analysis compares predictive models for ranking NASDAQ-100 stocks by their next 15-minute return using intraday microstructure features such as spreads, depth imbalance, signed volume, and volatility. It emphasizes selecting comparable prediction sets…

EquitiesMarket microstructureMachine learningStatistics
Machine Learning for Trading

This notebook rehearses a deployment cycle for a crypto funding-rate direction model. It trains a LightGBM classifier on historical Binance-derived perpetual data, fetches live hourly bars and funding rates from OKX, computes the model's features, and…

CryptoPerpetual futuresMachine learningExecution
Machine Learning for Trading

This notebook compares sklearn HistGradientBoosting, XGBoost, LightGBM, and CatBoost for predicting forward ETF returns. It measures cross-sectional information coefficient, training time, and memory use across model-complexity presets, with GPU runs…

Machine learningEquitiesBacktestingStatistics
Machine Learning for Trading

This notebook explains how to parse IEX DEEP messages and maintain an aggregated limit order book at each price level. It extracts price-level updates, best bid and ask quotes, and trade reports, then uses the resulting data to examine spread and depth. The…

EquitiesMarket microstructureExecution
Machine Learning for Trading

This notebook tests whether standard portfolio allocation can improve an every-bar NASDAQ-100 trading strategy that is already burdened by transaction costs. It selects predictions using validation performance on the declared cost-feasible universe, then…

EquitiesPosition sizingPortfolio constructionExecution
Machine Learning for Trading

This notebook maps a family of ETF return models that infer common latent directions in a panel, with features used to estimate fund exposures. It distinguishes five approaches: unconditional principal components; instrumented PCA with a linear…

StatisticsMachine learningFactor investing
Machine Learning for Trading

This notebook explains how to design a search tool for a forecasting agent so evidence has a consistent structure, a traceable origin, and an auditable path into the model. A shared client protocol returns typed results across providers and includes a cutoff…

Machine learningBacktestingSentiment
Machine Learning for Trading

This notebook studies how position sizing affects FX backtests after the model has already selected which currency pairs to trade. It preserves the winning baseline’s predictions, signal mapping, costs, and execution settings, then varies allocation rules.…

ForexPosition sizingPortfolio constructionBacktesting
Machine Learning for Trading

This utility builds label artifacts for S&P 500 option straddles using the same symbol, strike, and expiration at entry and exit. It aligns feature dates to subsequent market sessions, constructs five- and ten-session exit dates, and joins call and put…

OptionsDerivatives pricingBacktestingRisk management
Machine Learning for Trading

This notebook applies position-level risk controls to leading ETF allocation combinations while keeping each underlying prediction, concentration, and allocator fixed. It compares stop-losses, trailing stops, and time exits with the original strategy,…

EquitiesRisk managementBacktestingPosition sizing
Machine Learning for Trading

This notebook explains how to build a cross-sectional futures feature matrix from three contract tenors per product. It derives carry and curve curvature from exchange-settled prices, while using roll-adjusted prices for return, momentum, and volatility…

FuturesCommoditiesCarryMomentum
Machine Learning for Trading

This notebook shows why searching across many signals or strategies makes the top observed result look stronger than its underlying predictive value. A simulation uses factors with no true information to illustrate how selecting the largest information…

StatisticsFactor investingBacktestingMachine learning
Machine Learning for Trading

This notebook explains how to turn a released, cross-sectionally ranked US firm characteristic panel into a keyed feature matrix for a factor study. It groups inputs into declared families, combines characteristics and interactions without fitting…

EquitiesFactor investingBacktestingStatistics
Machine Learning for Trading

The document describes how a trading research pipeline assesses whether latent-factor model fits completed in a usable state. For models trained by gradient descent, it checks that the final recorded training objective is finite; for the stochastic discount…

Machine learningFactor investingRisk management
Machine Learning for Trading

This US equities feature study explains how to generate features from estimated models without allowing future data into earlier observations. Its estimation schedule uses a history burn-in, fits parameters only on data before each output block, then…

EquitiesVolatilityTechnical indicatorsStatistics
Machine Learning for Trading

This notebook applies TSMixer to ETF sequences using one globally shared function across funds. Each example contains an individual fund's history and covariates; temporal and feature interactions are learned across the panel, but one fund's observations are…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook describes a stochastic discount factor (SDF) model for pricing the cross-section of US firm returns. Instead of first estimating factors and then applying them, it directly learns firm-month weights under a no-arbitrage condition: discounted…

EquitiesFactor investingMachine learningStatistics
Machine Learning for Trading

This notebook analyzes reconstructed NASDAQ limit order books to describe intraday spreads and top-of-book depth, then examine whether order-flow imbalance is associated with subsequent bucket returns. It expresses spreads in basis points to compare stocks…

Market microstructureEquitiesStatisticsExecution
Machine Learning for Trading

This notebook queries backtest registries across nine case studies and assembles comparable tables for downstream analysis. It organizes results by asset class and data frequency, then records performance across signal, allocation, cost, and risk stages,…

BacktestingStatisticsPortfolio constructionRisk management
Machine Learning for Trading

This notebook presents a deployment bridge between an offline machine-learning pipeline and QuantConnect's LEAN trading engine. It selects a model run reproducibly from a registry, exports its holdout predictions as date-indexed JSON, and uses a small…

Machine learningPortfolio constructionExecutionBacktesting
Machine Learning for Trading

This notebook evaluates four news-derived signals—weighted surprise, average sentiment, sentiment change, and article coverage—against forward stock returns. It computes a daily cross-sectional Spearman information coefficient, summarizes its mean,…

EquitiesSentimentStatisticsFactor investing
Machine Learning for Trading

This document describes fitting temporal convolutional networks to NASDAQ 100 minute level microstructure features. Causal convolutions prevent a prediction from using later observations, while dilation lets successive layers capture patterns over multiple…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

This analysis checks whether daily options and share data can support a weekly S&P 500 strategy that ranks constituents by thirty day at the money implied volatility and buys the highest ranked shares. Options provide the signal, while the portfolio holds…

EquitiesOptionsVolatilityBacktesting