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 brief description presents an Expert Advisor designed only for hedge accounts. It opens two positions in opposite directions, then waits until both positions have closed through their stop-loss or take-profit levels. Once both are closed, it opens…

ForexExecutionRisk management
MQL5 code base

This brief description introduces an Expert Advisor based on fast DeMarker and Stochastic indicators. It says the system uses hidden stop-loss and take-profit levels, with the stop loss set after a minimum take-profit level has been reached. The author…

ForexTechnical indicatorsRisk managementExecution
MQL5 code base

The document explains how a mutex can prevent concurrent trading scripts or terminals from accessing shared data at the same time. Without synchronization, one process may read data while another is still writing it, potentially producing inconsistent…

ExecutionMarket microstructure
FMZ forum

This example describes a futures strategy that tracks the highest high and lowest low over 50 bars. When flat, it enters long above the range high or short below the range low. It closes a long if price falls below the range midpoint, and closes a short if…

FuturesBreakoutTechnical indicatorsExecution
MQL5 code base

This pipsing approach opens a buy and a sell position together when a new daily EUR/USD bar forms. The example specifies a 0.1 lot size, a take-profit target of 10 points, and a stop-loss and trailing-stop setting of 50 points. If one side closes, the method…

ForexExecutionRisk management
MQL5 code base

This Expert Advisor applies a portfolio-wide take-profit rule. It monitors the combined profit of all open positions and initiates closure of every position once that profit exceeds a user-set maximum level. The method therefore manages exits at the account…

Risk managementExecutionPosition sizing
BigQuant

This report overview describes how artificial intelligence may be applied across investment management, including portfolio research, investment decisions, trading, risk control, product development, and client marketing. It highlights information…

Machine learningMulti-assetRisk managementExecution
ProRealCode

This chart indicator marks the U.S. pre-market interval with a rectangle spanning its observed high and low. It also displays the range size and the high and low values, then extends horizontal levels from those boundaries through the later U.S. session.…

EquitiesUS marketsTechnical indicatorsExecution
Lumibot

The document compares TradingAgents, presented as a framework for multi-agent financial research, with Lumibot, described as a Python trading framework that can place agent workflows inside a strategy lifecycle. It outlines how research and debate agents can…

Machine learningBacktestingRisk managementExecution
FMZ forum

This platform note lists operating details for Bybit futures bots, including the API environments, contract denomination, minimum order size, settlement and quote currencies, margin rates, and supported coins. It also describes how leverage settings interact…

CryptoFuturesExecutionRisk management
Zipline

This reference catalogs Zipline’s strategy and backtesting interfaces. It covers algorithm setup, market data access, scheduling, asset lookup, order placement and cancellation, and trading controls such as limits on leverage, order count, order size, and…

BacktestingExecutionRisk managementTechnical indicators
MQL5 code base

The document describes how to extend a BrainTrend signal indicator so that detected buy and sell signals can trigger sound alerts, email messages, or mobile push notifications. It adds settings for selecting the bar used to check for a signal, enabling each…

Technical indicatorsExecution
FMZ forum

The document explains why a strategy’s maximum capital capacity cannot be calculated from backtest returns and volatility alone. Capacity depends on the strategy’s logic and trading frequency, the liquidity and order book depth of its instruments, the size…

BacktestingExecutionMarket microstructurePortfolio construction
MQL5 code base

This document describes an Expert Advisor intended to support manual trading on the current symbol. It can attach stop-loss and take-profit levels to open positions and pending orders, close positions or the whole book after profit thresholds are reached,…

Risk managementExecutionPosition sizing
pysystemtrade

This guide describes how pysystemtrade connects to Interactive Brokers through the Gateway or Trader Workstation and a Python API library. It outlines gateway setup, trusted IP and API settings, connection creation, configuration, and client ID requirements.…

FuturesForexExecutionMarket microstructure
MQL5 code base

The document outlines a programming framework for grid and Martingale trading strategies. A shared base strategy holds parameters such as starting price, trade volume, take profit, and monetary stop loss. Specialized grid and Martingale classes provide their…

Grid tradingRisk managementExecution
BigQuant

The article explains how a backtest can look convincing while relying on conditions that may not hold in live markets. It examines three assumptions: orders fill immediately at the signal price, market data forms a continuous sequence, and prices from a…

BacktestingExecutionMarket microstructureRisk management
SuperMind

This article explains how seemingly routine backtesting choices can make a strategy look more reliable than it is. It focuses on three assumptions: orders fill immediately at the modeled price, market data and trading opportunities form a continuous…

BacktestingExecutionMarket microstructureStatistics
NautilusTrader

This example describes a live quoting strategy for the same crypto asset on OKX spot and perpetual swap markets. On startup it buys a small spot position, subscribes to quotes for both instruments, and places post-only bid and ask limit orders at…

CryptoSpot marketsPerpetual futuresMarket making
BigQuant

The document addresses a backtest or trading-log puzzle: a buy order is calculated by rounding available cash down to a whole multiple of 100 shares, yet the recorded final purchase quantity is not a multiple of 100. The explanation given is that the system…

EquitiesExecutionBacktesting
BigQuant

The document explains two differences between backtests and simulated or live trading in a notebook-based platform. In the described live modes, the initialization function runs during each trading period, whereas a backtest runs it once. It also says…

BacktestingExecutionRisk management
FMZ forum

The document records a Binance futures buy order rejected with an error stating that the submitted price did not increase by the required tick size. The accompanying function reads the latest traded price, applies a small upward adjustment, calculates a…

CryptoFuturesExecutionMarket microstructure
Hyperliquid docs

This legacy guide describes how leaders create and operate Hyperliquid vaults. Leaders receive a stated share of vault profits, while creation requires a minimum deposit and a gas fee. The leader must retain a minimum ownership share. The guide says vault…

Perpetual futuresRisk managementExecution
pysystemtrade

This document lays out an ordered process for adding a strategy to a live trading system or replacing an existing one. It covers preparing instrument data, confirming a working backtest, configuring strategy and control files, implementing custom backtest,…

BacktestingExecutionRisk managementPosition sizing