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

pyfolio

This code provides several ways to assess how a backtested equity portfolio might interact with market liquidity. It aggregates executed shares by ticker and day, compares those totals with daily bar volume, and identifies each name’s largest observed share…

EquitiesRisk managementExecutionBacktesting
vn.py

This guide explains how pre-trade controls can block orders that exceed preset limits, helping reduce accidental oversizing, excessive order flow, and other operational errors. It describes common controls for order frequency, reset intervals, single-order…

Risk managementExecutionPosition sizingBacktesting
SuperMind

This note describes a daily A-share selection rule using price amplitude of at least 1, turnover between 2% and 9%, and a ranking by today’s auction amount, with the top five stocks selected. Its stated aim is to combine a measure of price movement with…

EquitiesChina marketsTechnical indicatorsExecution
OctoBot

This guide explains grid trading as a method of placing buy and sell orders at preset price intervals. As price moves through the levels, the orders aim to capture the difference between purchases and sales without requiring a forecast of the overall…

Grid tradingVolatilityRisk managementExecution
Kraken Learn

A stop-limit order combines a trigger price with a limit price. When the market reaches the stop, the exchange places a limit order at the specified price, allowing the trader to define when an order activates and the least favorable price they will accept.…

CryptoExecutionRisk managementBreakout
vn.py community

The post explains how a vn.py strategy can retrieve account positions and active orders through the main engine. It identifies the returned objects as position and order records, with fields such as instrument, direction, quantity, average price, profit and…

ExecutionRisk managementFutures
BigQuant

This forum post documents a BigQuant workflow in which LightGBM finishes running, but the subsequent score-to-position step fails because its query orders predictions by a column named score that is absent from the input dataset. The error identifies the…

Machine learningExecutionPortfolio constructionChina markets
FMZ forum

This tutorial describes a simple spot arbitrage approach across two cryptocurrency exchanges: buy on the venue with the lower price and sell on the one with the higher price when the spread is large enough to cover trading costs. It explains that the…

CryptoSpot marketsArbitrageExecution
Cryptohopper blog

The article explains a trailing-stop approach for managing crypto positions during a rising altcoin market. A trader first enters manually or through a signal, then sets a profit threshold that activates a stop. As the price rises, the stop follows the…

CryptoTrend followingRisk managementExecution
MQL5 code base

The document describes a chart-based dashboard for monitoring bid and ask prices in real time. It summarizes consecutive price movement, tracks directional strength with decay, and displays market pressure in a color-coded histogram. Tick-driven updates are…

Market microstructureTechnical indicatorsExecution
MQL5 code base

The document explains a simple automated strategy that opens a position only when none are active, then chooses buy or sell through a pseudo-random even-or-odd result. It describes how the order uses configured trade size, slippage, stop-loss, and…

StatisticsRisk managementExecution
ProRealCode

The Liquidity Thermal Map displays recent trading volume across 31 price bands behind a price chart. It sets the bands from the high-low range over a selected lookback, then assigns each bar’s volume to the band nearest its close, often including an adjacent…

Technical indicatorsMarket microstructureExecution
MQL5 code base

This MetaTrader indicator displays how much of a selected bar’s duration has elapsed, expressed as a percentage. Its input settings allow the user to choose a fixed timeframe, so the progress shown can refer to bars from a timeframe different from the chart…

Technical indicatorsExecution
MQL5 code base

This document describes an interactive chart crosshair indicator for MetaTrader that displays candle information while the cursor moves across a chart. Its information line can show bar distance, OHLC prices, total range, body and wick proportions, tick…

Technical indicatorsMarket microstructureExecution
MQL5 code base

The document describes an Expert Advisor that trades when the Dots indicator changes color at a bar close. It gives a high-level entry signal rule based on that change, and notes that the strategy requires a compiled indicator file to run. A supporting…

ForexTechnical indicatorsExecutionBacktesting
BigQuant

This research summary explains how turnover controls affect portfolio construction and factor evaluation. Portfolio weights change as risk estimates and expected returns change, while portfolio constraints and relative stock performance can impose a minimum…

EquitiesPortfolio constructionFactor investingExecution
BigQuant

This overview characterizes quantitative futures trading through four themes: execution speed, short holding periods, flexible intraday exposure, and trading both long and short. It emphasizes that activity may cluster around the open and close, when…

FuturesHigh-frequency tradingExecutionRisk management
Binance API docs

This glossary explains spot pegged orders, which derive a limit price from the order book instead of requiring a fixed price. A primary peg references the best price on the same side of the book; a market peg references the best price on the opposite side.…

Spot marketsExecutionMarket microstructureRisk management
FMZ forum

This tutorial explains a strategy framework that connects custom signal functions to exchange objects and translates their returned commands into trading actions. Its examples attach a moving-average crossover system to one exchange and a MACD crossover…

Trend followingTechnical indicatorsExecutionRisk management
Stratmill research code

This tutorial describes a high-frequency grid strategy that places passive limit orders at regular intervals around the mid-price. It maintains a fixed number of buy and sell levels, refreshes orders as the market moves, and limits new orders based on the…

FuturesCryptoGrid tradingMarket making
MQL5 code base

The document describes a MetaTrader 5 utility for recording real-time ask and bid ticks to a CSV file. Users can choose the output filename, column delimiter, and timestamp format. The timestamp records local computer time when each tick arrives, with…

Market microstructureHigh-frequency tradingExecution
Binance API docs

This exchange note explains how spot market orders consume the best available prices and liquidity until the requested quantity is filled or the order book cannot supply more. It distinguishes insufficient account balance, which causes rejection, from…

Spot marketsExecutionMarket microstructure
pysystemtrade

This document is a partial directory linking futures symbols to exchange product pages. It covers contracts across energy, metals, equity indexes, currencies, interest rates, and volatility. The stated use is practical: consult exchange data to investigate…

FuturesExecutionMarket microstructure
MQL5 code base

This document describes a MetaTrader 5 chart indicator that displays time remaining until the next candlestick while a market is open, or until the next market opening while it is closed. It says the countdown adjusts for weekdays and weekends and uses…

Technical indicatorsExecution