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

1,124 documents

Machine Learning for Trading

This notebook aggregates existing walk-forward model results across financial case studies to compare LSTM, NLinear, TSMixer, TCN, and PatchTST with linear, gradient-boosted, and tabular neural-network baselines. Its main measure is average daily Spearman…

Machine learningStatisticsBacktesting
Machine Learning for Trading

This notebook examines whether published investment factors offer credible return premia and diversify one another. It draws on long-history and cross-asset series from AQR alongside Fama-French equity factors, using serial-correlation-aware statistics and a…

Factor investingStatisticsPortfolio constructionRisk management
Machine Learning for Trading

This shared analysis module describes ways to estimate trading frictions across asset classes. It includes high-low and return-autocovariance estimators for bid-ask spreads, rolling average volume measures, and regression approaches for calibrating…

ExecutionMarket microstructureRisk managementBacktesting
Machine Learning for Trading

This notebook treats total value locked as alternative data and evaluates the hypothesis that DeFi capital conditions can help predict ether returns. It defines TVL as the dollar value of crypto assets deposited in protocols, then emphasizes that it is a…

CryptoOn-chain dataDeFiStatistics
Machine Learning for Trading

This notebook examines why a model’s information coefficient does not determine the Sharpe ratio of a strategy built from its predictions. Across a set of case studies, it compares signal rankings with backtest outcomes and considers how entry rules,…

BacktestingMachine learningStatisticsRisk management
Machine Learning for Trading

This notebook implements a daily educational adaptation of an adversarial stochastic discount factor model. A portfolio-weight network constructs a factor from next-day excess returns using characteristics and market state available at the prior close. An…

EquitiesMachine learningStatisticsFactor investing
Machine Learning for Trading

This analysis assesses whether selected trading signals appear reliable by comparing information coefficient (IC) evidence with the Sharpe ratios produced after predictions are converted into positions. It aggregates model-family results across asset…

Machine learningStatisticsBacktestingPortfolio construction
Machine Learning for Trading

This notebook aggregates previously run walk-forward results to compare LSTM, NLinear, TSMixer, TCN, and PatchTST across case studies, alongside linear, gradient-boosted, and TabM baselines. It reports average daily Spearman information coefficients with HAC…

Machine learningStatisticsBacktesting
Machine Learning for Trading

This feasibility analysis asks whether the data and assumptions for a weekly, delta-hedged short-straddle strategy on S&P 500 constituents are plausible before fitting a model. It explains how calls and puts at the same strike and expiration form a straddle,…

OptionsVolatilityRisk managementBacktesting
Machine Learning for Trading

This exploratory notebook profiles hourly CME futures data across products and asset classes, using the E-mini S&P 500 as an example. It explains the hierarchy from product to expiring contract to continuous series, summarizes coverage windows, and checks…

FuturesStatisticsBacktestingMarket microstructure
Machine Learning for Trading

This notebook compares portfolio weighting rules for selling straddles on selected S&P 500 symbols. It holds the chosen symbols constant and varies allocation, using equal weight as the baseline. The methods include weighting by predicted score, inverse…

OptionsPortfolio constructionPosition sizingBacktesting
Machine Learning for Trading

This notebook tests how a selected US firm characteristics strategy responds when its transaction cost assumption changes. It holds the strategy configuration fixed and reruns validation backtests across a declared grid of commission and slippage levels,…

EquitiesExecutionBacktestingRisk management
Machine Learning for Trading

The notebook previews S&P 100 10-K and 8-K filings intended as inputs to a financial knowledge graph. It describes schema checks for required fields, unique company and accession keys, consistent form labels, year alignment, and text-length metadata. Annual…

EquitiesMachine learningStatistics
Machine Learning for Trading

This document describes a reader-facing interface for examining backtest results stored in a registry. It supports summaries of run counts, inspection of specifications and individual runs, ranking results, comparing allocation methods, viewing concentration…

BacktestingStatisticsPortfolio constructionMachine learning
Machine Learning for Trading

This notebook runs a fixed equity-characteristics strategy on a reserved holdout period using predictions and a portfolio allocator selected earlier. It keeps the configuration, position sizing, concentration, rebalance cadence, and cost assumption…

EquitiesFactor investingBacktestingPosition sizing
Machine Learning for Trading

This environment models a market maker that adjusts quote center and spread in response to inventory, volatility, and a discrete action choice. Synthetic prices use conditional volatility generated with a GARCH process, while order imbalance evolves over…

Market makingMarket microstructureVolatilityRisk management
Machine Learning for Trading

This notebook analyzes timestamped financial event edges from a knowledge graph, distinguishing when an event happened, when it became public, and when the extraction pipeline created the edge. It calculates disclosure and extraction lags, builds snapshots…

Machine learningStatisticsBacktestingEvent-driven
Machine Learning for Trading

This notebook develops a unit-aware framework for estimating trading costs across equities, crypto perpetuals, futures, ETFs, and foreign exchange. It distinguishes share volume, contract volume, base-asset volume, and price-update counts, converting…

ExecutionMarket microstructureRisk managementBacktesting
Machine Learning for Trading

This chapter review describes a hypothesis-driven process for defining trading strategies before backtesting. It connects documented data assumptions and immutable configuration to exploratory analysis, event studies, and a structured strategy term sheet.…

MomentumMean reversionStatisticsBacktesting
Machine Learning for Trading

This notebook explains how futures contract specifications affect backtest accounting. It shows how the contract multiplier converts price moves into dollar P&L, how price times multiplier determines notional value for sizing, and why per-contract…

FuturesCommoditiesMomentumPosition sizing
Machine Learning for Trading

This notebook trains a vanilla autoencoder on hourly returns for a basket of crypto perpetual markets. Returns are standardized using the training period, and a neural network compresses the multi-asset input into a two-dimensional latent representation…

CryptoMachine learningStatisticsVolatility
Machine Learning for Trading

This notebook compares reference ETF portfolios under historical crises, hand-defined simultaneous asset shocks, and Monte Carlo loss scenarios. Historical windows include major equity and rate-driven selloffs, with portfolio returns compounded over explicit…

Multi-assetPortfolio constructionRisk managementVolatility
Machine Learning for Trading

This case study assesses a weekly S&P 500 options short straddle using registered backtests. It selects a configuration from a nominated liquid universe, ranks candidates on validation, and evaluates the chosen configuration on holdout data without using…

OptionsEquitiesBacktestingRisk management
Machine Learning for Trading

The document describes a shared analysis workflow for comparing model configurations across case studies. It first selects one configuration per case study, then derives fold-level and cross-study summaries from that selection so later analyses use a…

Machine learningStatisticsBacktesting