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

SuperMind

This article describes an A-share overnight trade designed around the T+1 settlement rule: buy after 2:30 p.m. and sell at the next session’s opening auction or first moment, regardless of profit or loss. Its six filters seek stocks rising 3% to 5% that day,…

China marketsEquitiesMomentumTechnical indicators
BigQuant

This research summary describes an A-share market-impact model intended to narrow the gap between simulated strategy returns and realized portfolio returns. It argues that applying one fixed slippage rate cannot reflect how impact varies across stocks,…

EquitiesExecutionMarket microstructurePortfolio construction
FMZ forum

This essay explains the distinction between zero-sum and negative-sum trading. Before costs, one participant’s gain in a transaction corresponds to another participant’s loss; after commissions, spreads, or other fees, the combined outcome for traders is…

StatisticsRisk managementExecution
SuperMind

This Chinese equity screen selects main board stocks with a daily amplitude above 1, an opening gain greater than 1% relative to the prior close, and a top-five rank by auction trading value. The proposed combination targets active stocks showing both price…

EquitiesChina marketsMomentumVolatility
SuperMind

This document presents a code-heavy Chinese equity strategy built around a third-party stock screener. It describes buying candidates from the screen, limiting the portfolio to a fixed number of holdings, and checking positions once per day. A position…

EquitiesChina marketsRisk managementPosition sizing
MQL5 code base

This document describes a small cross-platform library for comparing floating-point values used in trading code. Its comparison helper applies a chosen precision so that prices or quantities can be checked against thresholds without repeatedly calling a…

ExecutionStatistics
NautilusTrader

This guide explains how a backtest engine turns each OHLCV bar into four synthetic book updates, processes resting orders along that path, and dispatches the completed bar to strategies afterward. It covers timestamp conventions, venue and book requirements,…

BacktestingExecutionMarket microstructure
vn.py community

This short Chinese-language post asks how to retrieve position data from a CTP trading gateway. The author shows a connection sequence that loads gateway settings, initiates a connection, pauses for login and initial contract, account, and position queries,…

FuturesExecutionMarket microstructure
vn.py community

This brief Chinese forum reply addresses a user whose CTP connection is failing without producing log output. It explains that an “inactive front end” status means the CTP server is currently unavailable, and suggests trying again during trading hours. The…

FuturesExecution
vn.py community

This forum exchange addresses a connection failure encountered while following a VeighNa tutorial on retrieving option quotes through the CTP interface. The questioner has authorization for a futures broker’s test account and asks whether completing…

OptionsFuturesExecution
NautilusTrader

This example shows how to configure a live trading node to test order handling on the Deribit testnet. At startup, the built-in tester can open a position with an immediate-or-cancel order, then maintain post-only limit orders on both sides of the book. It…

CryptoExecutionMarket microstructure
MQL5 code base

The document describes an Expert Advisor that trades signals from the BSI indicator. A signal is generated when a bar closes and the indicator histogram changes color. The system requires a compiled BSI indicator file, and it notes that a supporting trade…

ForexTechnical indicatorsBacktestingExecution
Hummingbot docs

The document explains a grid trading executor that places buy and sell orders at evenly spaced prices between configured bounds. Each level has an order amount and take-profit target; the executor can handle spot or perpetual futures. It tracks level states…

Grid tradingExecutionRisk managementSpot markets
SuperMind

This note outlines a stock screen using daily price activity and trading volume. Its stated conditions are an intraday amplitude above 1, current volume above 10,000 lots, a higher open, and previous-day turnover above 60 million. The accompanying discussion…

EquitiesChina marketsTechnical indicatorsMomentum
Hummingbot docs

The guide explains how to configure Hummingbot Strategy V2 controllers to run market-making strategies for multiple trading pairs through one generic script. It walks through creating a separate controller configuration for each pair, setting values such as…

CryptoFuturesMarket makingExecution
MQL5 code base

This MetaTrader 4 expert advisor is designed as a chart-side control panel for manually managed trading. It displays the symbol, timeframe, account leverage, current spread, selected lot size, estimated tick value, required margin, and the profit or loss and…

ExecutionPosition sizingRisk managementForex
vn.py community

This brief forum exchange answers whether data sources for VeighNa, an algorithmic trading platform, are free. One user reports authentication errors while trying credentials from an example configuration for a Tushare integration. A respondent explains that…

ExecutionBacktesting
SuperMind

This script creates order labels from per-stock historical backtest data, then saves the resulting records in training, validation, test, and combined datasets. It rejects a stock’s data if it is empty, contains missing values, or has very small minimum…

BacktestingMachine learningExecutionMarket microstructure
Lumibot

This guide explains how to inspect an AI agent’s decisions during backtests and live or paper trading. It describes per-run Parquet records, per-call JSON traces, summary logs, and machine-readable artifacts. These records expose prompts, tool calls and…

BacktestingExecutionRisk management
MQL5 code base

This script description covers opening a position with stop-loss and take-profit distances specified in points from the current price. Its money-management input is intended to set deal volume in relation to the account deposit, expressing the funds used in…

Risk managementPosition sizingExecution
MQL5 code base

This indicator defines the Asian session high and low and plots them as horizontal reference levels. During the London session, it watches price action near those levels and signals confirmed breaks and retests. The described use is manual scalping around…

ForexBreakoutTechnical indicatorsExecution
vn.py community

This post describes a macOS setup problem connecting VeighNa’s CTP interface to a futures broker. The reported symptoms are an initial 4040 error followed by repeated 4097 errors. The author says the broker’s troubleshooting materials targeted Windows, while…

FuturesExecution
MQL5 code base

The document describes an Expert Advisor that places pending orders in both directions shortly before a scheduled economic release. If an order activates, the system trails its stop loss; after the release window, it removes pending orders that did not…

Event-drivenExecutionPosition sizingRisk management
FMZ forum

This tutorial introduces exchange API calls for retrieving account details, ticker data, historical candlesticks, and market depth. It explains that a primary exchange object refers to the first exchange in an array, and illustrates polling ticker data in a…

ExecutionMarket microstructureTechnical indicatorsCrypto