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

ProRealCode

This strategy trades five-minute Dow index bars when a bullish or bearish engulfing candle forms with a body exceeding a multiple of average true range. Two Bollinger-style bands, calculated from moving averages and standard deviations, provide trend…

FuturesTechnical indicatorsVolatilityRisk management
vn.py community

This forum exchange explains that a VeighNa CTA strategy’s operating interval depends on its implementation. A strategy can react to each incoming tick, process one-minute bars formed from ticks, or aggregate those bars into longer periods using a bar…

FuturesTechnical indicatorsRisk managementExecution
TqSdk

This guide explains how to use TargetPosTask to move a contract’s net position toward a requested target. Create one task per contract, set a positive, negative, or zero target for long, short, or flat exposure, and keep calling the update loop so the task…

FuturesExecutionPosition sizingMarket microstructure
Hummingbot docs

This Hummingbot guide explains how to cap the amount of a token that bots may use from an exchange or wallet. The feature is useful when multiple bots share an account and token, since it can constrain each bot’s usable balance. The guide describes setting a…

CryptoMarket makingRisk managementPosition sizing
MQL5 code base

This diagnostic note explains how a trading platform’s server clock, TimeCurrent(), can behave differently from the computer’s local clock, TimeLocal(). The server time may stop advancing when no market tick arrives, or move backward after events such as…

ExecutionMarket microstructure
Stratmill research code

This document describes a data-conversion workflow for preparing Hyperliquid market feeds for HftBacktest. It reads timestamped stream records, handles trade and level-two book messages, and converts them into typed depth and trade events using configurable…

CryptoMarket microstructureBacktestingExecution
MQL5 code base

The document introduces file handling in MQL as a way to write price values to local storage. It identifies a file-based trade copier as one possible application, where a program can save information for another process to access. It also describes using…

ExecutionStatistics
MQL5 code base

The document reports a historical test of a long-only EURCHF strategy on 15-minute bars, covering a short period in early 2014. Its listed settings include one-lot trades, a stop loss, a take profit, and a trailing stop. The report shows 67 completed trades,…

ForexBacktestingRisk managementExecution
vn.py community

This forum response outlines a debugging process for a cancel-all issue in VeighNa. It recommends confirming that the cancellation method is reached, logging active orders, checking their statuses, and issuing individual cancellation requests for orders that…

ExecutionMarket microstructure
SuperMind

This Chinese equity screen selects stocks associated with the metaverse theme when the previous day’s actual turnover rate is between 3% and 28% and floating shares do not exceed 5.5 billion. The turnover band is presented as a way to focus on stocks with…

China marketsEquitiesMarket microstructureExecution
Hummingbot docs

Hummingbot release 1.18.0, dated July 24, 2023, introduced platform and connector changes relevant to automated trading. The release upgraded the software to Python 3.10, added direct Uniswap pool quoting through QuoterV2 as an alternative to router-based…

CryptoExecutionTechnical indicatorsTrend following
BigQuant

This overview surveys the use of large language models and other AI methods across quantitative investing. It describes extracting sentiment and information from financial text, combining text with time-series data for market and risk forecasts, supporting…

Machine learningSentimentPortfolio constructionExecution
BigQuant

This practitioner essay presents risk management as a process spanning strategy research, deployment, live operation, and review. It recommends examining a strategy’s behavior in severe historical drawdowns, including whether losses remain controlled,…

Risk managementBacktestingExecutionPortfolio construction
MQL5 code base

The document describes a MetaTrader expert advisor that closes open positions for the current chart symbol once server time has passed a configured deadline. Its input settings include the closing time and a maximum permitted price deviation, expressed in…

Risk managementExecution
MQL5 code base

This MetaTrader 5 expert advisor evaluates price action on each new bar and trades three patterns: pin bars, engulfing candles, and inside bar breakouts. It can check signals against historical support and resistance, and its configurable moving average…

Technical indicatorsBreakoutMomentumPosition sizing
Stratmill research code

The Rust module outlines a connector for Binance USD-M futures that combines market data subscriptions, user account updates, and order management. It reads connection and credential settings from configuration, tracks registered symbols, and starts…

FuturesExecutionMarket microstructure
BigQuant

The document reproduces a pandas performance warning raised during a backtest while data is being written to HDF storage through PyTables. The warning says that a block of columns contains mixed object types that PyTables cannot map directly to its native C…

BacktestingExecutionStatistics
FMZ forum

This Chinese-language tutorial builds a simple automated moving average crossover strategy and explains its main loop, account queries, trade actions, logging, and polling interval. It uses separate fast and slow period settings for entries and exits, with…

Technical indicatorsTrend followingPosition sizingExecution
FMZ forum

The article compares retail algorithmic traders with institutional quantitative funds across trading capacity, market impact, strategy crowding, leverage, liquidity, information access, risk oversight, investor obligations, and technology. It argues that…

Risk managementExecutionBacktestingPortfolio construction
BigQuant

This broad educational overview introduces mathematical tools used in stock analysis and algorithmic trading. It covers descriptive statistics, including measures of central tendency and dispersion, and explains how visualizations can help reveal…

EquitiesStatisticsTechnical indicatorsRisk management
vn.py community

The discussion explains that VeighNa 2.7 does not provide built-in save-and-restore support for variables in spread trading strategies, even though CTA strategies have a dedicated data file. As a workaround, a community reply suggests saving selected values…

FuturesExecution
FMZ forum

This overview introduces seven sorting methods that may be useful when strategy code needs to order data: quicksort, merge sort, heapsort, selection sort, bubble sort, insertion sort, and Shell sort. It describes the central steps of most methods, including…

StatisticsExecution
NautilusTrader

This technical guide explains how NautilusTrader’s Interactive Brokers adapter connects to Trader Workstation or IB Gateway for market data, order execution, instrument discovery, and historical requests. It covers socket access, paper and live connection…

ExecutionMarket microstructureEquitiesFutures