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

9,797 documents

FMZ forum

This example shows a command-driven trading bot that accepts action strings and routes them to spot or futures exchange methods. For futures, it sets the contract type, fetches the ticker, and chooses order direction for opening long or short positions and…

FuturesExecutionPosition sizing
TqSdk

This trading script implements a daily Keltner Channel strategy for a CFFEX index futures contract. It calculates an 8-period exponential moving average as the channel center and uses a 7-period average true range with a 1.5 multiplier to set the bands. A…

FuturesTrend followingBreakoutTechnical indicators
MQL5 code base

The document describes an expert advisor for testing a calendar-based reversal hypothesis. It takes a position against Monday’s direction at the start of Tuesday: a Monday close below its open triggers a buy, while a close above its open triggers a sell. It…

FuturesForexMean reversionTechnical indicators
SuperMind

These reading notes survey quantitative investing methods across stock selection, market timing, futures and options arbitrage, statistical arbitrage, algorithmic execution, and asset allocation. They outline factor selection, style and sector rotation,…

EquitiesFuturesOptionsArbitrage
ProRealCode

The document describes a rules-based strategy for the DAX GER30 on an hourly chart. It uses the prior period’s highest high and lowest low over a lookback window as breakout thresholds: a long entry follows an upward crossing of the high, while a short entry…

FuturesBreakoutTrend followingTechnical indicators
MQL5 code base

The document describes a Sine Wave indicator that can display its output as a colored cloud using a timeframe selected through an input parameter. It identifies two higher-timeframe variants and explains that each depends on a corresponding base indicator…

Technical indicatorsFutures
SuperMind

This chapter note explains how futures positions are opened and closed, how exchanges specify contract terms, and how clearing and margin systems manage counterparty risk. It covers deliverable asset quality, contract size, delivery location and timing,…

FuturesRisk managementMarket microstructure
SuperMind

This forum post asks how a trade converter updates today and prior-day long and short positions when processing futures trades. The shown method increments today’s long quantity for a long opening trade, but decrements short quantities for a long trade that…

FuturesMarket microstructureRisk management
Amberdata research

This article surveys Ethereum’s network activity and ecosystem developments around its eighth anniversary. It reports snapshots of staking, decentralized finance deposits, node counts, transaction activity, and ETH price and capitalization, then outlines a…

CryptoDeFiFuturesOn-chain data
ProRealCode

This indicator marks potential supply and demand zones by first detecting a large percentage change in the opening price over several bars. When that rate of change crosses a sensitivity threshold, it searches a recent window for the nearest candle of the…

FuturesTechnical indicatorsMomentumMarket microstructure
TqSdk

This example describes a mean-reversion strategy for two SHFE futures contracts. It uses a Kalman filter to update the hedge ratio between the instruments, calculates the resulting spread, and standardizes it against a rolling window to create a z-score. The…

FuturesPairs tradingMean reversionBacktesting
Hummingbot docs

This Hummingbot controller guide describes a crypto futures strategy that watches Binance liquidation data and seeks a short-lived rebound after a large forced unwind. It aggregates liquidations over a configurable interval, checks whether their…

CryptoFuturesPerpetual futuresMean reversion
vn.py community

A VeighNa forum discussion explains how to preserve variables in a spread trading strategy across restarts. The suggested approach is to implement JSON file loading and saving in the strategy lifecycle: load stored values when the strategy starts and write…

FuturesPairs tradingExecution
FMZ forum

This reference table compares futures contracts across several cryptocurrency exchanges. It organizes instruments by settlement asset, quoted currency, contract code, and availability of perpetual or dated contracts. Entries distinguish, for example,…

CryptoFuturesPerpetual futuresMarket microstructure
Awesome Systematic Trading

The strategy tracks the daily price difference between continuous WTI and Brent crude futures and compares it with a 20-day simple moving average. When the spread is above its average, it takes positions intended to profit from a decline toward that…

FuturesCommoditiesMean reversionPairs trading
vn.py community

This forum exchange addresses how a custom daily CTA strategy can use locally stored data that is updated each day before the night session. The user asks whether a live strategy can reload the newest spreadsheet values automatically, given that the backtest…

FuturesExecution
vn.py community

This forum discussion explains why two-hour bars built from one-minute futures data can differ across platforms. One approach forms bars on fixed clock boundaries; another accumulates 120 minutes of active trading time, skipping exchange breaks and handling…

FuturesTechnical indicatorsMarket microstructure
Awesome Systematic Trading

The document describes a cross-market futures reversal strategy. It groups contracts by recent changes in trading volume and open interest, then selects contracts in the high-volume, low-open-interest group. Within that subset, the stated method goes long…

FuturesMean reversionMomentumBacktesting
BigQuant

The article introduces time series concepts for financial analysis, including univariate and multivariate data, stationarity, autocorrelation, trend, seasonality, and decomposition. It describes using ACF and PACF to examine lag dependence, and outlines a…

StatisticsMean reversionPairs tradingFutures
MQL5 code base

The document describes a MetaTrader 5 indicator variant that lets the user select the timeframe from its input settings. The stated default is a four-hour chart period. It also notes a dependency: the Float_Pivot_Smoothed_Digit indicator file must be present…

Technical indicatorsFutures
SuperMind

These notes introduce derivatives as contracts whose value depends on an underlying asset or other variable, then distinguish exchange-traded markets from over-the-counter trading. They outline forwards, options, futures, and swaps, explaining basic contract…

Derivatives pricingFuturesOptionsArbitrage
ProRealCode

This DAX strategy calculates each candle’s body as the close minus the open, then measures changes in that body over a rolling period of 84 bars. It applies separate positive and negative thresholds, set to 81 and 6 times the platform’s pip size, and…

FuturesMomentumTechnical indicators
MQL5 code base

This document describes an MT5 indicator that constructs a classic Renko chart within a standard chart window. It builds completed bricks from incoming tick data, with each brick representing a fixed price movement rather than a fixed time interval. The…

Technical indicatorsFutures
MQL5 code base

The document introduces a modified historical Camarilla indicator and explains how Camarilla levels are organized around the prior session’s closing price. It describes two groups: lower levels labeled L and upper levels labeled H, each numbered from one to…

Technical indicatorsFutures