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
WonderTrader
14 documents
Alphalens
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 note introduces a charting template intended to make strategy behavior easier to inspect during development and live monitoring. It draws real-time candlesticks and marks entries and exits on the chart. The author motivates the tool with a double moving…

Technical indicatorsExecutionBacktesting
BigQuant

This short Q&A shows a fixed-threshold exit rule for stocks and asks how to make the exit dynamic. For each held position, the example retrieves the cost price and latest market price, calculates the percentage change from cost, and closes the position when…

EquitiesRisk managementExecution
MQL5 code base

This Expert Advisor looks for a run of identical-direction candlesticks and trades in the direction of those candles: bullish runs prompt buys and bearish runs prompt sells. The number of consecutive candles required is configurable. The fifth version adds a…

Technical indicatorsMomentumRisk managementExecution
TqSdk

This example describes a futures strategy using the Volume Price Trend (VPT) indicator on daily bars. It updates VPT by adding volume multiplied by the latest percentage price change, then compares the current value with a moving average. A trade is…

FuturesTechnical indicatorsMomentumBacktesting
Hummingbot docs

The document explains an algorithmic strategy as a repeated cycle of collecting market and account data, processing it, and placing or cancelling orders. In Hummingbot, strategies read exchange data and user state on each clock tick, then apply logic…

CryptoExecutionMarket microstructure
MQL5 code base

This MetaTrader 5 Expert Advisor trades signals from the i_Trend oscillator. A signal is generated when a bar closes and the indicator cloud changes color, making the method dependent on confirmed bar-close changes rather than intrabar movement. Running the…

ForexTechnical indicatorsBacktestingExecution
vn.py community

This short support exchange explains how a VeighNa option strategy accesses its position state. A user asks whether the framework restores the previous day’s strategy positions in the same way as a combination strategy that reads saved JSON data. The…

OptionsRisk managementExecution
MQL5 code base

The document explains how to add notifications to a color-coded MetaTrader indicator. It introduces inputs for selecting the signal bar, enabling sound, limiting alert counts, and turning email or mobile push messages on or off. Separate buy and sell…

Technical indicatorsExecutionForex
BigQuant

The document describes a stock strategy that scores candidates with a neural network, buys up to three holdings, and aims to sell each after three trading days. It stores each stock and its entry-day index in a context list, then compares that index with the…

EquitiesPosition sizingExecutionBacktesting
MQL5 code base

This informative chart script displays selected trading conditions for the active pair in the chart’s upper-left area. The reported fields include the order freeze level, minimum and maximum trade sizes, lot increments, the minimum distance for placing…

ExecutionMarket microstructure
BigQuant

This post describes a live-order funding problem in an equities strategy. A buy signal was calculated using the previous close for 18,100 shares, while the stock opened higher and the trader submitted the order near the open using the fifth ask level. With…

EquitiesExecutionPosition sizingRisk management
FMZ forum

This forum post reports a rejected Bitcoin sell order on an OKCoin futures account. The submitted quantity was 5.99 BTC, and the exchange response said that the order quantity must be a multiple of the lot size. The accompanying logs show the displayed…

CryptoFuturesExecutionMarket microstructure
MQL5 code base

The document describes an indicator that groups broker tick quotes by server hour over a configurable history window. It reports median and 90th-percentile spreads, with optional mean and maximum statistics, and can compare the spread with a user-entered…

ForexMarket microstructureExecutionRisk management
MQL5 code base

The document explains a least-significant-digit radix sort that processes numeric values byte by byte, using 8-bit digits. It presents an MQL implementation intended for large arrays and describes support for several integer and floating-point types,…

StatisticsExecutionBacktesting
MQL5 code base

This document describes an expert advisor that offers several ways to move a stop as a trade progresses. The stop can follow price by a fixed point distance or use Parabolic SAR, ATR, moving averages, candlestick patterns, or fractals. It can also be set as…

Risk managementExecutionTechnical indicatorsBacktesting
MQL5 code base

This brief trading script description explains how a chart interaction can determine a price for a short pending order. Dragging the script onto a chart uses the drop price to choose between a sell stop and a sell limit order, depending on the price context.…

ExecutionRisk managementPosition sizing
MQL5 code base

This indicator utility helps programmers inspect values supplied through an OnCalculate call. It displays the most recent, previous, and first observed values, along with whether parameter arrays use series indexing. Users can change the series setting…

Technical indicatorsExecution
Hummingbot docs

These release notes describe trading infrastructure changes in Hummingbot 2.12. Dynamic order book initialization loads books only for trading pairs in use, which the notes say can reduce startup time and memory use for bots configured across many pairs. The…

CryptoPerpetual futuresSpot marketsExecution
MQL5 code base

The document describes a terminal script for exporting account history into a CSV trading journal. It selects deals from a user-chosen lookback period and groups them by position ID to reconstruct closed positions, including on netting and hedging accounts.…

ExecutionRisk management
SuperMind

This overview surveys recurring problems in quantitative trading, including unreliable or incomplete data, model risk, slippage and fees, parameter selection, real-time monitoring, and processing speed. It also discusses choosing machine-learning methods and…

Risk managementBacktestingExecutionMachine learning
TqSdk

This documentation explains design choices behind TqSdk, a Python trading software development kit. It aims to avoid imposing a strategy model: users can fetch data and issue orders freely, while examples demonstrate possible applications instead of…

BacktestingExecutionStatistics
FMZ forum

This beginner guide introduces common programmed trading approaches: arbitrage, trend following, grid or return strategies, and high-frequency trading. It also distinguishes system designs that handle one or many symbols, accounts, or strategy logics. For…

CryptoArbitrageTrend followingGrid trading
MQL5 code base

This short note describes an elementary trailing-stop function for managing orders. It explains that the function can identify which orders it should manage by checking the financial instrument and, optionally, the order comment and magic number. These…

ExecutionRisk management
BigQuant

This forum question concerns adding a moving-average exit condition to an AI stock-selection backtest. The proposed logic waits until a minimum holding period has passed, then examines positions in reverse StockRanker prediction order and sells eligible…

EquitiesTechnical indicatorsBacktestingExecution