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

5,922 documents

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 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 notebook turns stock-level predictions into validation portfolios. On each rebalance date, it sorts stocks by predicted return, buys the top group and shorts the bottom group, and assigns equal capital to every position. It applies this baseline across…

EquitiesMachine learningBacktestingPortfolio construction
Machine Learning for Trading

This source module builds catalog tables from experiment registries for model predictions and backtests. It defines reserved fields for provenance, identity, completion status, artifact availability, and metrics. The catalog carries multiple measures that…

BacktestingStatisticsRisk managementPortfolio construction
Machine Learning for Trading

This case study evaluates daily momentum and carry signals across a small, correlated universe of G10 spot currency pairs. Its workflow moves from feasibility checks and forward-return labels through engineered and model-based features, cross-validation,…

ForexMomentumCarryBacktesting
Machine Learning for Trading

This notebook turns a supply chain knowledge graph and institutional ownership filings into features for downstream financial modeling. From the company network it derives topology measures, supplier concentration, competitive exposure, and bottleneck…

EquitiesMachine learningFactor investingPortfolio construction
Machine Learning for Trading

This notebook brings an ETF case study’s registered backtests together into an uncertainty-aware strategy assessment. It reads performance measures with block-bootstrap confidence intervals and uses paired bootstraps to compare successive pipeline stages,…

BacktestingStatisticsPortfolio constructionFactor investing
Machine Learning for Trading

This notebook implements DeePM, an end-to-end portfolio policy for a diversified ETF universe. Its model combines temporal features, asset metadata, cross-sectional attention, and a macro graph prior that permits attention within asset classes and across…

Multi-assetPortfolio constructionMachine learningRisk management
Machine Learning for Trading

This case study turns stored model predictions for US stocks into long-short, equal-weight portfolios. It sweeps multiple entry schemes, each selecting the highest-ranked names for long positions and the lowest-ranked names for short positions, to examine…

US marketsEquitiesMachine learningBacktesting
Machine Learning for Trading

This document describes several ways to convert prediction scores into trading signals: fixed cutoffs, rolling per-asset percentiles, and cross-sectional percentiles. Fixed thresholds use a chosen score level; rolling thresholds adapt to an asset’s recent…

Machine learningPortfolio constructionPosition sizingBacktesting
Machine Learning for Trading

This document describes utilities for comparing registered trading strategies and assembling structured case-study assessments. A central ranking method restricts return series to their exact shared timestamps before calculating portfolio metrics, so each…

BacktestingRisk managementPortfolio constructionStatistics
Machine Learning for Trading

This chapter surveys methods for recovering common structure from return and characteristic panels, from PCA and eigenportfolios to IPCA, risk-premium PCA, conditional autoencoders, stochastic discount factor estimation, and supervised autoencoders. Its…

Factor investingMachine learningStatisticsPortfolio construction
Machine Learning for Trading

This notebook turns cross-sectional stock predictions into long-short portfolios by ranking stocks at each rebalance, buying the top k and shorting the bottom k with equal capital per position. Equal weighting provides a baseline that isolates differences in…

EquitiesMachine learningBacktestingPortfolio construction
Machine Learning for Trading

The document presents a machine-learning trading research workflow that carries ideas from data and feature construction through model training, backtesting, transaction costs, portfolio and risk decisions, deployment, and monitoring. It emphasizes an…

Machine learningBacktestingRisk managementPortfolio construction
Machine Learning for Trading

This notebook runs the already selected FX strategy specification against registered holdout predictions. It preserves the strategy’s signal, allocation, risk controls, rebalance rule, costs, and account settings; the prediction set and price-frame identity…

ForexBacktestingRisk managementPortfolio construction
Machine Learning for Trading

This notebook studies six allocation methods applied to selected crypto perpetual strategy configurations. The rankings and entry rules remain fixed while the capital assigned to each position changes. The methods use model scores, individual contract…

CryptoPerpetual futuresPosition sizingPortfolio construction
Machine Learning for Trading

This notebook compares equal weighting with two allocation rules for US firm characteristic strategies: score weighting, which assigns more capital to higher model predictions, and conformal weighting, which reduces capital for predictions with wider…

EquitiesPosition sizingPortfolio constructionBacktesting
Machine Learning for Trading

This notebook builds an end-to-end portfolio allocator that places a Temporal Fusion Transformer style variable-selection network ahead of an LSTM. Separate gated residual networks embed individual features, and learned soft weights combine those embeddings…

Machine learningPortfolio constructionPosition sizingVolatility
Machine Learning for Trading

This notebook presents Tail-GAN, a generative adversarial approach designed to reproduce financial scenario tail risk, especially value at risk (VaR) and expected shortfall (ES). It uses differentiable sorting so quantile-based risk measures can contribute…

Machine learningRisk managementStatisticsPortfolio construction
Machine Learning for Trading

This configuration module describes a framework for declaring backtest sweep settings per case study. It reads entry schemes, allocation methods, trading cost grids, and risk controls from setup files, with explicit errors when required configuration is…

BacktestingRisk managementPosition sizingPortfolio construction
Machine Learning for Trading

This chapter explains how to build and use financial knowledge graphs when questions depend on relationships such as ownership, supply chains, or contagion. It covers entity identity, typed relationship schemas, provenance, and LLM-assisted extraction from…

Machine learningEquitiesUS marketsPortfolio construction
Machine Learning for Trading

This notebook analyzes a portfolio of equity ETFs with CAPM and Fama-French factor regressions, then expands the analysis to rolling exposures, return attribution, and residual dependence. It uses aligned daily returns and factor data, estimates regression…

EquitiesFactor investingPortfolio constructionStatistics
Machine Learning for Trading

This implementation describes a neural stochastic discount factor model and an adversarial moment network for testing asset pricing relations. The SDF network maps asset characteristics, optionally combined with a macroeconomic regime representation from an…

Machine learningFactor investingStatisticsPortfolio construction
Machine Learning for Trading

This document describes a producer for paired performance comparisons across strategy-selection stages. It forms comparisons between signal selections and equal-weight references, between holdout and validation selections, and across allocation,…

StatisticsBacktestingRisk managementPortfolio construction