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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

55 documents

Machine Learning for Trading

This deployment demonstration retrains a Ridge model on historical daily data for a cross-section of major FX pairs, fetches current bars through an Interactive Brokers paper session, ranks the pairs, and builds a long basket. It walks through connecting to…

ForexExecutionMachine learningMarket microstructure
Machine Learning for Trading

This document describes a foreign exchange OHLCV dataset covering G10 majors and crosses, with daily and four-hour bars from OANDA. It outlines how the data can be downloaded, loaded, filtered by pair or date range, and explored through coverage summaries…

ForexStatisticsVolatility
Machine Learning for Trading

This document develops a daily feature panel for ranking twenty currency pairs at the New York 5 PM close. It distinguishes rankable signals, such as standardized multi-horizon returns and channel position, from market-state measures such as volatility,…

ForexMean reversionMomentumVolatility
Machine Learning for Trading

This notebook examines linear-model regularization for predicting returns across currency pairs. It distinguishes collinearity among input features from dependence among the assets: currency pairs share underlying currencies, so their returns and rankings…

ForexMachine learningStatisticsFactor investing
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 describes how to create holdout predictions for an FX strategy after its configuration has already been selected using validation results. It resolves the highest-Sharpe validation backtest among admitted candidates that remained solvent, then…

ForexBacktestingMachine learningRisk management
Machine Learning for Trading

This document presents a reusable diagnostic survey for financial datasets, covering index integrity, duplicates, missingness, outliers, calendar gaps, and domain-specific anomalies. It checks time types, ordering and uniqueness, including per-symbol…

Multi-assetStatisticsRisk managementUS markets
Machine Learning for Trading

This notebook measures how changing proportional transaction costs affects one validation-selected FX strategy per return label. It first selects a parent from signal, allocation, and risk-overlay candidates, then varies only the aggregate cost per traded…

ForexBacktestingExecutionRisk management
Machine Learning for Trading

This exploratory analysis profiles a four-hour OANDA panel of 20 currency pairs and explains how to interpret its data. It distinguishes direct, indirect, and cross pairs by the dollar’s position, showing why direct quotes must be inverted before combining…

ForexMarket microstructureStatisticsBacktesting
Machine Learning for Trading

This notebook sets up an LSTM forecasting run for an FX-pairs case study. The model carries a hidden state through a lookback sequence, and the notebook resolves architecture and training settings through the shared configuration and study-planning tools. It…

ForexMachine learningBacktestingStatistics
Machine Learning for Trading

The document describes a validation-stage comparison of fixed and trailing stop rules for FX strategies. For each return label, it selects a parent strategy from a sealed cohort of signal and allocation results, then varies the declared position-level risk…

ForexRisk managementBacktestingPosition sizing
Machine Learning for Trading

This notebook examines linear-model regularization for a universe of currency pairs whose returns are linked because each pair is a quote between shared currencies. It distinguishes feature collinearity, which ridge, lasso, and elastic net can address, from…

ForexStatisticsMachine learningBacktesting
Machine Learning for Trading

This notebook describes a one-feature-at-a-time screen for candidate signals across 20 currency pairs. It computes each feature’s daily cross-sectional rank agreement with the next-session return using only walk-forward validation windows. The evaluation…

ForexStatisticsMachine learningBacktesting
Machine Learning for Trading

The document describes an FX portfolio allocation sweep designed to isolate position sizing from signal selection. It starts from frozen equal-weight baseline candidates ranked by validation backtest performance, then advances configurations while preserving…

ForexPortfolio constructionBacktestingRisk management
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 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 study compares gradient-boosted trees with a penalized linear model for ranking currency pairs by future returns. Its motivation is that trees can represent conditional relationships, such as using momentum in one market regime and carry in another,…

ForexMachine learningStatisticsBacktesting
Machine Learning for Trading

This exploratory analysis profiles a four-hour OANDA dataset covering twenty currency pairs. It explains that the volume field counts quote updates at one venue, not consolidated traded size, and therefore cannot support a market-wide liquidity ranking. It…

ForexStatisticsMarket microstructure
Machine Learning for Trading

This notebook describes how to prepare and register NLinear forecasts for FX labels. NLinear subtracts the last observed level from each fixed-length input history, focusing the model on changes within the lookback. A shared sequence eligibility process…

ForexMachine learningBacktestingStatistics
Machine Learning for Trading

This analysis compares registered double machine learning treatment effects from nine trading case studies. It loads current results from each study’s registry, checks registry integrity and duplicate labels, and makes coverage explicit. Effects and…

StatisticsMachine learningBacktestingEquities
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 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 measures how a validation-selected FX strategy responds to changes in proportional transaction costs. For each prediction label, it selects a parent strategy from the signal, allocation, and risk-overlay results, then reruns that strategy…

ForexBacktestingExecutionRisk management