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

4,574 documents

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
Machine Learning for Trading

This notebook reports parity comparisons between Backtrader, Zipline Reloaded, and an internal trading framework on selected real case-study strategies. It includes ETF and US equity-panel comparisons for both external engines, plus CME futures and…

BacktestingExecutionMarket microstructureEquities
Machine Learning for Trading

This notebook builds a reusable diagnostic survey for financial datasets before preprocessing or feature engineering. It checks time-index dtype, null timestamps, ordering and uniqueness; finds exact and key-based duplicates; measures missing values by…

StatisticsEquitiesCryptoFutures
Machine Learning for Trading

This notebook describes how to evaluate a previously selected FX strategy on holdout predictions. It reuses the selected configuration’s registered backtest specification, keeping the signal, allocation, risk controls, rebalance rule, costs, and account…

ForexBacktestingRisk managementPosition sizing
Machine Learning for Trading

This notebook evaluates candidate features for 20 currency pairs one at a time against forward returns. It limits the analysis to walk-forward validation periods, stamps each session with its fold, and leaves a buffered gap before the holdout so labels…

ForexStatisticsMachine learningBacktesting
Machine Learning for Trading

This case study explains how to construct forward-return labels for a cross-sectional foreign-exchange strategy that ranks currency pairs and buys or sells according to their relative ordering. It first maps four-hour spot bars into trading sessions using a…

ForexSpot marketsMomentumMean reversion
Machine Learning for Trading

This notebook walks through a deployment cycle for a daily FX pairs model using Interactive Brokers as both the live data source and execution venue. It trains a Ridge regression model on a historical panel, computes a compact set of daily return, momentum,…

ForexMachine learningExecutionRisk management
Machine Learning for Trading

This notebook examines retained results from a real-strategy audit comparing the LEAN engine with matching ML4T Backtest profiles. It identifies the asset-class workloads supported by the frozen inputs and reports parity evidence across fills, valuations,…

BacktestingExecutionEquitiesFutures
arXiv papers

This study examines whether traders can act on the Gotobi anomaly: a reported tendency for USD/JPY to rise toward 9:55 on Japanese dates divisible by five. It focuses on a practical question: whether a strategy based on that pattern remains valid once…

ForexArbitrageStatisticsBacktesting
arXiv papers

The document introduces a method for inferring lead-lag networks from the actions of individual agents, then applies it to trader-resolved foreign exchange data. It presents network persistence as an explanation for why one trader’s activity can help predict…

ForexMarket microstructureMachine learningStatistics
arXiv papers

The study compares the complexity of log-return series for Bitcoin, GBP/USD, gold, and natural gas. It applies Multifractal Detrended Fluctuation Analysis and Refined Composite Multiscale Sample Entropy, two approaches that quantify different aspects of…

CryptoForexCommoditiesStatistics
arXiv papers

This study models financial prediction as a population of agents that follow trends over different prediction horizons. It examines how the population changes in stochastic, time-varying environments represented by real currency exchange-rate series. The…

ForexTrend followingMachine learningStatistics
arXiv papers

This note develops a pedagogical approach to pricing foreign exchange options when the exchange rate is confined to a target zone with attainable, reflecting boundaries. It explains a no-arbitrage implication of this setting: the difference between foreign…

ForexOptionsDerivatives pricingMean reversion
arXiv papers

This work studies how aggregate trend-following or mean-reverting trading behavior can alter asset-price dynamics. It models the direction of trading explicitly and links those styles to serial correlation: trend-following behavior can create positive…

Trend followingMean reversionStatisticsEquities
arXiv papers

The study describes a method for classifying forex trends with a convolutional neural network. It first converts quantitative market data into images resembling trading charts, then trains a CNN to learn chart patterns and predict trend classes. Model…

ForexMachine learningStatistics