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

5,018 documents

MQL5 articles

The article describes Micro-AIS, a simplified artificial immune system optimization algorithm in which antibodies represent candidate solutions. It initializes a population across the search space, evaluates each candidate with a fitness function, creates…

Machine learningStatisticsBacktesting
MQL5 articles

The article explains Deep Q-Networks (DQN) as a reinforcement learning method that uses neural networks to estimate action values across market states. It outlines the agent, environment, state, action, and reward concepts, then describes a trading setup…

Machine learningForexBacktestingStatistics
MQL5 articles

This installment in a series on building an MQL5 reinforcement-learning agent reorganizes HTTP request functions into classes. The starting code uses separate procedures for GET and POST requests and a dispatcher that selects a request method. The article…

Machine learningExecution
MQL5 articles

The article walks through a demonstration pipeline for forecasting financial prices: obtain EURUSD hourly data, scale closing prices, form rolling sequences, train a one-dimensional convolutional and LSTM network, export it to ONNX, and load the model in an…

Machine learningForexBacktesting
MQL5 articles

The article outlines a Windows-based workflow for using R with MetaTrader 5. It connects RStudio to the terminal through reticulate and the MetaTrader 5 Python library, then uses an MT5R package and a terminal-side Expert Advisor to handle communication and…

Machine learningExecutionTechnical indicators
MQL5 articles

The document describes a manual workflow for creating labeled time-series datasets from market charts. Instead of splitting a price series into separate files by trend direction, it adds a trend-group field to each observation so that the original…

Machine learningStatisticsForex
MQL5 articles

This article presents a two-stage machine learning workflow for filtering Bollinger Band mean-reversion signals. A primary strategy supplies direction when price reaches an outer band; a secondary classifier estimates whether to take that trade. Its…

Mean reversionMachine learningTechnical indicatorsPosition sizing
MQL5 articles

The article describes a machine learning workflow for searching for time-based patterns in forex trading. A filter selects bars by hour or weekday, and the labeling process keeps only examples that meet that condition. The same filter restricts trade entries…

ForexMachine learningStatisticsBacktesting
MQL5 articles

This article explains slice sampling, an MCMC method that can draw from a target distribution using its unnormalized density. For a one-dimensional update, it samples a height beneath the density at the current point, finds an interval around that point by…

Machine learningStatistics
MQL5 articles

This article introduces Gaussian process classification for binary labels and explains why it requires approximate inference. A Gaussian process places a prior over latent functions, which are mapped through a sigmoid to class probabilities. Unlike…

Machine learningStatistics
MQL5 articles

The article describes implementing k-means clustering in MQL5, using OpenCL to parallelize computations. It motivates a native implementation for cases where Python integration limits access to terminal data, indicators, or event handling, or when clustering…

Machine learningStatisticsMulti-asset
MQL5 articles

The article outlines an early data-preparation stage for a machine-learning trading project using EURUSD hourly data retrieved through MetaTrader 5. It describes constructing price and volume features such as moving averages, returns, rolling dispersion,…

ForexMachine learningStatisticsBacktesting
MQL5 articles

The article proposes a stress test for population-based optimization algorithms: initialize every agent at the test function’s global minimum, then ask the population to find the global maximum. This removes the diversity normally supplied by random starting…

StatisticsMachine learningBacktesting
MQL5 articles

The article describes a hybrid neural network for classifying the direction of a stock’s daily candle. A one-dimensional convolutional network processes sequences of open, high, and low prices to extract features; a recurrent layer then models their temporal…

EquitiesMachine learningStatisticsBacktesting
MQL5 articles

The article describes a pipeline for combining MetaTrader economic-calendar data with price bars to train and deploy a LightGBM model for news-aware forex trading. It collects event names, sectors, importance, actual, forecast, and previous values, filters…

ForexMachine learningEvent-drivenBacktesting
MQL5 articles

The article introduces the Kalman filter as a way to smooth noisy price observations and estimate an underlying market movement. It explains the filter’s two stages: predicting a state from a process model, then updating that estimate using the latest…

ForexEquitiesMachine learningStatistics
MQL5 articles

The article explains how generative adversarial networks can augment limited financial histories with synthetic price series, including scenarios such as volatility spikes or market declines. It outlines cleaning and scaling historical exchange-rate data,…

ForexMachine learningStatisticsBacktesting
MQL5 articles

This article outlines a Python workflow for exploring whether economic indicators can help forecast currency movements. It describes retrieving indicators such as GDP growth, inflation, interest rates, trade measures, debt, and employment from the World…

ForexMachine learningStatistics
MQL5 articles

This article presents an Expert Advisor that uses readings of the Acceleration/Deceleration oscillator at several lookback offsets as inputs to a single-layer weighted sum. The sign of that score determines whether the system opens a long or short position.…

Machine learningTechnical indicatorsForexRisk management
MQL5 articles

The article introduces Brent and West Texas Intermediate (WTI), describing differences in crude quality, production geography, and access to transport. It then presents a classic spread-trading premise: deviations of the Brent–WTI price spread from a…

CommoditiesMean reversionMachine learningStatistics
MQL5 articles

The document explains a population-based stochastic optimizer inspired by archers aiming at a target. Each candidate solution is an agent whose coordinates are updated using another agent selected according to fitness-based probabilities. The described…

StatisticsMachine learningBacktesting
MQL5 articles

The article presents MASAAT, a portfolio optimization framework that combines multiple agents, directional price filters, and attention mechanisms. Agents use filters with different thresholds to extract trends at different scales. Cross-sectional attention…

Machine learningPortfolio constructionMulti-assetRisk management
MQL5 articles

The article builds a logistic classification model intended to identify crash conditions in stock data. It discusses candidate predictors including company earnings measures, interest rates, and inflation, while explaining that supply-demand data and current…

EquitiesMachine learningRisk managementBacktesting
MQL5 articles

The article introduces the Crow Search Algorithm, a population-based method for searching an optimization space. Each candidate solution keeps a memory of its best position. During an iteration, an agent follows another agent’s remembered position by a…

Machine learningStatistics