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

The document argues that traders can build consistency by specializing in a small number of clear setups instead of continually searching for a perfect strategy or new indicator. It recommends using the same market, time frame, and entry and exit rules, and…

Risk managementExecution
MQL5 code base

The document describes a simple expert advisor that watches for an inverted quote, where the ask is below the bid. When that condition appears, it opens a sell position and closes it immediately, attempting to capture the unusual spread. The idea depends on…

ArbitrageMarket microstructureExecution
MQL5 code base

This document describes a trading-platform expert advisor for managing open orders. It can apply take-profit, stop-loss, and trailing settings to orders, including orders placed from a mobile device. The described tool is not limited to a particular magic…

ExecutionRisk management
vn.py community

A trader reports that a local stop order on a simulated Chinese futures account triggered after a long position was opened, but the resulting fill was far below the displayed stop level. The discussion explains that the stop order’s displayed price is its…

FuturesExecutionMarket microstructure
MQL5 code base

This short description explains a chart-operated tool for modifying the stop-loss or take-profit levels of every open order on the chart’s current instrument. The user drags the script to a price level: placing it below the current market price changes stop…

ExecutionForexRisk management
FMZ forum

The article describes slippage as the gap between an intended price and the actual fill, and attributes its size to both network delay and the speed of price movement. It argues that backtests and simulated trading can understate this effect because they do…

ExecutionMarket microstructureBacktestingRisk management
ProRealCode

This document describes a configurable backtest strategy for several TheStrat price-action patterns. It classifies bars as inside, outside, two-up, or two-down, then tests selected continuation and reversal combinations, including 2-1-2, 3-1-2, 3-2-2, 1-2-2,…

FuturesTechnical indicatorsBacktestingRisk management
MQL5 code base

This indicator lets a trader place a sloping trend line on a price chart and use it as an alert trigger. On first launch, the line is inactive; moving it to the desired chart level activates it. When price reaches or crosses the trigger line, the indicator…

Technical indicatorsBreakoutExecution
MQL5 code base

The document outlines a MetaTrader 5 framework for backtesting event-driven strategies using historical economic calendar data. A retrieval script collects past events over a selected date range and saves country, event, and timestamped value data in files…

BacktestingEvent-drivenExecution
Lumibot

This example demonstrates how to run a local backtest with synthetic minute-level prices and a simple strategy. The strategy waits for its first trading iteration and then submits a buy order for one share of a demonstration stock. The backtest uses a small,…

BacktestingExecutionEquities
vn.py community

A user asks whether VeighNa can connect to CITIC Securities after finding no suitable trading interface in a local installation. They explain that they cannot use CITIC Securities’ QMT service because they do not meet its stated capital requirement. The…

EquitiesChina marketsExecution
vn.py community

This article outlines the engineering challenges of researching and backtesting systematic options strategies. Because listed contracts change over time, a historical test needs an accurate record of which contracts were available on each date. The described…

OptionsBacktestingVolatilityExecution
Lumibot strategies

This code outlines a short strangle on SPY: sell one out-of-the-money call and one out-of-the-money put, using strikes set about five percent above and below the current share price. It targets an expiration roughly 45 days away and checks positions once per…

OptionsEquitiesRisk managementExecution
BigQuant

The document discusses whether stochastic-process mathematics, including Brownian motion, still matters as machine learning becomes more common in quantitative finance. It presents several practitioner views: stochastic calculus has a stronger role in…

Machine learningStatisticsDerivatives pricingExecution
Hummingbot docs

This Hummingbot reference page catalogs scripts and strategies that connect Gateway to decentralized exchange markets. The listed examples cover AMM data monitoring, token swaps, liquidity-position management, arbitrage between centralized and decentralized…

CryptoDeFiArbitrageMarket making
FMZ forum

This short trading-log excerpt shows a close signal appearing even though the position was reportedly still open. The accompanying note says a close at 19:21 was manual. Earlier entries show repeated buy orders rejected by Binance futures with an…

CryptoFuturesExecutionRisk management
vn.py community

A forum user asks whether a custom multi-data-source gateway written for the community edition can be loaded in VeighNa Elite. A respondent says custom gateways are supported in the live trading version, while the simulation version does not support them.…

Execution
vn.py community

This VeighNa CTA example implements a two-sided grid that begins with equal long and short positions after its bar manager has initialized. It checks each completed 15-minute bar against a moving reference price, using a fixed distance between grid levels.…

FuturesGrid tradingPosition sizingExecution
Freqtrade docs

This documentation page catalogs Freqtrade features and settings that have been deprecated or removed, then explains migration implications for strategies and stored market data. It covers command-line options, pairlist configuration, strategy interfaces,…

FuturesBacktestingExecutionMachine learning
SuperMind

This note describes a Chinese equity screen for stocks listed in 2021, with turnover between 3% and 12%, that did not close at the upper price limit on the prior day. It presents the conditions as a way to combine trading activity, listing vintage, and a…

EquitiesChina marketsExecution
vn.py community

A trader asks why positions disappeared from a trading interface after restarting a CTA strategy, despite earlier opening both long and short positions. The discussion distinguishes the strategy’s locally stored logical position from the account’s actual…

FuturesRisk managementExecution
MQL5 code base

The document explains the Count Back Line (CBL) as a short-term trend confirmation and entry tool, intended to be used after other signals suggest a possible reversal. It describes combining CBL with trend lines and the Guppy Multiple Moving Average to…

Technical indicatorsTrend followingBreakoutExecution
MQL5 code base

The document describes a MetaTrader example for retrieving the highest and lowest bar prices over a specified interval covering the previous 24 hours. It identifies keyboard shortcuts for searching for the high or low, and says the example uses the…

Technical indicatorsExecution
MQL5 code base

The indicator identifies a completed candle that crosses a moving average and locates the preceding crossing. It draws a rectangle spanning the bars between those two events. The rectangle’s upper and lower boundaries are presented as possible take-profit…

Technical indicatorsRisk managementExecution