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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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 utility constructs a Boolean asset-to-asset adjacency matrix from asset group labels and optional links between groups. Assets assigned to the same macro group are connected to one another, and each supplied cross-group edge connects all members of both…

Multi-assetMachine learningPortfolio construction
Machine Learning for Trading

This notebook describes how to evaluate a selected crypto perpetual funding strategy on a later holdout period. It reuses predictions generated from training data ending before the holdout, carries the chosen signal, allocation method, and exit overlay…

CryptoPerpetual futuresCarryBacktesting
Machine Learning for Trading

This notebook uses correlation-based principal component analysis on sector ETF returns to describe common risk factors and sector rotation. Standardizing returns gives each sector unit variance before decomposition, reducing the chance that a more volatile…

EquitiesFactor investingStatisticsPortfolio construction
Machine Learning for Trading

This exploratory analysis profiles a daily panel of exchange-traded funds across nine groups. It checks symbol coverage through time, compares the panel against the classification dictionary, reviews nulls and zero-volume observations, and evaluates…

EquitiesPortfolio constructionExecutionRisk management
Machine Learning for Trading

This analysis applies correlation-based principal component analysis to returns from sector exchange-traded funds. Standardizing returns before decomposition gives each sector unit variance, so the leading components describe co-movement rather than being…

EquitiesFactor investingStatisticsPortfolio construction
Machine Learning for Trading

This document describes implementation principles for a shared backtest runner and focuses on interpreting return grids correctly when annualizing performance. It estimates the observed sampling frequency from typical gaps between return observations,…

BacktestingRisk managementStatisticsPortfolio construction
Machine Learning for Trading

This experiment combines validation predictions from a gradient-boosted tree model, a tabular neural network, and a latent-factor model for monthly ETF ranking. It first standardizes predictions cross-sectionally with z-scores, then averages them. The…

Multi-assetMachine learningStatisticsBacktesting
Machine Learning for Trading

This tutorial turns ETF cross-sectional signals into long-only, equal-weight top-ten portfolios and compares Ridge regression and logistic classification with momentum and equal-weight baselines. Models are fitted on walk-forward training windows, with a…

EquitiesBacktestingExecutionPortfolio construction
Machine Learning for Trading

This reference describes two public SEC filing sources for studying equity positions and insider activity. Quarterly 13F reports provide institutional holdings, either for a curated set of managers or through bulk data covering a full filing window. Form 4…

EquitiesUS marketsPortfolio constructionEvent-driven
Machine Learning for Trading

This notebook turns a real supply-chain knowledge graph and institutional 13F holdings into machine-learning features. It derives network measures such as centrality and dependency indicators, estimates supplier concentration and competitive exposure, and…

Machine learningEquitiesPortfolio constructionStatistics
Machine Learning for Trading

This tutorial builds a monthly ETF rotation simulator using a trailing risk-adjusted momentum ranking and a Treasury yield-curve regime filter. At each month-end, the rule ranks ten funds using their recent price history; risk-on months hold the top three…

BacktestingMomentumPortfolio constructionExecution
Machine Learning for Trading

The notebook explains value at risk as a loss quantile and conditional value at risk, or expected shortfall, as the average loss beyond that threshold. It estimates one-day tail risk for a broad equity ETF using four approaches: empirical historical…

EquitiesVolatilityRisk managementStatistics
Machine Learning for Trading

This notebook explains Hierarchical Risk Parity as an alternative to mean-variance allocation when covariance estimates are noisy. HRP clusters assets using correlation distances, orders them according to the hierarchy, then recursively bisects the ordered…

Portfolio constructionRisk managementBacktestingEquities
Machine Learning for Trading

This notebook presents a cross-case-study inventory of engineered financial features and the strongest registry information coefficient for each market study. It counts features and feature-name families, compares feature-space sizes, and summarizes…

Multi-assetStatisticsMachine learningPortfolio construction
Machine Learning for Trading

This notebook builds a monthly model matrix for a US firm-characteristics study from a released panel whose characteristics have already been ranked across firms. It adds composites and interactions using values in the same firm-month row, without fitting…

EquitiesFactor investingPortfolio constructionBacktesting
Machine Learning for Trading

This notebook converts FX pair predictions into baseline trading results. At each decision time it ranks pairs, takes equal-sized long and short sleeves, and runs the selected prediction configurations and checkpoints through an existing backtest engine.…

ForexBacktestingPortfolio constructionPosition sizing
Machine Learning for Trading

This notebook compares two simulations of the same monthly ETF momentum strategy. Both use identical target weights, universe, dates, and total trading cost. One computes returns from lagged weights and asset returns; the other processes orders sequentially…

EquitiesMomentumBacktestingExecution
Machine Learning for Trading

This notebook compares four reference ETF allocations using historical crisis windows, hand-authored simultaneous asset shocks, Student-t Monte Carlo simulations, and market-regime statistics. It explains a maximum drawdown measure and uses daily…

Multi-assetRisk managementPortfolio constructionVolatility
Machine Learning for Trading

This notebook builds an LSTM allocator that maps recent ETF return and volatility features directly to long-only portfolio weights. A softmax output keeps weights nonnegative and fully invested, while a differentiable Sharpe-ratio objective trains the…

Machine learningPortfolio constructionBacktestingRisk management
Machine Learning for Trading

This notebook applies principal component analysis to changes in eight Treasury constant-maturity yields, spanning one to thirty years. It removes forward-filled calendar rows with no yield changes and standardizes the remaining observations before PCA, so…

Fixed incomeStatisticsRisk managementPortfolio construction
Machine Learning for Trading

This script gathers institutional holdings from SEC 13F filings in two ways: it can retrieve filings for a curated set of managers or download the SEC’s quarterly bulk files. Both paths normalize holdings into a shared schema, with the bulk path designed for…

EquitiesStatisticsPortfolio construction
Machine Learning for Trading

This notebook describes DeePM, an end-to-end ETF portfolio policy designed to improve performance across varying market conditions. Its components include volatility-normalized return and trend features, an LSTM-based model, variable selection, conditioning…

Multi-assetPortfolio constructionMachine learningRisk management
Strategy library

This algorithm example demonstrates a two-stage method for narrowing a stock universe. Its coarse filter ranks available stocks by daily dollar volume and passes the five highest-volume names onward. A fine filter then ranks those candidates by…

EquitiesFactor investingPortfolio constructionBacktesting
Strategy library

This workflow proposes using holders of a successful token as a starting group for discovering other assets they own. It filters holders by token ownership share and portfolio value, removes addresses labeled as exchanges, project treasuries, or protocol…

CryptoDeFiOn-chain dataSentiment