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

MQL5 code base

This expert advisor monitors open positions across symbols and magic numbers. After a position has been open for a configurable number of seconds, it checks whether profit has reached a configured threshold in points. If the threshold is met, the advisor…

ExecutionRisk managementPosition sizing
MQL5 code base

The Simple_Grid expert adviser places pending orders at preset intervals above and below the current price. Users choose either stop orders or limit orders, set the distance to the first order, the grid spacing, the number of orders on each side, a…

Grid tradingExecutionRisk management
backtrader

This Backtrader example demonstrates a simple moving average crossover strategy and how cheat-on-open mode changes the timing of order decisions. It builds two moving averages, with configurable periods and moving-average type, then uses their crossover as…

EquitiesTechnical indicatorsBacktestingExecution
vn.py community

This short forum exchange concerns order and trade events that are not appearing inside callbacks in a spread strategy template. The questioner says the template passes those events to the relevant callback methods, but receives no visible output from the…

ExecutionMarket microstructure
SuperMind

The proposed stock screen selects shares whose turnover rate is between 3% and 12%, that were listed in the current year, and whose actual turnover on the referenced prior day is between 3% and 28%. The article frames these conditions as a way to find…

EquitiesTechnical indicatorsExecutionRisk management
ProRealCode

This indicator method turns a stair-step moving average into the center of an oscillator. It updates the trend center when a triangular moving average moves beyond a configurable percentage threshold; otherwise, the prior center is retained. A short simple…

FuturesTechnical indicatorsHigh-frequency tradingTrend following
MQL5 code base

This document describes an example of a multicurrency Expert Advisor that processes symbols one at a time in a loop. It uses a timer event to run trading logic independently of ticks arriving for any particular symbol, and Bollinger Band values provide the…

ForexTechnical indicatorsExecution
BigQuant

This short forum exchange explains how to configure BigQuant’s trading engine to rebalance on a weekly or monthly schedule. For weekly scheduling, it specifies the weekly trading-day mode and a day value of 5; for monthly scheduling, it specifies the monthly…

Portfolio constructionBacktestingExecution
FMZ forum

The document describes three high-frequency trading approaches through an example in which an institution splits a large stock order into smaller child orders. Liquidity rebate trading detects likely follow-on orders and provides liquidity to earn exchange…

High-frequency tradingMarket microstructureExecutionMarket making
OctoBot

This short description covers an indicator that displays the current spread on a trading chart. It says users can adjust the displayed font, text color, and font size, and choose where the spread label appears. Four chart corners are available through a…

ExecutionMarket microstructure
MQL5 code base

This article compares five platforms for automating cryptocurrency trades: OctoBot, CryptoHero, 3Commas, Cryptohopper, and Pionex. It describes available approaches such as grid trading, dollar-cost averaging, signal following, market making, and AI-assisted…

CryptoGrid tradingMarket makingBacktesting
MQL5 code base

Binario is an Expert Advisor that calculates exponential moving averages of the same period using high and low prices. The description says these averages adjust the system’s settings, but do not generate buy or sell signals. Instead, the EA alternates long…

ForexTechnical indicatorsRisk managementExecution
vn.py community

The discussion addresses whether a VeighNa strategy continues trading after the market closes and reopens the next day. The question assumes the trading interface remains open and asks whether the platform will automatically log in and resume the prior…

Execution
Hummingbot docs

The document explains a market-making setting in which a bot replaces filled orders as soon as it has no active orders. During a sustained price move, repeatedly refreshing both sides can lead the bot to keep buying into a decline or selling into a rise,…

CryptoMarket makingExecutionRisk management
FMZ forum

This note surveys seven pitfalls in quantitative investing: survivorship bias, look-ahead bias, storytelling, data mining, signal decay and trading costs, outliers, and asymmetric long-short payoffs. It explains how current index constituents can distort…

BacktestingStatisticsFactor investingPortfolio construction
Hummingbot docs

This document explains a single-pair spot market-making strategy. It places limit bids and asks at spreads from a reference price, then periodically refreshes orders. The description outlines a tick-based loop: check whether trading may proceed, obtain…

Market makingSpot marketsExecutionMarket microstructure
SuperMind

These reading notes survey high-frequency trading from market structure through strategy and infrastructure. They describe electronic order books, the roles of investors, market makers, arbitrageurs, and directional predictors, and how market makers earn…

High-frequency tradingMarket microstructureMarket makingArbitrage
MQL5 code base

This document describes two stop-management functions. A break-even rule moves the stop loss to the trade’s opening price after the market has moved favorably by more than a user-defined threshold. This is intended to remove the original price risk once the…

Risk managementExecution
FMZ forum

Automated trading uses software to monitor markets and place trades when predefined entry and exit conditions are met. Rules can range from simple moving average crossovers to custom strategies, with order types, timing, stops, and profit targets specified…

CryptoExecutionBacktestingRisk management
MQL5 code base

This brief description outlines an indicator-free expert advisor designed to trade sudden market moves. It places stop orders at a configured distance from the current price and adjusts them at discrete time intervals. When price moves sharply before the…

BreakoutExecutionVolatility
BigQuant

This forum post describes an AttributeError in a BigQuant high-frequency backtest. The copied trade-module code treats each key in the portfolio positions mapping as an object with a symbol attribute. In the HFTrade interface, the key is already a string…

BacktestingExecution
MQL5 code base

This MetaTrader 5 chart indicator displays the time remaining until the current candle closes alongside the current bid-ask spread in points. The timer refreshes every second, so it continues to update even when no new tick arrives, and also refreshes when…

Technical indicatorsExecutionMarket microstructure
BigQuant

This project explores combining strategies associated with different market styles. The author says market styles can persist over a period, so a strategy that fits a clearly expressed style may adapt better to prevailing conditions. They changed a provided…

Multi-assetPortfolio constructionExecutionBacktesting
FMZ forum

This article explains how to read futures volume and open interest alongside price during short-term trading. It defines total volume, the reported outside and inside volume categories, open positions, and the change in open interest. A price break…

FuturesMarket microstructureBreakoutExecution