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

BigQuant

This short forum post asks whether a linear equity strategy can compare a stock’s ranking when purchased with its current ranking and sell after sufficient deterioration. The example uses a small-capitalization strategy holding ten stocks: a stock bought at…

EquitiesFactor investingExecutionBacktesting
Cryptohopper blog

The guide explains what a crypto market ticker typically contains: last price, best bid and ask, rolling 24-hour change, high and low, volume, and a timestamp. It shows how these snapshots can support broad scans for top movers, unusual volume relative to a…

CryptoSpot marketsMarket microstructureArbitrage
MQL5 code base

This document outlines an Expert Advisor designed to automate potential entries identified by candlestick formations. The user selects whether the EA should look for bullish or bearish setups and specifies trade volume. For bullish conditions, it lists…

Technical indicatorsForexExecutionPosition sizing
vn.py community

This short forum exchange explains why a vn.py CTA strategy receives trade notifications through only one `on_trade` method when both the base template and the strategy define that callback. The strategy inherits from the template, and defining `on_trade`…

Execution
Hummingbot docs

This guide explains how Hummingbot organizes automated trading into executors, scripts, controllers, and a market data provider. Executors handle a bounded order workflow, including placing, managing, and closing orders. Scripts run continuously and suit…

ExecutionMarket microstructureBacktesting
NautilusTrader

This document explains how a backtest matching engine assigns fill prices across depth books, top-of-book data, and bar-based triggers. Market orders can walk available levels; limit orders use crossed prices when taking liquidity and their limit when…

BacktestingExecutionMarket microstructureRisk management
Hummingbot docs

These release notes describe Hummingbot 1.19.0, focusing on a developing modular strategy framework and early dashboard tools for managing bots and backtests. The framework separates market data candles, controllers that choose actions, and executors that…

CryptoGrid tradingArbitrageMarket making
FMZ forum

This tutorial develops an earlier cryptocurrency spot hedging bot for trading price spreads between two exchanges. It adds optional spot margin mode switching for Binance, separate trigger thresholds for trades in each direction, chart lines and live spread…

CryptoSpot marketsArbitrageExecution
MQL5 code base

This document describes an MT4 expert advisor designed to manage trades using virtual take-profit, stop-loss, breakeven, and trailing-stop levels. Because these levels are maintained by the advisor rather than sent as broker-side orders, the page says the…

ExecutionRisk managementPosition sizing
MQL5 code base

This trading script opens a limit order at the price of a specially labeled chart line when triggered by a hotkey. A line above the current price produces a buy limit, while one below produces a sell limit. The user configures the lot size, maximum stop-loss…

ExecutionPosition sizingRisk managementForex
MQL5 code base

This document describes an automated trading system driven by a Spearman rank correlation histogram indicator, with signals evaluated at bar close. It presents three ways to trade the indicator: enter and exit on zero-line breaks; enter in overbought or…

ForexTechnical indicatorsBacktestingExecution
FMZ forum

The article introduces calendar spread arbitrage as opposing positions in contracts on the same underlying asset with different maturities. It describes monitoring the price difference between crypto contracts and acting when the spread widens beyond a…

CryptoFuturesArbitrageMean reversion
SuperMind

This Chinese-language post presents a short-term A-share stock screen focused on the metaverse industry. It combines appearance on the prior day’s 龙虎榜, a list highlighting unusual trading activity, with auction-period indicators for large and very large buy…

EquitiesChina marketsEvent-drivenExecution
BigQuant

A brief forum exchange addresses a user whose stock strategy appears not to run. The response suggests two checks: use English names for features, and print the daily buy and sell candidate lists to see whether any stocks meet the strategy’s conditions. The…

EquitiesExecution
vn.py community

A trader asks where an individual can access tick-by-tick trades that include buyer or seller initiation, intending to calculate aggressive buying and selling volume at each price for an order-imbalance strategy. The reply says that ready-made aggressor-side…

Market microstructureExecutionStatistics
MQL5 code base

The document describes a script intended to compare MetaTrader 4 and MetaTrader 5 performance on a computer or hosted server. It combines procedural and object-oriented tests covering calculations, arrays, sorting, strings, graphical objects, canvas…

StatisticsBacktestingExecution
SuperMind

The document demonstrates how to adapt a simple Chinese equity strategy from the JoinQuant platform to Tonghuashun SuperMind. The example uses a five-day average: it buys a stock when the latest price exceeds the average by one percent and available cash is…

EquitiesTechnical indicatorsExecutionChina markets
MQL5 code base

This document describes a MetaTrader Expert Advisor that places a grid of pending orders around the current market price. When there are no open positions or pending orders, it submits five Buy Limit orders below the price and five Sell Limit orders above…

Grid tradingRisk managementExecution
MQL5 code base

This document describes an automated trading bot that connects machine-learning models trained in Python and converted to ONNX format. It presents configurable controls for risk-based or fixed lot sizing, order limits, stop loss, and take profit, and notes…

ForexMachine learningExecutionRisk management
BigQuant

This Chinese-language post discusses connecting BigQuant research with Guojin Securities’ QMT platform for automated live trading. Its concrete example is a stock strategy that first processes daily data to select a watchlist, then monitors those names and…

China marketsEquitiesBreakoutHigh-frequency trading
MQL5 code base

This listing explains a chart indicator intended to make the ask side of the market visible. It draws candle upper shadows using the ask price, allowing a trader to see the gap between bid and ask on the chart. The stated use case is short time frames, where…

Technical indicatorsExecutionMarket microstructure
MQL5 code base

This Expert Advisor description outlines a simple entry approach based on consecutive directional candlesticks rather than technical indicators. A trade signal occurs when a configurable number of candles are all rising or all falling; the input parameter…

Technical indicatorsBacktestingExecutionCommodities
MQL5 code base

This document describes an MT4 expert advisor that places one-cancels-the-other orders alongside one-pip limit and stop orders. It lists global variables for buy and sell limit or stop prices, plus a confirmation setting used to enable the advisor after…

ExecutionForexRisk management
FMZ forum

Grid trading places orders at regular price intervals above and below a reference level to seek gains from market fluctuations without requiring a directional forecast. The described design opens successive buy orders as price falls, then places a sell…

Grid tradingVolatilityRisk managementExecution