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

NautilusTrader

This document explains how NautilusTrader’s shared network clients add trading-system behavior to HTTP, WebSocket, and raw TCP transports. It covers quota sharing, proxy selection, connection reuse, retries, response limits, streaming deadlines, and…

ExecutionMarket microstructureStatisticsRisk management
MQL5 code base

This MetaTrader expert advisor uses the Blau Ergodic MDI oscillator to generate trades. The described entry choices include reacting to a histogram direction change, a zero-line crossover, or a change in the signal cloud’s color. A configurable time window…

ForexTechnical indicatorsBacktestingExecution
FMZ forum

The document explains a portfolio construction approach that forecasts stock trading volume and uses the forecasts as a proxy for expected price impact. With trade size held fixed, lower volume implies a higher participation rate and greater expected impact,…

EquitiesMachine learningPortfolio constructionExecution
Freqtrade docs

This guide explains static and trailing stop losses, including trailing stops that switch to a tighter loss allowance after a profit threshold or begin trailing only after a specified offset. It also covers exchange-placed stops, comparing market orders,…

Risk managementExecutionPosition sizingPerpetual futures
NautilusTrader

A stop-limit order waits for a specified trigger price, then submits a limit order at the chosen limit. This combines a conditional trigger with control over the worst acceptable execution price, making it useful for price-protected exits or breakout…

ExecutionRisk managementForexBreakout
MQL5 code base

This document describes an alert-enabled version of a Spearman rank correlation histogram indicator. It can notify a trader when the histogram crosses zero, breaks through an overbought or oversold threshold, or exits one of those extreme zones. The alert…

Technical indicatorsStatisticsExecution
FMZ forum

This guide explains how to connect Interactive Brokers’ IB Gateway to the FMZ trading host on macOS. It describes Gateway as a lightweight API bridge between strategy software and IBKR, and contrasts it with Trader Workstation and IBKR Desktop. The host and…

EquitiesExecutionUS markets
vn.py community

This forum exchange addresses a VeighNa startup message saying that a data service module cannot be loaded, despite the user having installed VeighNa Station and the CTP package. A respondent attributes the message to an incorrect data feed name, then…

FuturesExecution
MQL5 code base

This short description presents an Expert Advisor that closes every position open in an account once the broker server time passes a configured deadline. Its inputs include the closing time and a maximum permitted price deviation, indicating that the close…

Risk managementExecution
Hummingbot docs

This guide explains how to deploy Hummingbot with Docker Compose, navigate its command-line interface, configure a script, and connect exchange API credentials. It walks through launching a directional futures script that uses the Relative Strength Index…

CryptoFuturesTechnical indicatorsExecution
Hummingbot docs

These release notes describe Hummingbot 1.20.0, centered on a V2 strategy framework for building modular strategies that can be backtested and deployed. The framework separates market data candles, controllers that coordinate strategy decisions, and…

CryptoMarket makingBacktestingExecution
MQL5 code base

This document describes a MetaTrader expert advisor for adjusting trade levels by dragging chart objects. Its central idea is direct drag-and-drop interaction implemented in MQL, without relying on system DLLs. The interface is intended to let traders move…

ExecutionRisk management
MQL5 code base

This document describes a chart indicator for estimating position size from a planned order, stop loss, and take profit. The trader adds a starter line to the price chart; the indicator then displays separate order, stop, and target lines that can be moved…

Position sizingRisk managementExecution
MQL5 code base

The document outlines a basic architecture for an expert advisor that combines multiple strategies. It proposes using an object for each strategy, with moving average groups as an example: one configured for weekly data and another for the current chart…

Technical indicatorsExecution
FMZ forum

This forum post describes a trader who can open a Binance perpetual futures position but cannot sell to close it. The reported error says the order direction is invalid, even though the poster believes the decimal precision and close-long setting are…

CryptoFuturesPerpetual futuresExecution
vn.py community

This forum exchange explains how to guide an AI assistant when generating VeighNa CTA strategy code. It recommends supplying a focused set of references instead of the entire codebase: the CTA base class, the ArrayManager indicator API, and one or two…

Machine learningTechnical indicatorsExecution
vn.py community

A VeighNa community exchange answers whether the `self.sync_data()` method is available in version 2.5.7 spread-trading strategies. A user reports that the method works in CTA strategies but raises an error when called from a spread strategy while attempting…

Pairs tradingExecutionMarket microstructureStatistics
NautilusTrader

This tutorial explains a two-input market-making setup for a Lighter perpetual linked to Nvidia shares. The Lighter order book supplies the price anchor, while Databento US equity top-of-book quotes provide a normalized signal: the equity mid is compared…

Market makingEquitiesCryptoPerpetual futures
MQL5 code base

This document outlines an expert advisor that trades from the Fractals indicator and evaluates signals only when a new bar appears. A newly detected upward fractal produces a sell signal and closes buy positions; a downward fractal produces a buy signal and…

Technical indicatorsExecutionPosition sizing
BigQuant

This Chinese-language document summarizes the development and adoption of algorithmic trading, describing early automated portfolio trading in the United States, later growth alongside computing, and broader access through commercial trading platforms. It…

ExecutionMarket microstructureArbitrage
BigQuant

The document answers a strategy implementation question: how to prevent a stock from being bought again for a specified period after a prior trade. Its proposed approach is to record the relevant date when a position is sold, then compare that stored date…

EquitiesExecutionBacktesting
FMZ forum

The document explains two ways traders can conceal order size from a public order book. A reserve order is hidden from view, so displayed depth understates the actual quantity at a price. An iceberg order displays only a small portion of a larger order; as…

Market microstructureExecutionHigh-frequency trading
FMZ forum

The document examines a vulnerability in market-making systems that create apparent trading activity through rapid self-trading. It explains that simultaneous or closely timed buy and sell orders may not execute as intended because of network and matching…

CryptoMarket makingHigh-frequency tradingExecution
FMZ forum

This guide explains how to connect a dYdX account to the FMZ quantitative trading platform, with a focus on perpetual contracts, which FMZ identifies as swaps. It lists the API and Stark key credentials required and describes obtaining them after creating an…

CryptoPerpetual futuresExecution