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

742 documents

Machine Learning for Trading

This notebook builds fitted-model features from foreign-exchange price histories, complementing indicators calculated directly from past prices. It describes three approaches: a state-space filter that estimates a slowly changing price level and related…

ForexMachine learningStatisticsTechnical indicators
Machine Learning for Trading

This notebook compares portfolio weighting rules for an S&P 500 options strategy that sells straddles. It holds the selected symbols and other strategy settings fixed while replacing the equal-weight baseline with allocators that use either model predictions…

OptionsEquitiesPortfolio constructionPosition sizing
Machine Learning for Trading

This notebook measures how execution costs affect the already selected crypto perpetuals configuration. It holds the model, checkpoint, entry rule, allocator, and risk control fixed, then reruns the strategy across a declared grid of round-trip charges on…

CryptoPerpetual futuresBacktestingExecution
Machine Learning for Trading

This notebook describes a workflow for turning S&P 500 companies’ quarterly MD&A disclosures into trading features. It uses filing acceptance dates as the point-in-time anchor, collapses multiple filings for a company on the same date to the latest period,…

EquitiesMachine learningSentimentStatistics
Machine Learning for Trading

This chapter surveys deep learning for time series through a practical question: when does observation order contain information that cross-sectional prediction misses, and which model designs can use it? It covers recurrent networks and their sequential…

Machine learningStatisticsBacktestingRisk management
Machine Learning for Trading

This read-only analysis brings validation predictions from several model families together to assess whether they are complete, how well they rank stocks, whether ranking skill persists across folds, and whether apparently similar models contribute distinct…

EquitiesStatisticsRisk managementBacktesting
Machine Learning for Trading

This notebook applies TabM, a tabular neural architecture that shares a two-layer feature network across ensemble members. Each member scales the shared representation with its own learned vector and uses its own output layer; averaging member predictions…

OptionsMachine learningBacktestingStatistics
Machine Learning for Trading

This notebook explains risk-premium PCA, which modifies the return covariance matrix by adding a weighted outer product of the training-period mean returns. Its leading eigenvectors define static factor portfolios; raising the weight tilts the factors toward…

Factor investingStatisticsPortfolio constructionBacktesting
Machine Learning for Trading

This notebook describes producing an out-of-sample prediction set for a previously selected S&P 500 options model. It fixes the configuration using validation results, refits that configuration on pre-holdout data, and registers predictions for the holdout…

OptionsBacktestingRisk management
Machine Learning for Trading

This notebook tests a two-model exit design on hourly BTC, ETH, and SOL perpetual data. An entry classifier identifies unusually strong forward returns; its predicted probability then joins technical features in a separate model that estimates whether the…

CryptoPerpetual futuresMachine learningBacktesting
Machine Learning for Trading

This document describes dataset utilities for preparing time-series panels for model training and rolling inference. The training dataset returns sliding sequences of features, forward returns, volatility scales, and masks, with configurable sequence length,…

Machine learningBacktestingPortfolio constructionExecution
Machine Learning for Trading

This notebook builds price-derived features for ranking a broad US stock universe. It describes momentum, volatility, moving-average, and technical-indicator families, then evaluates them against a one-session forward-return label. Its central design rule is…

EquitiesUS marketsTechnical indicatorsMomentum
Machine Learning for Trading

This chapter presents risk management as part of strategy design and live operations. It covers tail risk measurement with value at risk and conditional value at risk, drawdown depth and recovery, exposure decomposition, stress testing, adaptive controls,…

Risk managementVolatilityBacktestingPortfolio construction
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 position-level exits on crypto perpetual futures positions selected by an earlier allocation stage. It defines fixed loss stops, trailing stops tied to each position’s best price, and time exits after a set holding period. The…

CryptoPerpetual futuresRisk managementBacktesting
Machine Learning for Trading

This case study configures an LSTM model for forecasting FX-pair labels. It contrasts the recurrent model’s carried hidden state with fixed lookback transformations and convolutional receptive fields, while deferring comparisons with other models to a…

ForexMachine learningBacktesting
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 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 estimates how execution costs can erode hypothetical intraday strategy returns. It first measures volume-weighted quoted spreads across NASDAQ-100 constituents using minute-bar quotes, then uses the median constituent spread as an empirical…

EquitiesExecutionMarket microstructureBacktesting
Machine Learning for Trading

This notebook traces ETF ranking signals through portfolio formation and a simplified backtest. Ridge regression and logistic classification are trained with walk-forward splits, then compared with momentum and equal-weight portfolios. At monthly rebalances,…

EquitiesMachine learningBacktestingExecution
Machine Learning for Trading

This notebook shows how to tune stop-loss, take-profit, and trailing-stop rules for a momentum portfolio while preserving a chronological holdout. It compares one-dimensional parameter sweeps, joint rule grids, and stop or target priors derived from…

Risk managementBacktestingPosition sizingMomentum
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