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

1,414 documents

Strategy library

This intraday strategy combines two moving averages, MACD, RSI, and ATR to select long and short entries. Long signals require price and the faster average above the slower average, positive MACD conditions, and RSI above its buy threshold; short signals…

CommoditiesMomentumTechnical indicatorsRisk management
Strategy library

This price-action method seeks breakouts using recent candle highs and lows. It describes opening a long when price moves above a prior high and a short when price falls below a prior low, then placing a take-profit target and stop loss. The document…

CommoditiesBreakoutTechnical indicatorsRisk management
Strategy library

This strategy uses a short-period Relative Strength Index to trade moves back from extreme readings. It enters long when RSI crosses upward through an oversold threshold and enters short when RSI crosses downward through an overbought threshold. Depending on…

CommoditiesMean reversionTechnical indicatorsBacktesting
Strategy library

This proposed gold strategy combines Fair Value Gaps (FVG), which represent price imbalances, with Break of Structure (BoS) signals based on breaks of recent highs or lows. It describes filtering small gaps, using a lookback to define structure, and spacing…

CommoditiesBreakoutTechnical indicatorsRisk management
Strategy library

This XAUUSD strategy combines short-term EMA direction with confirmation from a higher timeframe. It checks whether the 9-period EMA is above or below the 15-period EMA on both five-minute and fifteen-minute charts, then requires a rejection candle in the…

CommoditiesTrend followingTechnical indicatorsRisk management
Strategy library

This Pine strategy describes a long-only grid for XAU. It divides a fixed price range into configurable levels spaced either geometrically or arithmetically. The system buys as price crosses levels downward and sells as price crosses upward to the next…

CommoditiesGrid tradingPosition sizingBacktesting
Strategy library

This pivot strategy combines swing highs and lows with a 50-period moving-average direction filter. It describes entering at pivot lows when price is above the average and pivot highs when price is below it, then reversing direction after stop-outs. The…

CommoditiesFuturesMean reversionTechnical indicators
Strategy library

This example shows a long-only trend-following method for the current front-month gold futures contract. It compares a fast and a slow exponential moving average, entering when the fast average exceeds the slow average by a small tolerance and the contract…

FuturesCommoditiesTrend followingTechnical indicators
Machine Learning for Trading

This document compares alternative position-sizing methods for CME futures strategies selected from a baseline ranked by equal-weight validation Sharpe. Equal weighting treats every selected product alike, although futures contracts can have very different…

FuturesCommoditiesPosition sizingPortfolio construction
Machine Learning for Trading

This notebook uses double machine learning to estimate whether futures carry has an effect on subsequent returns after adjusting for volatility, momentum, and cross-sectional carry rank. It distinguishes causal explanation from predictive performance: a…

FuturesCarryMachine learningStatistics
Machine Learning for Trading

This notebook checks whether the data can support a weekly, cross-sectional futures strategy before any model is fitted. It describes a design that ranks CME products, takes long positions in the highest-ranked contracts and short positions in the lowest,…

FuturesCommoditiesCarryExecution
Machine Learning for Trading

This notebook studies gradient boosting for cross-sectional prediction of CME futures returns. It varies tree capacity through leaf-count profiles and compares squared-error, absolute-error, and Huber objectives, which differ in how strongly extreme…

FuturesCommoditiesMachine learningBacktesting
Machine Learning for Trading

The document sets out how to construct forward-return labels for a cross-sectional futures strategy that ranks products by term structure. It distinguishes roll-adjusted prices, which are appropriate for returns across contract rolls, from raw settlement…

FuturesCommoditiesCarryBacktesting
Machine Learning for Trading

This document describes a CME futures dataset with hourly and daily bars, continuous front-month contracts, and two deferred tenors across several product groups. It explains the dataset’s coverage, fields, loading options, and related weekly CFTC…

FuturesCarryCommoditiesMarket microstructure
Machine Learning for Trading

This dataset guide describes a collection of continuous CME futures contracts spanning equity indexes, rates, energy, metals, currencies, agriculture, and livestock. It explains the hourly source data and derived daily frequency, multiple contract tenors,…

FuturesMulti-assetCommoditiesBacktesting
Machine Learning for Trading

This guide introduces the public CFTC Commitment of Traders reports as a source of weekly futures positioning data. It distinguishes the Traders in Financial Futures report, which categorizes participants such as dealers, asset managers, and leveraged money,…

FuturesCommoditiesSentimentBacktesting
Machine Learning for Trading

This document describes a daily ETF dataset intended as a candidate pool for momentum and cross-asset research. It covers nine categories, including US and international equities, fixed income, commodities, specialty funds, and currencies. Data is sourced…

Multi-assetMomentumEquitiesFixed income
Machine Learning for Trading

The document explains how to retrieve weekly CFTC Commitment of Traders data for selected futures products and save each product’s history as a Parquet file. COT reports capture Tuesday positioning and are released on Friday; trader categories vary between…

FuturesCommoditiesSentiment
arXiv papers

The document analyzes static energy storage optimization as an option exercise problem. Variational analysis yields an implicit optimal exercise rule and shows how it responds to constraints such as carry costs and limits on cycling. It also compares…

CommoditiesOptionsDerivatives pricingMean reversion
arXiv papers

The document introduces a team-developed system called the CTP Model for making daily investment decisions in gold and bitcoin. It starts from the constraint of having limited cash and time, with only historical daily prices available, and describes…

CommoditiesCryptoRisk management
arXiv papers

This study examines how classifiers that can abstain from prediction can shape trading decisions. A standard direction classifier always implies a market position, whereas a selective classifier can leave the portfolio uninvested when it declines to predict.…

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

The document studies statistical properties of electricity returns, highlighting both their high volatility and a strong mean-reverting tendency. It frames extreme price movements as a source of trading risk and focuses on measuring dependence across time…

CommoditiesMean reversionVolatilityStatistics
arXiv papers

The paper presents simulation methods for energy spot prices modeled as the exponential of two independent components: a mean-reverting Ornstein–Uhlenbeck process and a pure jump process. The jump component follows a compound Poisson process with positive…

CommoditiesMean reversionVolatilityDerivatives pricing