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
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

MQL5 articles

The article describes a local communication system for multiple MetaTrader 5 Expert Advisors. A broker EA hosts a named pipe, receives typed messages from slave EAs, records sender state, aggregates risk, and displays sender activity on a dashboard. The…

Risk managementPortfolio constructionExecution
MQL5 articles

This article describes an MQL5 tool for assessing how multiple Expert Advisors interact as a portfolio. It reads daily profit-and-loss series and trading-time metadata from CSV files, calculates pairwise Pearson correlations, and examines activity by hour…

Portfolio constructionStatisticsRisk managementBacktesting
MQL5 articles

This article describes a workflow for developing, optimizing, and deploying a multi-currency Expert Advisor built from simple trading strategies. It separates reusable library code from project-specific strategy code, then organizes parameters and…

Multi-assetPortfolio constructionBacktestingPosition sizing
MQL5 articles

The article proposes running two versions of an automated strategy at once: one trades its original signals, while the other trades in the opposite direction. Each version is optimized separately, including its stop-loss settings, and the author argues that…

ForexPortfolio constructionRisk managementPosition sizing
MQL5 articles

This historical overview describes the development of MetaTrader’s trade-copying Signals service, with emphasis on subscriber protection and making providers’ records easier to assess. Signals are ranked using a quality score, and some are restricted or…

Risk managementPortfolio constructionExecution
MQL5 articles

The article presents StockFormer, a hybrid framework that combines Transformer-based predictive coding with an Actor–Critic reinforcement-learning agent. Three branches learn representations for long-horizon trends, next-day returns, and changing…

Machine learningEquitiesPortfolio constructionBacktesting
MQL5 articles

This installment explains how a MetaTrader trading engine can coordinate multiple independent strategy instances within one Expert Advisor. Its CStrategyList manager distributes events such as ticks, timers, and book updates to each strategy, while handling…

Portfolio constructionExecutionBacktesting
MQL5 articles

This article outlines a Python and MQL5 workflow for allocating positions across a basket of five U.S. stocks. It retrieves one-minute price data, converts closes to percentage returns, and examines correlations, distributions, pairwise relationships, and…

EquitiesPortfolio constructionPosition sizingStatistics
MQL5 articles

This article explains how the ALGLIB port available to MQL5 developers can support numerical work needed for dynamic hedging and multi-asset strategies. It contrasts single-window correlation indicators and hand-built calculations with tools for matrix…

Multi-assetPairs tradingStatisticsPortfolio construction
MQL5 articles

The article presents Ralph Vince’s optimal-f approach to money management. It explains how compounding makes the path of account equity depend on the fraction of capital risked, and why maximizing the stake does not necessarily maximize long-run growth. For…

Position sizingRisk managementStatisticsBacktesting
MQL5 articles

This article proposes an account-level risk service for MetaTrader 5 accounts running multiple Expert Advisors. When each EA sizes trades and enforces loss limits independently, their combined positions can create concentrated currency exposure, correlated…

Risk managementPosition sizingExecutionPortfolio construction
MQL5 articles

This installment of a statistical-arbitrage series explains why a live system based on cointegrated stock baskets needs persistent market data and a way to update its models. Cointegration relationships can weaken or emerge as fundamentals change, while…

ArbitrageEquitiesStatisticsPortfolio construction
MQL5 articles

This article presents a MetaTrader indicator for examining a trading signal’s historical deals across the symbols it traded. Its goals include comparing activity by symbol, estimating simultaneous exposure, distinguishing overlapping positions that hedge…

ForexRisk managementPortfolio construction
MQL5 articles

The article explores category-theory constructions as a way to organize correlations between currency pairs and a dollar index. It first sketches coequalizers as a possible way to combine trading-session drawdown observations into a conservative value for…

ForexStatisticsPortfolio construction
MQL5 articles

This installment outlines a transition from embedding a multi-currency Expert Advisor’s strategy configuration in an initialization string to storing individual strategy instances in a separate database. The broader optimization workflow produces optimized…

Multi-assetBacktestingPortfolio constructionExecution
MQL5 articles

The article explains how an exponentially weighted covariance matrix can help a multi-symbol trading system react faster to changing correlations than a fixed rolling window. Each update blends the prior covariance estimate with the latest return…

Multi-assetStatisticsPortfolio constructionRisk management
MQL5 articles

This article introduces three deterministic optimization methods available through ALGLIB in MetaTrader 5: BLEIC, L-BFGS, and NS. It explains objective functions, adjustable parameters, and box, equality, and inequality constraints, then focuses on practical…

StatisticsMachine learningPortfolio constructionBacktesting
MQL5 articles

The article presents an MQL5 architecture for coordinating multiple symbol-specific trading agents through a central Portfolio Controller. The controller tracks shared exposure, publishes risk limits and halt state, and applies portfolio-level safeguards;…

Multi-assetRisk managementPortfolio constructionPosition sizing
MQL5 articles

This article describes a reusable MQL5 library for measuring portfolio-wide exposure and checking it before an EA opens a trade. It distinguishes account-wide monitoring from a magic-number filter, then outlines a snapshot of positions, pending orders,…

ForexRisk managementPortfolio constructionExecution
MQL5 articles

This MQL5 cookbook describes how to extend a multi-currency Expert Advisor so that, after a test, it writes deal history and balance series for each symbol to a CSV report. The report includes deal attributes such as symbol, type, direction, price, profit,…

BacktestingPortfolio constructionRisk management
MQL5 articles

The article describes a MetaTrader 5 workflow for combining many optimized strategy parameter sets in one expert advisor. It focuses on EURUSD hourly trading and uses perceptrons built from TEMA slope inputs, with optimized weights and a threshold parameter…

ForexMachine learningTechnical indicatorsBacktesting
MQL5 articles

This article describes replacing a growing collection of optimization CSV exports with a portable SQLite registry. The proposed schema stores individual result rows, ingestion records, and deduplicated strategy configurations, while indexes support common…

BacktestingStatisticsPortfolio construction
MQL5 articles

This installment extends a portfolio-risk analysis by turning a covariance matrix into an inspectable object. It describes calculating logarithmic returns from closing prices, arranging assets as rows and observations as columns, and using MQL5’s covariance…

Portfolio constructionRisk managementStatisticsMulti-asset
MQL5 articles

The document describes a particle swarm optimization (PSO) method for searching Expert Advisor parameter sets in MetaTrader 5. Each particle has a position, velocity, and personal best; particles are grouped so they can also use a group best. Their positions…

Machine learningBacktestingPortfolio constructionStatistics