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

The document describes a MetaTrader 4 expert advisor for managing a chart symbol’s open trade with virtual stop loss and take profit levels. It also outlines a virtual pending order that can use a trailing stop. The stated workflow initializes the levels,…

ForexRisk managementExecution
vn.py community

This forum exchange addresses a failed manual source installation of VeighNa, where the user reports that dependencies are installed but running the launcher produces no visible response. The reply explains that the one-click installer includes the packages…

Execution
Hummingbot docs

These release notes describe changes to Hummingbot’s client, Gateway, and related tools. Client updates include a headless command-line interface, new spot exchange connectors, connector fixes, and improvements to liquidity provision executors. The LP…

CryptoExecutionMarket microstructureRisk management
MQL5 code base

This document describes an Expert Advisor built around the CCFp, or Complex Common Frames percent, cluster indicator. It identifies the indicator as the basis for the automated system and lists controls for trade volume, stop loss, take profit, trailing…

ForexTechnical indicatorsExecutionRisk management
MQL5 code base

This note describes a helper function for stopping an Expert Advisor’s timer routine from running on weekends. It is intended for systems that keep the trading terminal open when markets are closed, where repeated timer events could otherwise trigger…

ExecutionRisk management
MQL5 code base

The document defines trading volume as the amount of an asset traded over a period and average volume as total traded amount divided by the length of that period. It explains that volume is commonly expressed as shares per trading day for individual stocks,…

StatisticsMarket microstructureExecutionTechnical indicators
vn.py community

This short forum exchange describes a backtesting issue in VeighNa: several built-in strategies reportedly generated many trades that closed at a price of zero when using data from the Wind Python API configured through VN Station. A respondent suggests that…

BacktestingExecution
FMZ forum

This introductory programming note describes several Python mistakes that can make code behave unexpectedly or become harder to maintain. It recommends checking which Python version a program targets, favoring clear code over compressed one-liners, and…

StatisticsExecution
vn.py community

This short forum exchange discusses how to handle large orders when building options strategies with the elite_optionstrategy module. A response explains that the module does not provide detailed control over placing and canceling orders. Instead, it…

OptionsExecutionMarket microstructure
MQL5 code base

This brief description presents a utility for showing the time remaining before the current candlestick closes. It is aimed at chart intervals that may be less intuitive to track, including intraday and multi-hour periods. The practical purpose is to let a…

ExecutionTechnical indicators
vn.py community

This forum thread concerns a futures simulation account that connects successfully but receives no market data. A respondent suggests that the user may not have connected to the trading server, which is used to retrieve contract information. Another…

FuturesExecutionMarket microstructure
FMZ forum

The article explains event-based tick data through changes to a limit order book: orders arrive, are canceled, or trade against resting quotes. With this event stream, a researcher can reconstruct the visible book, subject to venue rules and the depth…

Market microstructureHigh-frequency tradingExecutionStatistics
MQL5 code base

This document describes adapting a semaphore-style indicator based on the DeMarker oscillator so it can notify a trader when its buy or sell signal buffers contain a signal. The alert logic checks a selected bar, tracks a counter, and can issue a sound…

Technical indicatorsExecution
MQL5 code base

This document describes an Expert Advisor that combines an indicator signal from three timeframes: M1, M5, and H1. The H1 indicator value selects the permitted position direction, either buying or selling. The two shorter timeframes then provide entry…

Multi-assetTechnical indicatorsExecution
MQL5 code base

This brief technical note discusses implementing an exponential moving average (EMA) in a trading indicator. It focuses on execution speed and code reuse, noting that the calculation is relatively simple and that an implementation without nested loops should…

Technical indicatorsExecutionHigh-frequency trading
SuperMind

Backtesting feeds a strategy’s rules with historical market data, turns the resulting signals into trades, and aggregates their profit and loss. The document presents four uses: screening candidate strategies, modeling market and execution conditions, tuning…

BacktestingStatisticsRisk managementExecution
FMZ guides

This platform guide describes how to select and trade cryptocurrency options through a common trading interface. It outlines contract selection, market-data retrieval, order placement and cancellation, and position queries for Deribit and OKX. It also lists…

OptionsCryptoDerivatives pricingExecution
SuperMind

This discussion addresses how to use a daily stock popularity ranking obtained through a query interface in a backtest when the research environment returns a dataframe but the backtest environment does not behave the same way. One suggested workflow is to…

EquitiesChina marketsBacktestingExecution
MQL5 code base

This note describes a utility that trails an open position’s stop loss using Parabolic SAR on a selected timeframe. For a buy position, it considers moving the stop when the prior bar’s SAR is above the entry price and below that bar’s low. For a sell…

Technical indicatorsRisk managementExecution
MQL5 code base

The document describes a lightweight reporting setup for MetaTrader accounts. An expert advisor writes account balance and position change information to text files, while a separate ICQ bot responds to user commands by sending the contents of selected…

ExecutionRisk management
vn.py community

This brief forum exchange clarifies directional order terminology in a trading interface. A buy-to-close order is described as an order whose direction is long and which closes a short position. Conversely, an order to open short corresponds to closing a…

ExecutionFutures
MQL5 code base

The document describes a MetaTrader 5 testing issue in real-tick mode: limit and take-profit orders may receive unrealistically favorable positive slippage, inflating simulated results. It presents a utility that reports slippage in account currency and…

BacktestingExecutionMarket microstructure
MQL5 code base

The document describes adding withdrawal tracking to an existing Expert Advisor so position sizing can respond when account funds are removed. It identifies a limitation in recovery-style sizing systems: an EA may increase lot size after losses and retain…

Position sizingRisk managementExecution