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
WonderTrader
14 documents
Alphalens
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

9,660 documents

Hyperliquid docs

This document explains Hyperliquid request limits for REST, WebSocket, explorer, and EVM JSON-RPC interfaces, alongside limits tied to individual trading addresses. It distinguishes per-IP request weights from address-based action limits, describes how batch…

CryptoExecutionMarket microstructure
Lumibot

The document outlines an intraday SPY strategy that buys after price dips at least 0.15% below VWAP and then returns above it. A research agent checks minute bars hourly beginning at 10:00 ET, while a trading agent enters when the bounce is identified and no…

EquitiesMean reversionExecutionRisk management
Freqtrade docs

This reference explains the Trade object used by Freqtrade to represent a persisted position and the Order objects attached to it. It catalogs fields for pair, direction, entry and exit rates, stake and asset amounts, timestamps, profit, leverage, order…

ExecutionRisk managementBacktestingPerpetual futures
MQL5 code base

The tool estimates the risk associated with a proposed position by combining its lot size with a chosen stop-loss level. A user marks a virtual stop on a chart, then receives a percentage risk estimate and a monetary risk figure. The inputs also distinguish…

Risk managementPosition sizingExecution
Cryptohopper blog

The article outlines market, liquidity, credit, operational, and systemic risks in cryptocurrency trading, then presents four basic controls: position sizing, risk/reward assessment, stop-loss and take-profit orders, and diversification across tokens. It…

CryptoRisk managementPosition sizingPortfolio construction
MQL5 code base

MT4Orders QuickReport is a browser-based reporting tool for trades from MT4, MT5, and virtual testers. It moves report calculations and chart generation into JavaScript and paginates large reports. The described views include profit and loss over time,…

BacktestingStatisticsExecutionMarket microstructure
MQL5 code base

The document outlines a tick-driven Expert Advisor that compares the current price with the price observed on the preceding tick. It identifies two static variables as the core implementation idea: because a static variable retains its value after a function…

Technical indicatorsHigh-frequency tradingExecutionBacktesting
Amberdata research

This overview surveys ways institutions can seek yield in decentralized finance, including lending, liquidity provision, staking, and yield farming. It outlines the main exposures associated with each: smart-contract and liquidation risks in lending,…

DeFiCryptoRisk managementExecution
MQL5 code base

This script is intended to close part of a buy order that is already in profit while leaving other running orders open to pursue their target profits. Its described role is a position-management operation: realize some gains from a profitable buy without…

ExecutionPosition sizingRisk management
MQL5 code base

This trading example describes calculating a buy position size from a chosen percentage of account equity at risk and a stop-loss distance. It then checks whether the calculated size is valid and whether the account has enough funds to open it. If the…

Position sizingRisk managementExecutionBacktesting
FMZ forum

The author questions whether FMZ is worthwhile when moving a strategy from backtesting to live trading. They describe having to rewrite or adapt functions because exchange APIs differ, backtested functions may fail in live use, and tasks such as placing…

ExecutionBacktestingRisk management
MQL5 code base

The i-Spread indicator displays recent minimum and maximum spread values across several lookback windows: the last hour, four hours, and day. It also plots two additional lines for the minimum and maximum spread observed on the current bar. This can help…

ExecutionMarket microstructure
MQL5 code base

The document describes a helper function that generates a 64-bit magic number from a financial instrument, chart timeframe, and prefix index. Such identifiers can distinguish automated trading instances, including multiple strategies running on one chart.…

Execution
backtrader

This Backtrader example implements a simple moving-average crossover strategy. It buys when the closing price crosses above a simple moving average and sells when it crosses below. A long-only setting suppresses short entries, and a configurable stake…

Technical indicatorsTrend followingBacktestingExecution
MQL5 code base

This indicator plots historical trades directly on a chart. For each order, it displays the opening time and price, the closing time and price, and profit measured in pips. The stated purpose is to help traders review past orders visually, whether those…

ExecutionBacktesting
Stratmill research code

This migration guide explains changes users must account for when moving HftBacktest strategies and data from version 1 to version 2. The key control-flow change is that functions such as the event-advance operation and order submissions now return status…

High-frequency tradingExecutionMarket microstructure
Hummingbot docs

This article introduces an automated arbitrage approach that compares prices on Balancer, an Ethereum automated market maker, with prices on centralized order-book exchanges. It describes a bot that monitors for differences and can buy on one venue while…

CryptoArbitrageExecutionMarket microstructure
MQL5 code base

The document describes a simple monitoring technique for automated trading systems: capture and save a chart screenshot when a trade is placed. A trader can later inspect the chart to see the indicator conditions and market context present at that moment.…

ExecutionTechnical indicatorsBacktesting
SuperMind

This stock-screening approach combines three signals: membership in the metaverse theme, positive net buying by major participants during the opening auction, and evidence of institutional accumulation. The article describes these as ways to target a popular…

EquitiesChina marketsSentimentExecution
FMZ forum

This tutorial extends a basic grid strategy to several cryptocurrency spot pairs and focuses on the engineering decisions needed to run it. It covers retrieving aggregated quotes and account balances, tracking assets and performance by pair, and assigning…

CryptoSpot marketsGrid tradingExecution
MQL5 code base

This indicator uses the ColorMETRO_DeMarker oscillator to suggest when to place pending orders. A channel is bounded by thick pink and red lines, and a fast gray oscillator line provides the trigger: the described setup occurs when that line moves beyond the…

Technical indicatorsExecution
FMZ forum

This tutorial outlines a mean-reversion approach to calendar spreads in ETC futures. It defines the spread as the weekly contract price minus the quarterly contract price, samples it on a five-minute cycle, and pairs the contracts in a one-to-one ratio. The…

CryptoFuturesArbitrageMean reversion
BigQuant

This description explains a limit-order market-making strategy based on the Avellaneda–Stoikov framework. It sets a reservation price and optimal bid-ask spread using estimated volatility, order-book liquidity, inventory relative to a target allocation, the…

Market makingCryptoMarket microstructureExecution
Lumibot

This guide catalogs implementation mistakes that can distort trading decisions or break a Lumibot strategy. It explains why backtests should use simulated time and completed candles, why persistent assets belong in strategy variables, and how to handle…

BacktestingOptionsCryptoExecution