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

vn.py community

The document describes a vn.py and CTP gateway modification for creating live commodity futures indices and identifying each product’s dominant contract. It proposes weighting real contracts by their previous day open interest, selecting a main contract only…

FuturesCommoditiesMarket microstructureExecution
MQL5 code base

The document describes a two-sided pending-order grid with three stages. It begins with a symmetric ladder, increases the opposite side’s pending size after the nearest level fills, and switches to a doubling sequence after either side has two fills. Filled…

Grid tradingRisk managementPosition sizingExecution
vn.py

This reference catalogs calculation functions available in the VeighNa Elite Trader CTA module. It groups common tools by their required inputs and outputs, covering moving averages, momentum and rate-of-change measures, volatility, trend strength and…

Technical indicatorsFuturesExecution
MQL5 code base

This short description covers a MetaTrader utility script for calculating a properly rounded lot size from a user-specified input. It also reports auxiliary symbol constraints, including the maximum permitted lot, the lot increment, and the minimum stop…

Position sizingRisk managementExecution
SuperMind

This brief Chinese-language post describes a single-factor timing experiment based on a volatility-difference approach. The author says the test was inspired by a Guosen Securities study on timing with directional volatility differences. The post provides no…

VolatilityFactor investingBacktestingExecution
vn.py community

The forum thread discusses converting one-minute market bars into daily bars in VeighNa. The assistant presents two approaches: use the framework’s BarGenerator with a daily interval and a configurable session end, or maintain a custom daily bar by updating…

FuturesEquitiesExecution
MQL5 code base

The document explains an Expert Advisor approach to managing positions on the current trading symbol. When enabled, it can add an initial stop loss and take profit to positions that lack either setting. For buy positions, those levels are calculated from the…

Risk managementExecutionPosition sizing
FMZ forum

This reference compares order and position query behavior across 21 futures venues. For order retrieval, it records whether an endpoint is paginated, whether the request path or parameters vary by contract type or settlement currency, and when multiple…

FuturesOptionsExecutionMarket microstructure
SuperMind

The document describes an MT5 dashboard indicator that scans selected symbols and timeframes for candles with prominent upper or lower wicks. Configurable rules include wick share of the candle range, minimum range and body size, a cap on the opposite wick,…

Technical indicatorsVolatilityMulti-assetExecution
MQL5 code base

The document describes an Expert Advisor that monitors existing horizontal chart lines and issues a signal after a candle finishes breaking through one. It is therefore a rule for detecting confirmed crossings of user-defined price levels, rather than a…

BreakoutTechnical indicatorsExecution
Zipline

This small Zipline example selects Apple shares during initialization and configures per-share commission and volume-share slippage. On every data callback, it submits an order for ten shares and records the current share price. The example therefore…

EquitiesExecutionBacktestingRisk management
MQL5 code base

The document describes an indicator that displays selected trading account and instrument settings, including leverage, stop levels, margin call and stop out thresholds, point value, and current spread measures. It also identifies display controls such as…

Risk managementExecutionMarket microstructure
MQL5 code base

This Expert Advisor trades a price channel during configured hours. At the start of the trading window, it places limit orders at both channel boundaries and sets take-profit levels toward the opposite boundary. It uses no stop loss. At the end of the…

ForexMean reversionExecutionBacktesting
NautilusTrader

This example demonstrates how signal delivery behaves when an actor publishes another signal from inside its own signal callback. A backtest engine runs a publishing actor, an optional second subscriber, and an initial publisher. The first actor prints…

BacktestingExecution
MQL5 code base

This document outlines an Expert Advisor that uses a Heiken Ashi Smoothed Oscillator to generate buy and sell entries. It evaluates entry signals when a new bar appears, while checking trailing stops on each tick. The EA includes settings to enable trailing,…

Technical indicatorsForexRisk managementExecution
ProRealCode

This simple scalping indicator issues a long signal when the latest four closes form three consecutive increases, and a short signal when they form three consecutive decreases. It presents the buy and sell conditions as separate indicators, each returning a…

MomentumTechnical indicatorsExecution
QTPyLib

The document explains how QTPyLib’s Blotter connects to Interactive Brokers through TWS or IB Gateway, receives market data, and distributes updates to algorithms through ZeroMQ. It can also store tick and minute data in MySQL for later research and…

BacktestingExecutionMarket microstructure
FMZ forum

The document explains how strategy developers can attach metadata to rental registration codes and read it inside a strategy to set different usage limits for different customers. A strategy can map metadata values to operating tiers, then check account…

Spot marketsRisk managementPosition sizingExecution
Kraken Learn

The document introduces AI driven crypto trading bots and describes their intended role: analyze market data, identify patterns, and adjust trading decisions as conditions change. It contrasts these systems with discretionary trading, emphasizing continuous…

CryptoMachine learningBacktestingRisk management
BigQuant

The post reports a position-capacity discrepancy between simulated and live trading. A strategy was already fully invested on one day, yet generated another buy signal at the next market open. The author expected the simulation to reject the order for…

ExecutionRisk managementPosition sizing
BigQuant

This article argues that trading outcomes are probabilistic rather than precisely predictable. It challenges confidence in trend-following technical indicators, asserting that their directional accuracy can fall below half, but gives no tests, sample…

StatisticsTechnical indicatorsExecutionRisk management
MQL5 code base

This document describes a basic indicator that alerts when price touches a named trendline. Users configure the trendline name and the direction of the interaction, allowing the alert to distinguish among different kinds of touches or crosses. It also…

Technical indicatorsExecution
NautilusTrader

A trailing stop-limit order moves its stop trigger with favorable price changes, maintaining a set offset from a chosen market reference. Once triggered, it releases a limit order; the limit price can also adjust with the market before activation. The…

ForexExecutionRisk management
vn.py community

A VeighNa forum question asks how stock transaction costs are represented in backtests when sell-side stamp duty has a minimum charge. The question distinguishes commissions charged on both buys and sells from stamp duty charged only on sales, and asks…

EquitiesBacktestingExecution