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,660 documents

FMZ forum

This essay distinguishes a deliberately designed trading system from the behavior a trader repeatedly enacts in practice. It argues that recurring habits such as holding losing positions, hesitating to enter, or trading too frequently form a stable…

Risk managementBacktestingExecution
Amberdata research

Ethereum transaction inputs and event logs store values in compact encoded forms. Applications commonly rely on a contract’s ABI to map that data to function names, argument types, and readable values. Maintaining ABI files becomes difficult when an…

CryptoDeFiOn-chain dataExecution
NautilusTrader

This tutorial demonstrates a config-driven foreign-exchange backtest using a Parquet data catalog and a simulated venue. It loads quote ticks from either local Histdata files or a sample dataset, sorts them by timestamp, stores the instrument and ticks in…

ForexBacktestingTechnical indicatorsExecution
ProRealCode

The document presents VWAP percent as a more reactive alternative to Bollinger Bands percent for spotting possible reversals or the start of a trend. It describes a normalized measure built from the close relative to VWAP-based bands formed using a standard…

Technical indicatorsMean reversionTrend followingExecution
Stratmill research code

The document outlines safeguards for cryptocurrency futures trading during sharp market moves and delayed updates. It recommends monitoring the gap between a futures contract and its underlying spot price, and between last price and mark price, as signs that…

CryptoFuturesRisk managementMarket microstructure
MQL5 code base

This document explains a library approach for handling tick events from multiple symbols in an MT5 Expert Advisor. Since the platform's NewTick event is tied to the chart symbol running the advisor, the library provides a multisymbol callback that reports…

ExecutionBacktestingForex
Amberdata research

This overview describes how institutional crypto trading differs from retail activity, emphasizing larger trade sizes, specialized infrastructure, compliance demands, and execution across multiple venues. It surveys approaches including over-the-counter…

CryptoArbitrageExecutionRisk management
MQL5 code base

The document explains how mismatched daylight-saving transition dates in the United States and Europe can affect the timestamps used for forex trading sessions. It describes a nominal weekly session lasting 120 hours and argues that the local server…

ForexExecutionRisk management
MQL5 code base

This brief example describes an expert advisor that opens an order, modifies it to set stop-loss and take-profit levels, and closes the position after a fixed holding interval. The stated example uses a 30-second delay between opening and closing. It…

ExecutionRisk managementBacktesting
FMZ forum

The document presents a JavaScript implementation outline for a long-and-short grid strategy on perpetual futures. It covers exchange position reconciliation, price and order-amount precision, persistence of open-order and profit-history state, and…

Perpetual futuresGrid tradingExecutionRisk management
SuperMind

This project overview describes a high-frequency backtesting framework built around tick-level market replay. It reconstructs order books from Level-2 or Level-3 data and models feed and order latency, along with the trader’s queue position, to make…

High-frequency tradingBacktestingMarket microstructureExecution
FMZ forum

The document explains how restructuring an arbitrage scanner can reduce computation when it checks many paths across exchanges and trading pairs. It recommends separating the quick profitability check from the more detailed calculation of order prices and…

ArbitrageExecutionHigh-frequency trading
NautilusTrader

This reference explains how to represent an exchange-defined options strategy as one tradable instrument. A venue may list a vertical spread, calendar spread, or similar multi-leg strategy under its own symbol, with its own pricing increment, expiration, and…

OptionsDerivatives pricingExecution
MQL5 code base

This document describes a MetaTrader 5 Expert Advisor that opens multiple buy or sell orders after a user clicks a corresponding button. Inputs include the number of orders, risk percentage per trade, stop loss, take profit, and slippage. The EA calculates…

ExecutionPosition sizingRisk management
MQL5 code base

This document describes an auxiliary MetaTrader expert advisor for managing existing positions. It moves positions to breakeven, calculates stop losses using the StopATR_auto indicator, and closes positions when two moving averages intersect. The advisor…

Technical indicatorsRisk managementBacktestingExecution
MQL5 code base

This brief description explains a position sizing function that calculates lot size from the distance to a stop loss and a specified risk budget. Its example states that a 2% risk setting combined with a stop 40 points away yields a lot size intended to lose…

Position sizingRisk managementExecution
BigQuant

This discussion raises practical questions about backtesting strategies across multiple futures products with different expirations. It asks whether a system can switch automatically to the next active contract before expiry, how to test periods longer than…

FuturesBacktestingExecution
MQL5 code base

The document explains how to add alert delivery to an existing MetaTrader indicator that already records buy and sell signals in buffers. Separate routines check the selected bar for a nonempty signal and can issue a terminal sound alert, send an email, or…

Technical indicatorsExecution
MQL5 code base

This document describes a script for submitting a buy stop-limit order and a sell stop-limit order at equal distances from the current price. Its configurable inputs cover trade size, price deviation, order distance, stop-limit offset, stop loss, take…

ExecutionRisk managementPosition sizing
MQL5 code base

This guide describes a MetaTrader 5 script that creates a prompt file for customizing an AI assistant’s response language, persona, and numbered menu. Users can generate the file, apply it in the assistant, and edit the instructions, menu labels, and actions…

ExecutionRisk managementMachine learning
Hummingbot docs

This roadmap sets out plans to develop Hummingbot from a market-making client into a framework for building and running cross-venue algorithmic strategies. Priorities include improving support for selected centralized and decentralized exchange connectors,…

CryptoMarket makingExecutionTechnical indicators
MQL5 code base

The document explains how to size a forex position so that a stop-loss represents a chosen amount of account-currency risk. It distinguishes three currency relationships: a pair whose quote currency matches the account currency, a pair whose base currency…

ForexPosition sizingRisk managementExecution
OctoBot

This guide explains how to route OctoBot exchange requests through a proxy. It identifies two reasons: keeping a consistent outbound IP address for exchange IP allowlisting, and continuing to use the same IP while traveling. The instructions focus on setting…

CryptoExecutionMarket microstructure
Hummingbot docs

This architecture overview describes how Gateway connectors can expose decentralized exchange operations through a consistent interface. A connector coordinates configuration, SDK access, and protocol methods; route handlers validate incoming HTTP requests,…

CryptoDeFiExecution