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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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

Zipline

This tutorial explains Zipline’s event-driven structure for writing and running trading algorithms. A strategy defines an initialization function for persistent state and a handler that runs on each market event, where it can read current or historical…

BacktestingExecutionTechnical indicatorsEquities
TqSdk

This tutorial explains two ways to run a strategy across multiple instruments with different parameters, using a dual moving-average crossover as its example. One approach launches a separate process for each instance, passing the symbol and moving-average…

FuturesTrend followingTechnical indicatorsExecution
MQL5 code base

The note describes a trailing-stop setting that delays trailing until an open position reaches a specified profit threshold, measured in points. It presents this threshold as a breakeven-like activation condition: trailing begins only after the position has…

Risk managementExecution
MQL5 code base

The document describes a MetaTrader 5 utility for estimating lot size before a trade. A trader supplies either a risk percentage or a fixed amount, an account value, and a stop-loss distance; the calculator converts those inputs into a volume compatible with…

Position sizingRisk managementExecutionForex
SuperMind

This documentation explains how to connect OctoBot to Telegram's API so it can listen to public groups for trading signals. It distinguishes this setup from the simpler Telegram configuration used to control OctoBot or listen to private groups. To use the…

CryptoExecutionMarket microstructure
vn.py

The document describes a software workflow for managing option volatility strategies. It covers model selection for European and American options, choosing a futures or synthetic underlying, monitoring option quotes and Greeks, and calibrating pricing…

OptionsVolatilityDerivatives pricingRisk management
MQL5 code base

This document describes a small MT5 acceptance harness for checking an Expert Advisor’s entry-state logic against deterministic synthetic cases. Its eight fixtures cover a valid closed-bar entry, duplicate signal bar, open-bar rejection, cooldown handling,…

BacktestingExecutionRisk management
Hummingbot docs

This guide explains how to inspect balances across connected exchanges and wallets, including assets allocated to active orders, and how to view and adjust a paper-trading account. Paper balances can be increased for a specified asset, enabling simulated…

CryptoExecutionRisk managementMarket making
MQL5 code base

This document describes a utility that monitors a selected basket of open positions and attempts to close that basket when its floating loss reaches a user-set threshold. The loss limit can be a fixed cash amount or a percentage of account balance or equity;…

Risk managementPosition sizingExecutionMarket microstructure
MQL5 code base

This product description outlines an MT5 indicator for tracking trading performance over the current broker day. It reports closed profits and losses, net results, floating profit or loss, and combined daily performance. The dashboard also includes daily…

Risk managementStatisticsExecution
FMZ forum

The author describes a Binance perpetual futures strategy that used recent trades, order book depth, and current positions to infer short-term direction and place maker orders. In a rising market it opened longs and closed shorts; in a falling market it did…

CryptoPerpetual futuresHigh-frequency tradingExecution
vn.py community

This forum thread discusses futures orders that remain in a submission state when placed through VeighNa, including manual orders and occasional reports from live trading. One suggestion is to check that the contract symbol uses the correct capitalization,…

FuturesExecution
MQL5 code base

This Expert Advisor description presents a channel-based trading method. It finds the highest high and lowest low over a chosen lookback period and derives a reference level from those bounds and the close. A close between the reference level and the channel…

Technical indicatorsBreakoutRisk managementPosition sizing
BigQuant

The document explains a limitation in a Chinese equities platform’s daily backtest matching: it assumes a stock at its limit-down price cannot be sold. That assumption can miss cases where buy orders remain queued at the limit price, as in the example of a…

EquitiesBacktestingExecutionMarket microstructure
MQL5 code base

The document explains how an Expert Advisor or indicator can protect communications with a server using hybrid encryption. RSA with PKCS#1 v1.5 padding encrypts a randomly generated AES session key, while AES encrypts the larger request or response payload.…

ExecutionRisk management
MQL5 code base

This document describes an MT5 conversion of an earlier MT4 utility for managing trade exits. The expert advisor can apply stop loss and take profit levels, lock in profits, and trail stops using methods whose details are not explained. It also supports…

Risk managementExecutionBacktesting
backtrader

This Backtrader example shows how a strategy can use two data feeds: a moving average crossover on the second asset generates long entry and exit signals, while orders are placed on the first. The signal uses a simple moving average and a crossover of the…

Multi-assetEquitiesTechnical indicatorsBacktesting
OctoBot

The document explains how OctoBot can act on buy and sell signals from TradingView indicators or strategies. Alerts sent through a webhook can prompt the bot to create corresponding simulated or live orders on a supported exchange. Signals may also include…

ExecutionTechnical indicatorsCrypto
BigQuant

The document discusses a backtesting problem in a traditional trading strategy: filtering the data to include only instruments with a positive value for a buy signal improves reported performance, but also changes the sample available to the sell condition.…

BacktestingExecution
MQL5 code base

This document describes an MT5 expert advisor designed as a chart interface and quick-trading layer. It replaces default chart clutter with larger custom price and time labels, adds buy and sell controls with editable volume, and displays open positions as…

ExecutionMarket microstructureTechnical indicators
SuperMind

This article explains how to build an options strategy with VeighNa’s template-based OptionStrategy module and evaluate it with historical data. Its example sells one at-the-money call and one at-the-money put on the current month’s China Financial Futures…

OptionsVolatilityBacktestingExecution
BigQuant

The article surveys execution algorithms by their main objective: reducing market impact, controlling total trading costs, or adapting execution to favorable market conditions. It describes TWAP as time-based order slicing, VWAP as matching execution to…

ExecutionMarket microstructureRisk management
BigQuant

The document reports a mismatch between a portfolio strategy’s expected rebalance schedule and its simulated trading activity. The author says the backtest rebalances every five days or after a take-profit trigger, while the simulation records trades on many…

BacktestingExecutionPortfolio constructionChina markets
MQL5 code base

This expert advisor follows signals from the MaChannel indicator. A signal is taken at a bar close when the indicator displays a large colored dot. The advisor depends on a separately compiled indicator file, while a trading library is described as…

ForexTechnical indicatorsBacktestingExecution