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
WonderTrader
14 documents
Alphalens
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

The document describes a specialized backtest for a weekly S&P 500 options strategy. Each cohort selects highly ranked constituents, sells near-the-money call and put options with roughly a month to expiration, and delta-hedges with shares when net delta…

OptionsEquitiesUS marketsBacktesting
Machine Learning for Trading

The document presents GReaT, a framework that serializes rows of mixed numerical and categorical financial data as text, fine-tunes a language model on those records, and parses generated text back into tables. Its example builds ETF features from historical…

Machine learningEquitiesStatisticsBacktesting
Machine Learning for Trading

The document explains how uncertainty from a model can provide information beyond its point estimate. It contrasts GARCH, which defines volatility from past returns, with a stochastic volatility model that treats volatility as a latent autoregressive process…

VolatilityStatisticsMachine learningRisk management
Machine Learning for Trading

This cross-case analysis examines how predictive information, measured by information coefficient (IC), translates into portfolio Sharpe across nine trading case studies. Its central point is that implementation mediates the relationship: entry rules,…

Multi-assetStatisticsBacktestingPortfolio construction
Machine Learning for Trading

This notebook uses principal component analysis to represent the common movements in a broad US equities panel. PCA extracts directions that explain shared variation in returns; each stock’s loading measures its exposure to each direction. A prediction…

EquitiesUS marketsMachine learningStatistics
Machine Learning for Trading

This notebook evaluates security rules for a document-grounded financial assistant using six hand-built cases. The cases cover prompt injection, fabricated figures in untrusted material, attempted actions, and citations to content that was not retrieved. Two…

Machine learningRisk managementSentimentStatistics
Machine Learning for Trading

This notebook refits the FX configuration already selected by validation and registers its predictions for a later holdout backtest. It resolves the selection from solvent validation backtests, constrained to a frozen candidate set, then rebuilds the…

ForexBacktestingMachine learningRisk management
Machine Learning for Trading

This notebook presents a temporal convolutional network (TCN) for predicting ETF forward returns from sequences of trailing return features. Causal convolutions ensure an output uses only observations up to its date, while exponentially increasing dilation…

EquitiesMachine learningBacktestingStatistics
Machine Learning for Trading

This notebook explains tick and volume imbalance bars, then compares adaptive, fixed threshold, and rolling window approaches on NVDA trade data. Tick imbalance accumulates signed trade directions until a threshold is reached; the expected threshold depends…

EquitiesMarket microstructureStatisticsBacktesting
Machine Learning for Trading

This case study compares alternative position sizing methods for CME futures against an equal weight baseline. It explains how inverse volatility sizing uses each contract’s own volatility, while covariance based methods also account for relationships…

FuturesPosition sizingPortfolio constructionRisk management
Machine Learning for Trading

This notebook explains how to build a continuous futures price history from individual expiring contracts. It identifies front-month contracts using trading volume, applies a no-rollback constraint to avoid spurious switches, and compares calendar-based roll…

FuturesBacktestingExecutionMarket microstructure
Machine Learning for Trading

This notebook explains how to turn fitted GJR-GARCH and hidden Markov models into trading features while controlling look-ahead bias. GJR-GARCH estimates conditional volatility and captures the greater impact of negative return shocks; a two-state Gaussian…

CryptoPerpetual futuresVolatilityMachine learning
Machine Learning for Trading

This notebook surveys methods for finding changes in the process that generates a financial series, using daily SPY data as its example. It contrasts the Zivot–Andrews test, which estimates one break while testing for a unit root, with multiple-break…

StatisticsMachine learningTechnical indicatorsRisk management
Machine Learning for Trading

This notebook turns currency-pair prediction rankings into a traded baseline. At each decision time, it forms equal-sized long and short sleeves from the highest- and lowest-ranked pairs, then evaluates them with an FX backtest engine. Equal weighting is…

ForexPairs tradingBacktestingPortfolio construction
Machine Learning for Trading

This utility prepares prediction artifacts for live-demo notebooks by normalizing differing column names and date formats into a common timestamp, asset, and prediction structure. It groups duplicate timestamp-asset observations and averages their scores.…

Machine learningBacktestingStatistics
Machine Learning for Trading

This proof script exercises a reduced CME futures research workflow from model predictions through portfolio weights and backtesting. It checks that predictions cover exactly the expected product, timestamp, and fold keys, that fitted states and prediction…

FuturesBacktestingExecutionRisk management
Machine Learning for Trading

This notebook compares two Transformer designs for forecasting 21-day ETF returns from trailing momentum features. PatchTST groups consecutive days into patches, placing short sequences of local shape in each token. iTransformer instead treats each feature’s…

EquitiesMachine learningMomentumBacktesting
Machine Learning for Trading

This notebook trains a Skip-gram Word2Vec model on a small, sentiment-labeled financial news corpus and examines what its nearest neighbors reveal. The method represents words based on the contexts in which they appear. In the example, profit and loss become…

Machine learningSentimentStatistics
Machine Learning for Trading

This notebook sets out a descriptive way to translate gross returns into net performance by modeling trading frictions, financing, and fund expenses separately. Its parameterized cost stack calculates trading costs from turnover and trade size, financing…

EquitiesExecutionRisk managementBacktesting
Machine Learning for Trading

This document describes a workflow for collecting FRED Treasury yields and economic indicators, aligning series with different reporting frequencies to a daily calendar, and loading or filtering the resulting dataset. The indicators include Treasury rates…

Fixed incomeMulti-assetRisk managementStatistics
Machine Learning for Trading

This module describes a search interface for research agents, with a live provider and a deterministic mock provider. Searches can limit result counts and apply a publication-date cutoff, supporting point-in-time research by removing results dated on or…

Machine learningEvent-drivenBacktestingRisk management
Machine Learning for Trading

This module defines a differentiable objective for end-to-end portfolio learning. It turns bounded asset-level risk weights into portfolio exposures using volatility scaling, computes average gross returns over available assets, and optionally subtracts…

Machine learningPortfolio constructionRisk managementExecution
Machine Learning for Trading

This notebook analyzes reconstructed NASDAQ order books to describe intraday spreads and depth at the best bid and ask, then examines whether order flow imbalance is associated with the next bucket’s return. It expresses spreads in basis points to make costs…

EquitiesMarket microstructureExecutionStatistics
Machine Learning for Trading

This notebook explains how a conditional autoencoder extends instrumented PCA for ETF return modeling. Both methods map fund features to factor exposures and combine those exposures with factor returns; the autoencoder replaces IPCA’s linear…

EquitiesFactor investingMachine learningBacktesting