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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

1,124 documents

Machine Learning for Trading

This notebook describes fitting PatchTST to one-minute NASDAQ-100 data to predict returns over several forward horizons. The model groups consecutive observations into patches and applies attention across them, reducing the number of items compared while…

EquitiesMachine learningBacktestingStatistics
Machine Learning for Trading

This notebook checks whether historical ETF data can support a monthly ranking strategy before fitting a model or making forecasts. It tests the tradable universe using prior-year liquidity, counts eligible funds on rebalance dates, converts per-share…

Multi-assetBacktestingExecutionRisk management
Machine Learning for Trading

This notebook compares ways to allocate capital across US equity positions while holding the model, checkpoint, rebalance dates, and selected stocks fixed. It examines weights based on prediction strength, prediction-interval width, individual stock…

EquitiesPosition sizingPortfolio constructionRisk management
Machine Learning for Trading

This notebook compares Polymarket’s crypto-settled event contracts with the regulated Kalshi venue as sources of alternative data. It explains how access rules, settlement assets, position limits, and listing policies shape which participants influence…

CryptoSentimentStatisticsEvent-driven
Machine Learning for Trading

This notebook explains an unconditional signature-based Wasserstein GAN for generating financial time series. It transforms returns into augmented paths, computes truncated path signatures, and trains an LSTM generator driven by Brownian noise to match…

Machine learningStatisticsEquitiesBacktesting
Machine Learning for Trading

This dataset guide presents Binance perpetual futures price and volume data alongside an eight-hour premium index. Hourly OHLCV records describe market activity, while the premium measures the difference between perpetual and spot prices relative to spot. A…

CryptoPerpetual futuresSpot marketsCarry
Machine Learning for Trading

This notebook evaluates stop losses, trailing stops, and fixed-duration exits on selected US equity strategies. A stop loss responds to losses from entry, a trailing stop responds to declines from a position’s peak, and a time exit closes after a set holding…

EquitiesRisk managementBacktestingPosition sizing
Machine Learning for Trading

This notebook demonstrates feature-drift checks on ETF momentum and technical features across calm and stressed windows, and on crypto perpetuals with premium-index data across market regimes. It compares Population Stability Index (PSI), including its…

Machine learningStatisticsRisk managementCrypto
Machine Learning for Trading

This notebook evaluates TSMixer as a global sequence model for an ETF panel. The model shares parameters across funds while using each fund’s own history and covariates; its mixing layers learn temporal and within-series relationships without combining one…

Machine learningEquitiesStatisticsBacktesting
Machine Learning for Trading

This notebook defines forward-return targets for a cross-sectional futures strategy that ranks products by term structure, going long those with stronger carry and short those with weaker carry. It distinguishes roll-adjusted prices, appropriate for…

FuturesCommoditiesCarryStatistics
Machine Learning for Trading

This notebook explains how to interpret Kalshi’s federal funds rate contracts and prepare their prices for quantitative research. A binary contract price represents an implied event probability, but the feed contains the highest standing YES bid rather than…

Fixed incomeStatisticsMarket microstructureArbitrage
Machine Learning for Trading

This notebook describes using TSMixer to predict stock returns from ordered windows of each stock’s features. Each example contains 60 consecutive sessions; windows that cross gaps in a stock’s history are excluded, so the number of usable examples varies…

EquitiesUS marketsMachine learningBacktesting
Machine Learning for Trading

This guide organizes US equity datasets into market data, company fundamentals, investor positioning, and firm characteristics. It inventories loaders for daily and intraday bars, options, and market microstructure records, as well as SEC filing text, XBRL…

EquitiesUS marketsMarket microstructureOptions
Machine Learning for Trading

This notebook turns validation predictions from multiple model families into equal-weight, long-short portfolios. It ranks stocks by predicted return, buys the top names and shorts the bottom names, and sweeps several portfolio concentrations using a shared…

EquitiesUS marketsBacktestingPortfolio construction
Machine Learning for Trading

This notebook compares equity and futures commission models alongside several slippage models, emphasizing that their units and assumptions differ. Percentage fees stay constant as a share of notional, while minimums, fixed charges, per-share fees, and tier…

ExecutionBacktestingMarket microstructureRisk management
Machine Learning for Trading

This document describes training a Proximal Policy Optimization agent to liquidate a fixed order over a defined horizon. It evaluates the learned pacing policy against TWAP and an Almgren-Chriss schedule using the same simulated market paths, enabling paired…

CryptoExecutionMarket microstructure
Machine Learning for Trading

This document presents a staged process for linking company names from filings, news, and alternative data to securities. It distinguishes entity identifiers such as CIK and LEI from security identifiers such as FIGI, CUSIP, and ISIN, and explains why…

EquitiesMachine learningStatistics
Machine Learning for Trading

This document explains a supervised autoencoder factor model for predicting stock returns in an equity option analytics research setting. Unlike PCA, IPCA, and an unsupervised conditional autoencoder, its training objective combines reconstruction of the…

EquitiesMachine learningFactor investingStatistics
Machine Learning for Trading

This document describes a fixed out-of-sample backtest for a selected CME futures strategy. The configuration, predictions, allocator, rebalance cadence, concentration, and transaction-cost assumptions are inherited from earlier research steps and applied…

FuturesBacktestingStatisticsRisk management
Machine Learning for Trading

This notebook studies linear prediction models for a cross-section of CME futures products using feature columns grouped into related families, including carry, momentum, volatility, and rolling risk measures. Because columns within a family are often…

FuturesMachine learningFactor investingStatistics
Machine Learning for Trading

This educational analysis compares four neural network designs on the same task: predicting the next daily return from a recent window of returns. A pooled set of eight exchange-traded funds provides varied market exposures. The models differ in how they…

EquitiesMachine learningBacktestingRisk management
Machine Learning for Trading

This notebook audits the complete set of canonical validation predictions for an FX pairs study. It checks model identity, artifact availability, completeness, configured-label coverage, and whether the assembled configurations match the declared menu.…

ForexMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook audits the registered validation predictions for an FX pairs study. It checks that the catalog includes the configured model population, complete prediction sets, available artifacts, and current model identities. It then summarizes predictive…

ForexMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook measures how well the Lee-Ready method infers trade aggressor direction using Nasdaq order-by-order messages with venue-provided aggressor labels as ground truth. It reconstructs the limit order book from adds, modifications, cancellations,…

EquitiesMarket microstructureExecutionStatistics