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 indicator note explains how to construct an Ask-price line for a chart. It defines the plotted value as the bar’s Close price plus the spread value supplied to the calculation routine. The example identifies the calculation inputs, including price…

Technical indicatorsExecution
Stratmill research code

This Python script launches a Rust grid-trading backtest for each symbol in a ticker configuration. It assembles daily market-data and latency-file paths for a specified date range, passes instrument and strategy settings to the backtest executable, and runs…

BacktestingGrid tradingPosition sizingExecution
FMZ forum

This retrospective describes an early Bitcoin trading effort that began with cross-exchange price gaps and evolved into a statistical arbitrage strategy. Directly buying on one venue and transferring coins to another exposed traders to transfer delays and…

CryptoArbitragePairs tradingExecution
MQL5 code base

The panel description outlines tools for discretionary or automated trading execution. A position size calculator derives volume from a stop loss and a chosen risk percentage. A split-order feature divides an intended trade into two orders, with one assigned…

Position sizingRisk managementExecutionTechnical indicators
MQL5 code base

This short note describes a step chart that displays values as increments of a chosen step size. The step can be specified in fractional pips, and the chart can use common price types. This is a charting representation intended to show price movement in…

Technical indicatorsExecution
BigQuant

This brief troubleshooting post shows a trading order submission that failed with error -113. The accompanying Chinese error message indicates that no position was available. The logged request concerns selling 200 shares of a listed Chinese stock, and the…

EquitiesExecution
FMZ guides

This guide explains how FMZ’s template library feature lets users package reusable functions for strategies. It describes creating a library in JavaScript, Python, C++, or Blockly Visual mode, and shows how exported functions can be called from a strategy…

Execution
SuperMind

This post proposes screening Chinese stocks in a metaverse category using opening-price behavior. Its written rule requires the 9:25 gain to be below 6% and the auction change to lie between -2% and 5%. It supplies formula and Python examples, and briefly…

EquitiesChina marketsExecutionTechnical indicators
BigQuant

The article presents a four-stage account of how institutions might exploit retail traders in Chinese equities: identify market themes and likely stop levels from data, display large buy orders during the cancellable part of the opening auction, short shares…

EquitiesMarket microstructureExecutionRisk management
FMZ forum

The document describes a simple cryptocurrency spot trade-following bot. It treats one exchange account as the reference and periodically compares its current token balance, including frozen holdings, with the previous reading. An increase signals a buy and…

CryptoSpot marketsExecutionMarket microstructure
Cryptohopper blog

The document surveys ten cryptocurrency exchanges for automated trading and introduces basic bot setup. It compares venues through stated attributes such as available trading pairs, geographic availability, reputation, liquidity, fees, matching speed, and…

CryptoExecutionBacktestingRisk management
MQL5 code base

This MetaTrader Expert Advisor uses signals from the Karpenko oscillator. It opens a signal when a bar closes and the indicator cloud changes color, making the cloud transition the described entry trigger. The EA is presented for GBPUSD on a four-hour chart,…

ForexTechnical indicatorsBacktestingExecution
MQL5 code base

The described expert advisor uses no indicators. At the start of a new bar, it opens two positions in opposite directions and then waits until both positions close through their stop-loss or take-profit levels before opening another pair. The approach relies…

ForexExecutionRisk managementBacktesting
FMZ forum

This note collects operational details for trading BitZ contracts through its API, including contract identification, contract types, leverage behavior, margin modes, and closing orders. It distinguishes linear contracts from inverse contracts, noting that…

CryptoFuturesPerpetual futuresExecution
FMZ guides

This guide explains how to use FMZ Trading Terminal plugins to support manual or semi-automated trading. A plugin runs a code snippet on a selected Docker instance and can return data tables or charts. The examples include displaying an exchange order-book…

ExecutionMarket microstructureFuturesDerivatives pricing
FMZ forum

This tutorial introduces FMZ Quant’s M language through a moving-average trend strategy. The example opens long positions when price and a short moving average are above a longer average that is rising, and opens short positions under corresponding bearish…

Technical indicatorsTrend followingExecutionBacktesting
vn.py community

This brief forum exchange addresses how a VeighNa CTA strategy can read an account’s current position when it initializes. One participant asks whether a framework function exists, noting that calling the main engine’s position lookup directly did not seem…

FuturesExecutionPortfolio construction
Cryptohopper blog

The document explains dollar-cost averaging (DCA) as buying an asset at regular intervals or adding purchases after a price decline. It presents the approach as a way to build a position over time while reducing reliance on short-term market timing and…

CryptoPosition sizingRisk managementExecution
BigQuant

This troubleshooting note describes a simulation failure in a single-stock AI ranking strategy: the pipeline reports that no data remains after missing values are removed, even though the strategy completes a backtest. It suggests checking whether the data…

Machine learningBacktestingExecution
vn.py community

This community post asks how to start a live or simulated trading strategy with positions already held in the account, rather than having the strategy assume it begins flat. It also raises a related backtesting question: a user supplied an initial-position…

ExecutionBacktestingPosition sizing
Hummingbot docs

This document explains a configuration option that adjusts bid and ask quote prices to account for exchange transaction costs. It describes percentage-based maker fees and fixed fees, and notes that enabling the option changes the proposed prices; it is…

Market makingExecutionRisk management
BigQuant

This study tests whether investors can improve a diversified global equity factor portfolio by adjusting factor weights with time-series signals or cross-sectional characteristics. It applies parameterized portfolio policies to twenty long-short equity…

EquitiesFactor investingMomentumPortfolio construction
FMZ forum

The document explains FMZ’s simulation-level backtest, where a strategy runs through repeated polling and receives market data through platform API calls. It distinguishes this approach from real market-level testing, which uses recorded tick data, and says…

BacktestingMarket microstructureExecution