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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

9,660 documents

FMZ forum

This article lays out a strategy-development process that begins with a reasoned model based on market observation, data analysis, and mathematical reasoning. It then moves through implementation, historical backtesting, simulation against live market data,…

BacktestingExecutionRisk management
NautilusTrader

This guide explains how a trading system models market and limit orders, conditional order types, execution instructions, and linked orders. It distinguishes aggressive orders that take liquidity from passive orders that rest, and describes local, in-flight,…

ExecutionMarket microstructureRisk management
MQL5 code base

The Expert Advisor demonstrates how to move positions from an expiring futures contract to its successor. It manages three instruments specified through input parameters. For each instrument, the configured volume determines both the position size and…

FuturesExecutionPosition sizingPortfolio construction
MQL5 code base

This document describes an Expert Advisor that trades signals from a separate EMA-based semaphore indicator. It enters when a bar closes and a new colored arrow appears, so the indicator supplies the directional signal while the EA handles trade execution.…

ForexTechnical indicatorsBacktestingExecution
MQL5 code base

The Trend Finder Expert Advisor is described as entering trades when price breaks a historical minimum or maximum. It is intended for major forex pairs and NASDAQ-listed stocks across timeframes, and the document says it trades using the open price of the…

ForexEquitiesBreakoutExecution
OctoBot

This guide describes a flexible grid trading mode for spot markets. Instead of starting from a chosen number of open orders, the trader specifies upper and lower price bounds along with grid spacing and increments. The system then determines the required buy…

CryptoGrid tradingSpot marketsExecution
BigQuant

The document discusses why a strategy's historical backtest may select different securities or rebalance on different dates than a submitted simulation. It describes cases where simulation begins between scheduled rebalances or after a rebalance close, and…

BacktestingEquitiesSpot marketsExecution
MQL5 code base

This document describes updates to an MT4 indicator for Asian-session range breakouts. The tool includes an ATR-based candle-body quality filter, a dashboard, and alerts intended not to repaint. The update focuses on implementation behavior: correctly…

ForexBreakoutVolatilityTechnical indicators
MQL5 code base

This document describes an expert advisor intended to check a broker’s order execution and spread. It is attached to a chart and sends a Buy Stop order 100 pips away from the current price, then modifies that order. The order activity provides a way to…

ExecutionMarket microstructure
vn.py community

A VeighNa community exchange explains how to handle overnight positions when using a DA interface. The response recommends scheduling a system restart after the overseas exchange closes, then starting the strategy again without removing and re-adding it. The…

ExecutionRisk managementFutures
BigQuant

The post describes adapting a daily macro timing tool so its computed signals are written to a table that strategies can query. The underlying process derives timing information from macroeconomic data using a series of calculations; the table is intended to…

Multi-assetEvent-drivenExecution
MQL5 code base

This expert-advisor strategy enters a position when the ColorPEMA_Digit indicator changes color at a bar close. It includes an optional time-based exit: when a trade has been open longer than a preset number of minutes, the position is closed immediately.…

ForexTechnical indicatorsBacktestingExecution
MQL5 code base

This brief describes a trade-management tool that closes positions associated with the chart's symbol when their combined profit or loss reaches configured thresholds. It treats positions for that symbol separately from positions in other symbols, and…

Risk managementExecution
vn.py community

A trader reports an error while running an rb-hc spread strategy in a simulated environment. The failure occurs when the strategy attempts to convert its current grid position into an integer target position, but the value is NaN. The trader suspects that a…

CommoditiesPairs tradingStatisticsExecution
MQL5 code base

This example explains how a MetaTrader indicator can use an iCanvas library to draw an interactive overlay on a price chart. A timer checks whether the mouse has moved; when it has, the indicator redraws a soft spot, a price information panel, crosshairs,…

Technical indicatorsExecution
MQL5 code base

ICE is presented as an aggressive momentum system that seeks strong price impulses and validates them before entry. Detection combines volume with candle-body strength relative to volatility. Confirmation uses a moving-average slope and volatility and spread…

MomentumBreakoutVolatilityRisk management
vn.py community

A VeighNa community exchange addresses a CTA strategy whose indicators appeared unchanged after live initialization, while the strategy still placed orders. The user mentions a Dual Thrust strategy and uncertainty about whether a period running in no-UI mode…

FuturesExecutionBacktesting
NautilusTrader

The document explains how a trading platform defines local synthetic instruments by applying formulas to prices from one or more component instruments. These derived prices can feed strategies and data actors, support derived quotes, trades, and bars, and…

Market microstructureExecutionStatistics
vn.py community

The discussion explains two data needs when running simulated trading in VeighNa. For live simulated trading, the platform must connect to a market interface, with a test account and CTP given as examples, so it can receive real-time quotes. For historical…

BacktestingExecutionMarket microstructure
FMZ forum

The article explains the interaction between a futures platform’s direction setting and its Buy or Sell order call. Based on the author’s manual tests, the order call determines whether a position is opened long or short: Buy opens a long position and Sell…

FuturesExecutionMarket microstructure
SuperMind

The post asks whether a backtesting or simulation setup's commission setting includes the stamp tax charged on stock sales in mainland China. The author says that, for frequent portfolio turnover, this tax could materially reduce estimated returns compared…

EquitiesChina marketsBacktestingExecution
MQL5 code base

The Expert Advisor described here searches a chosen number of recent bars on a configurable timeframe for the highest high and lowest low. It then places a Buy Stop above the high and a Sell Stop below the low, with the distance set by an indentation…

ForexBreakoutExecutionBacktesting
NautilusTrader

This example configures an execution test strategy for a centralized exchange sandbox. At startup, the strategy can open a position with an immediate-or-cancel order, then maintain post-only limit orders on both sides of the book. On shutdown, it is…

ExecutionMarket microstructurePerpetual futures
MQL5 code base

The document describes a simple way to remove objects cluttering a chart while keeping the chart itself. It suggests placing a cleanup script in the platform’s scripts folder and dragging that script onto the chart. The intended result is a fresh chart…

ExecutionTechnical indicators