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 explains how to adapt MQL5 Wizard-generated expert advisors to trade multiple currency pairs. It contrasts parallel entries across a predefined symbol portfolio with a sequential approach that uses cross-pair relationships to guide follow-on…

ForexRisk managementPortfolio constructionBacktesting
MQL5 articles

The document presents a method for aligning bar data across instruments before portfolio analysis or trading. It uses one instrument’s bar opening times as a reference, matches other symbols to those timestamps, fills missing bars, and trims excess history…

Multi-assetPortfolio constructionMarket microstructureStatistics
MQL5 articles

This installment describes adding persistent storage to a multi-currency Expert Advisor development workflow. The project searches for promising parameter sets for individual strategies, groups compatible sets, combines groups, and eventually assembles them…

BacktestingPortfolio constructionRisk management
MQL5 articles

The document introduces FinCon, a proposed system that models an investment team with specialist analyst agents reporting to a manager. Analysts process different kinds of market information; the manager combines their findings, makes trading decisions, and…

Machine learningRisk managementPortfolio construction
MQL5 articles

The article describes a Forex portfolio approach that combines Markowitz allocation with a Value at Risk constraint. Markowitz optimization is used to seek allocations with low risk for a target return, while the VaR limit is intended to keep estimated…

ForexPortfolio constructionRisk managementBacktesting
MQL5 articles

This article presents a method for reducing sampling noise in correlation matrices used by multi-symbol trading systems. It explains that estimating many pairwise relationships from a limited return window can produce unstable eigenvalues and weights. The…

StatisticsPortfolio constructionRisk managementMulti-asset
MQL5 articles

This introduction explains portfolio trading as a synthetic position formed from multiple instruments, with their directions and lot sizes managed together. It distinguishes this from simply running independent systems on several symbols. Portfolio…

Portfolio constructionStatisticsMulti-assetRisk management
MQL5 articles

The article explains how to use MetaTrader 5’s native SQLite support to store and analyze trading and optimization data. It demonstrates creating tables, inserting records, preparing and reading queries, binding results to structures, managing transactions,…

StatisticsBacktestingPortfolio construction
MQL5 articles

This article examines how to combine technical strategies using weighted votes and genetic optimization. In an earlier experiment, the optimizer selected two strategies whose returns were highly correlated, undermining the intended diversification. The…

Portfolio constructionMachine learningStatisticsBacktesting
MQL5 articles

The article reframes automated strategy development as building and managing a collection of expert advisors (EAs), rather than relying on a single supposedly universal system. It argues for organizing the work from idea through implementation, testing,…

BacktestingPortfolio construction
MQL5 articles

This article explains GSM++, a hybrid approach for representing graph-structured data through graph tokenization, local encoding, and global sequence encoding. It compares node or edge tokenization, which retains element-level detail at higher computational…

Machine learningMulti-assetPortfolio constructionMarket microstructure
MQL5 articles

This article’s final part assembles the MASA framework from a market observer, a reinforcement learning agent, and a controller agent. The observer forecasts market sequences, the RL agent proposes portfolio actions, and the controller adjusts those actions…

Machine learningRisk managementPortfolio constructionBacktesting
MQL5 articles

This installment explains how to add a clustering step to an automated workflow for selecting groups of trading strategy instances. It uses K-means from scikit-learn to cluster results from the first optimization stage, then excludes same-cluster instances…

Machine learningBacktestingPortfolio construction
MQL5 articles

The article shows why individual asset volatility is insufficient for measuring multi-instrument portfolio risk: it describes each instrument’s variability but omits how returns move together. It introduces sample covariance and arranges pairwise covariances…

Portfolio constructionRisk managementStatisticsMulti-asset
MQL5 articles

The article describes the Multi-Agent Self-Adaptive (MASA) framework for dynamic portfolio management. It assigns return generation to a TD3 reinforcement-learning agent, risk adjustment to a separate optimization-based controller, and market analysis to an…

Machine learningRisk managementPortfolio constructionChina markets
MQL5 articles

This installment describes an MQL5 workflow for optimizing trading strategy groups and making updated groups available to a running Expert Advisor through a separate EA database. The proposed database avoids recompiling the final EA whenever optimization…

Portfolio constructionBacktestingRisk management
MQL5 articles

This article explains the Cuckoo Optimization Algorithm, a population-based heuristic for continuous nonlinear optimization. Candidate solutions are represented as eggs in nests and scored with a fitness function. Each iteration generates new candidates…

Machine learningStatisticsPortfolio construction
MQL5 articles

The article presents a standalone MetaTrader 5 dashboard for analyzing account performance across strategies without changing the trading Expert Advisors. It reconstructs closed positions from individual buy and sell deals, groups records by position…

Portfolio constructionRisk managementStatistics
MQL5 articles

The article explains monoids and groups through a trading-oriented MQL5 framework. A monoid consists of a set, an identity element, and a closed binary operation; a group adds the requirement that every element has an inverse whose operation with it yields…

StatisticsPortfolio construction
MQL5 articles

The article outlines a multi-symbol expert advisor that tracks a two-hour price range for each selected instrument, from 10:00 to 12:00 UTC+2. After the range closes, an upside break can trigger a buy when the Stochastic reading is at or below 20; a downside…

ForexBreakoutTechnical indicatorsRisk management
MQL5 articles

The article presents a method for selecting Forex positions with positive rollover income while accounting for exchange-rate returns and volatility. It describes scoring eligible currency pairs using normalized estimates of market return, swap, and…

ForexCarryArbitragePortfolio construction
MQL5 articles

The article presents an implementation of MASAAT, an attention-based multi-agent framework for portfolio optimization. Agents analyze price sequences at multiple scales, using directional movement thresholds to represent shifts of varying size.…

Machine learningPortfolio constructionMulti-assetStatistics
MQL5 articles

This article explains an MQL5 dashboard for examining pairwise relationships among a user-selected set of financial symbols. It computes correlations from price changes using Pearson for linear association, Spearman for rank-based monotonic association, or…

StatisticsMulti-assetPortfolio constructionTechnical indicators
MQL5 articles

The article explains how online analytical processing can organize trading and optimization data as a multidimensional cube. Once records have been mapped into cube cells and aggregate values calculated, an analyst can inspect slices such as profit by…

StatisticsBacktestingPortfolio construction