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 example compares a grid market-making strategy in HftBacktest using CME market-by-order Level-3 data and Level-2 depth reconstructed from that same feed. Quotes are arranged around a reservation price that shifts with inventory, with position limits,…

FuturesGrid tradingMarket makingBacktesting
vn.py community

A forum exchange discusses why VeighNa’s StatisticalArbitrageStrategy example uses a ten-unit price offset when starting its spread-trading algorithm. The questioner describes the order logic: a leg order is sent when the spread order price would otherwise…

ArbitragePairs tradingExecution
SuperMind

The document describes a simple Chinese equity screening rule. It selects stocks with a daily high-low range of at least one percent, turnover above two percent but below nine percent, and prior-day trading value above sixty million. The stated rationale is…

China marketsEquitiesTechnical indicatorsExecution
MQL5 code base

The document describes two scripts for changing the vertical scale across all open charts. One switches every chart to automatic scaling; the other applies fixed scaling. For fixed scaling, the user specifies a percentage of the current price, and the chart…

ExecutionTechnical indicatorsMulti-asset
MQL5 code base

This Expert Advisor uses a color transition in the ColorXCCXCandle indicator to generate a signal when a bar closes. The document describes the trigger but does not explain how candle colors are calculated, whether a color change prompts a buy or sell, or…

ForexTechnical indicatorsBacktestingExecution
MQL5 code base

The document describes an Expert Advisor that watches a chart for horizontal and trend lines in a selected monitoring color. When price crosses a watched line, the tool can issue a platform alert, a mobile notification, or an email, provided the…

Technical indicatorsExecution
NautilusTrader

This example outlines a staged workflow for obtaining option data through an Interactive Brokers connection. It configures an instrument provider for an underlying futures contract and a put option, then checks whether the gateway or trading workstation is…

OptionsFuturesDerivatives pricingExecution
MQL5 code base

The document outlines a zone recovery method that responds to an adverse price move by opening an opposite trade with a somewhat larger lot size. If price continues in that direction, the combined position may reach a profit level at which both trades can be…

ForexRisk managementPosition sizingExecution
BigQuant

This older Chinese-equity strategy looks for stocks that rally to the daily limit, pull back, and later break to a new high. It defines a pullback as any post-limit-up close below the earlier limit-up price. After the pullback, a new high triggers a purchase…

China marketsEquitiesBreakoutMomentum
MQL5 code base

This document describes an Expert Advisor that chooses currency pairs, trade direction or order type, and lot size randomly. It presents the EA as a simplified version of an earlier randomness-based system and says it does not use indicators, price patterns,…

ForexRisk managementPosition sizingExecution
SuperMind

This post outlines a Chinese equity screen for stocks classified in the metaverse industry. It ranks candidates by the day’s opening-auction amount, keeps the top five, and restricts the auction price change to between -2% and 5%. The post gives…

EquitiesChina marketsMomentumExecution
MQL5 code base

The author describes a manual-trading aid intended to reduce repeated order-entry steps. For pending trades, the script is said to place limit or stop orders at an appropriate setting. For immediate trades, the user enters a stop-loss value without…

ExecutionPosition sizingRisk management
MQL5 code base

This document describes an Expert Advisor that trades from the Loco indicator. It checks for a change in the indicator’s icon color when a bar closes and uses that change to form a signal. The text does not explain how the indicator calculates its color, how…

ForexTechnical indicatorsBacktestingExecution
TqSdk

This TqSdk guide explains how to run timed actions inside the main loop driven by wait_update, rather than pausing the program with a separate sleep loop. For actions tied to the trading session, it recommends checking the market timestamp in quote.datetime,…

ExecutionFuturesRisk management
Amberdata research

The analysis compares Binance BTC/FDUSD order book behavior around six 2025 Federal Open Market Committee decisions: five rate holds and one cut. It tracks five-minute averages of volatility, bid-ask spread, depth, order book imbalance, and pressure…

CryptoMarket microstructureVolatilityExecution
BigQuant

This BigQuant example shows how a China stock universe selector can be connected to a trading engine that reads a daily signal table. The engine filters rows to the current date, closes existing positions once the elapsed time since their last sale reaches…

China marketsEquitiesExecutionPosition sizing
vn.py community

A user describes running one VeighNa process and one strategy connected to two SimNow futures accounts through separate CTP gateways. Both accounts return order acknowledgements, and the second account appears to have executed trades when checked in another…

FuturesExecutionMarket microstructure
MQL5 code base

The document describes a collection of scripts for closing orders by comment, profit or loss threshold, magic number, order type, or symbol. A combined script supports the criteria offered by the individual tools. This is operational guidance for managing…

ExecutionRisk management
OctoBot

Grid trading places a series of buy and sell orders at set price intervals. As the market moves through those levels, orders can buy at lower prices and sell at higher ones. The approach seeks to collect gains from price fluctuations without relying on a…

Grid tradingVolatilityExecutionRisk management
MQL5 code base

The document describes a trading utility with a single action for closing positions and managing pending orders. Its settings determine whether it acts only on the currency pair associated with the chart or across all pairs, whether it closes only manually…

ForexExecution
Lumibot

The document contrasts OpenAlice, presented as an AI agent for researching and managing trades across a full lifecycle, with LumiBot, a Python framework for building trading strategies. LumiBot can support deterministic strategies, individual AI agents, or…

Machine learningBacktestingRisk managementExecution
Amberdata research

The document explains how executed trades and resting orders provide different views of Bitcoin markets. Trade volume shows what has already happened, while order book depth aggregates buy and sell interest at unexecuted price levels. A depth chart gives a…

CryptoMarket microstructureExecutionArbitrage
MQL5 code base

The script described opens buy positions with stop-loss and take-profit levels set at fixed point distances from the current price. Its money-management input controls trade volume as a proportion of the account deposit, linking position size to the funds…

Position sizingRisk managementExecution
MQL5 code base

Pipsover 2 is described as an updated expert advisor that adds trailing-stop and break-even handling. Its stated sequence is to attempt to move a position to break-even first, then allow trailing-stop management. The break-even setting also serves as the…

Risk managementExecutionTechnical indicators