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

2,013 documents

Machine Learning for Trading

This notebook describes DeePM, an end-to-end ETF portfolio policy designed to improve performance across varying market conditions. Its components include volatility-normalized return and trend features, an LSTM-based model, variable selection, conditioning…

Multi-assetPortfolio constructionMachine learningRisk management
Machine Learning for Trading

The document turns a cross-asset momentum hypothesis into a monthly exploratory test using a 100-ETF universe. It constructs adjusted month-end prices, measures 12-to-1-month momentum, then ranks eligible ETFs into five equal-weight groups and compares their…

Multi-assetMomentumTrend followingStatistics
Machine Learning for Trading

This notebook demonstrates a unified OHLCV interface across Yahoo Finance, WikiPrices, and FRED, then uses the sources for current ETF data, long-history equities, and macroeconomic series. It outlines a priority-ordered fallback approach for acquisition and…

EquitiesMulti-assetMarket microstructureBacktesting
Strategy library

This Freqtrade example uses a five-minute trading timeframe and adds RSI readings from 30-minute and one-hour charts, as well as one-hour readings for selected cross-market pairs. Its long-entry condition requires several of these RSI values to be low at…

Technical indicatorsMulti-assetMean reversionRisk management
Strategy library

This multi-market trend strategy combines Chaikin Money Flow, the Detrended Price Oscillator, and the Coppock Curve. Long entries require positive readings from all three indicators and a Coppock cross above zero; short entries use the corresponding negative…

Multi-assetTrend followingTechnical indicatorsVolatility
Strategy library

This indicator finds pivot highs and lows on a user-selected timeframe and makes them available on a chart that may use a different timeframe. Pivot detection uses configurable numbers of bars to the left and right of a candidate turning point, with a…

Technical indicatorsFuturesCryptoMulti-asset
Strategy library

This strategy combines several directional and momentum checks before opening a trade: Hull moving-average slope, comparison of daily prices across bars, the relative position of Ichimoku leading spans, and a MACD built from Hull averages. A long signal…

Trend followingMomentumTechnical indicatorsMulti-asset
Strategy library

This document presents a configurable swing strategy for SPY based on a composite financial regime index. The visible script setup uses daily data by default and draws on US and global equities, high-yield and investment-grade bonds, volatility, currency,…

EquitiesUS marketsMulti-assetRisk management
Strategy library

This algorithm demonstrates a VIX weekly call calendar spread paired with short positions in VXZ and SPY. It selects an at-the-money strike, sells the nearest-expiring call, buys the furthest-expiring call in the filtered chain, and submits the option and…

OptionsVolatilityMulti-assetExecution
Strategy library

This document outlines a trend-following system that adapts indicator periods to the selected chart timeframe. It enters long when a fast EMA crosses above a slow EMA and RSI is above 50, and enters short when the fast EMA crosses below the slow EMA and RSI…

Multi-assetTrend followingTechnical indicatorsVolatility
Strategy library

This document describes a multi-timeframe trend method that approximates weekly exponential moving averages with longer EMA periods on a lower-timeframe chart. It uses crossovers between the mapped 42- and 84-period averages to indicate a longer-term…

CryptoFuturesTrend followingTechnical indicators
Strategy library

This strategy uses two bar intervals to set its direction and timing. It builds 15-minute bars and compares a fast and slow simple moving average; their relationship sets a bullish or bearish trend state. On 5-minute bars, it calculates RSI and considers an…

Technical indicatorsTrend followingMomentumMulti-asset
Strategy library

This MetaTrader strategy combines a 50-period fast moving average and a 200-period slow moving average with the Andean Oscillator to trade EUR/USD, EUR/CAD, and USD/CAD. A bullish setup requires the oscillator’s bullish component to cross above its signal…

ForexMulti-assetTrend followingTechnical indicators
Strategy library

The supplied script begins a long-only strategy framework that combines signals from SPY, QQQ, Bitcoin, and the chart's current instrument. It calculates daily moving averages and uses Bitcoin trend, price structure, and one-day momentum to form a bullish…

Multi-assetTrend followingRisk managementTechnical indicators
Strategy library

This document presents a multi-asset buy-and-hold portfolio method that assigns target weights either directly or through a selected metric. Available approaches include equal allocation, annualized Sharpe ratio, annualized return, standard deviation,…

Multi-assetPortfolio constructionVolatilityRisk management
Strategy library

This strategy uses a selected asset’s price relative to a simple moving average calculated at a chosen resolution. A cross above the average triggers a long position, while a cross below triggers a short position. The user can select long-short, long-only,…

Multi-assetTrend followingTechnical indicatorsRisk management
Strategy library

This strategy combines KDJ readings from three configurable timeframes, defaulting to 1, 5, and 15 minutes. It computes a weighted average of each timeframe’s K, D, and J values, smooths them with exponential moving averages, and uses the smoothed total to…

Technical indicatorsMulti-assetVolatilityTrend following
MQL5 articles

The article presents an MQL5 implementation path for Extralonger, a Transformer framework that combines temporal patterns with relationships across instruments. Its architecture is described as having temporal, spatial, and mixed branches: temporal attention…

Machine learningMulti-assetStatistics
MQL5 articles

The article describes MetaTrader indicators that reconstruct and display trading across multiple symbols from HTML strategy tester reports or CSV signal histories. Its SubChart indicator draws another symbol’s OHLC data in a chart subwindow and synchronizes…

Multi-assetBacktestingTechnical indicators
MQL5 articles

This article presents a file-based pattern for managing parameters in a multi-currency MQL5 Expert Advisor when a long list of inputs becomes difficult to maintain and the platform limits the number of inputs. A text file supplies the symbol list, while…

Multi-assetBacktestingPortfolio construction
MQL5 articles

This concluding article presents Extralonger, a neural-network design for modeling market data across time and relationships among instruments. Its architecture processes temporal, spatial, and combined information through parallel routes, then uses global…

Machine learningMulti-assetStatisticsBacktesting
Machine Learning for Trading

This notebook queries registries for multiple trading case studies and produces cross-dataset tables for signal, allocation, cost, and risk comparisons. It reports diagnostics on the validation-ranked configuration cluster, including the top-to-tenth Sharpe…

BacktestingStatisticsMulti-assetRisk management
Machine Learning for Trading

This notebook compares portfolio allocations from PyPortfolioOpt, Riskfolio-Lib, and skfolio using the same ETF return panel. It fits allocators on a training period, checks that equivalent objectives and aligned weights agree within solver tolerances, and…

Multi-assetPortfolio constructionBacktestingExecution
Machine Learning for Trading

This notebook constructs the long-only, fully invested Markowitz framework, including feasible portfolios, the efficient frontier, maximum-Sharpe and minimum-variance solutions. It explains how portfolio variance depends on the covariance matrix and how…

Multi-assetPortfolio constructionStatisticsBacktesting