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

20 documents

NautilusTrader

The document defines a generic perpetual contract instrument for perpetual swaps that are not represented by a crypto-specific contract type. It describes the metadata needed to model one consistently across venues: instrument identity, underlying and asset…

Perpetual futuresDerivatives pricingForexMarket microstructure
NautilusTrader

This quickstart walks through a bar-based exponential moving average crossover strategy in a backtesting engine. The strategy waits for its fast and slow averages to initialize, then buys when the fast average is at or above the slow one and sells when it is…

ForexTrend followingTechnical indicatorsBacktesting
NautilusTrader

The script runs an EMA-crossover backtest on USD/JPY five-minute bid bars built from one-minute FXCM data. It configures a simulated margin venue, balances, fees, rollover interest, and probabilistic fills, then collects bars and fills from the engine. The…

ForexTechnical indicatorsBacktestingExecution
NautilusTrader

This example configures a live-node application to run a Bollinger Band mean-reversion strategy against the Architect AX sandbox on a EUR/USD perpetual instrument, using one-minute midpoint bars. It sets a Bollinger period of 20 with a two-standard-deviation…

ForexPerpetual futuresMean reversionTechnical indicators
NautilusTrader

A stop-limit order waits for a specified trigger price, then submits a limit order at the chosen limit. This combines a conditional trigger with control over the worst acceptable execution price, making it useful for price-protected exits or breakout…

ExecutionRisk managementForexBreakout
NautilusTrader

This example configures a backtest for a mean-reversion strategy on an AUDUSD perpetual contract. It feeds quote data into a backtest engine, forms one-minute midpoint bars, and instantiates a strategy configured with Bollinger Bands and RSI. The listed…

ForexMean reversionTechnical indicatorsBacktesting
NautilusTrader

This tutorial demonstrates a config-driven foreign-exchange backtest using a Parquet data catalog and a simulated venue. It loads quote ticks from either local Histdata files or a sample dataset, sorts them by timestamp, stores the instrument and ticks in…

ForexBacktestingTechnical indicatorsExecution
NautilusTrader

This example sets up a simulated GBP/USD market-making strategy using one-minute bid and ask bars. It configures a margin account, starting balance, maker and taker fees, and a probabilistic fill model with specified fill and slippage probabilities. The…

ForexMarket makingGrid tradingBacktesting
NautilusTrader

The tutorial explains how to backtest a mean-reversion strategy on EUR/USD perpetual futures using TrueFX spot ticks as proxy data. It builds one-minute mid-price bars, then combines a 20-period Bollinger Band with a 14-period RSI: a lower-band touch with…

ForexMean reversionTechnical indicatorsBacktesting
NautilusTrader

A market order tells a venue to execute a specified quantity promptly at the best available price. The document outlines when traders might use one, such as urgent risk reduction or entering a liquid, fast-moving market, and shows how an order can include…

ExecutionForexMarket microstructureRisk management
NautilusTrader

This strategy uses a fast and a slow exponential moving average calculated from bars for a configured instrument. After both indicators are initialized, it takes a long position when the fast average is at or above the slow average and a short position when…

ForexTrend followingTechnical indicatorsExecution
NautilusTrader

A market-to-limit order begins by taking liquidity like a market order. After its first execution, any remaining quantity becomes a limit order at the price of that fill. This lets a trader pursue an immediate fill while preventing the remainder from…

ExecutionMarket microstructureForex
NautilusTrader

A trailing stop-limit order moves its stop trigger with favorable price changes, maintaining a set offset from a chosen market reference. Once triggered, it releases a limit order; the limit price can also adjust with the market before activation. The…

ForexExecutionRisk management
NautilusTrader

This tutorial demonstrates a simulated USD/JPY strategy that compares 10-period and 20-period exponential moving averages on internally aggregated five-minute bid bars. A cross upward closes shorts and opens a long; a cross downward closes longs and opens a…

ForexBacktestingTrend followingExecution
NautilusTrader

The document explains how a currency pair represents a spot or cash instrument quoted as base currency against quote currency. It distinguishes the asset being traded from the currency used to price it, and describes how the instrument type can represent…

ForexCryptoSpot marketsExecution
NautilusTrader

This script runs a NautilusTrader backtest of a Bollinger Band and RSI mean-reversion strategy on EUR/USD perpetual contract quotes. It reads TrueFX bid and ask ticks, builds a margin venue with a starting balance and maker/taker fees, and aggregates data…

ForexMean reversionTechnical indicatorsBacktesting
NautilusTrader

This example shows how to assemble and run a small backtest for an EUR/USD strategy. It creates artificial one-minute bars: an initial bar followed by a sequence of rising bars and then falling bars, with prices shifted by a fixed number of ticks and…

ForexBacktestingExecution
NautilusTrader

This workflow shows how to bring vendor tick data into a NautilusTrader backtest when a dedicated data adapter is unavailable. It reads a supported CSV format, converts rows into quote ticks, sorts them by initialization timestamp, and writes both the…

ForexBacktestingExecutionMarket microstructure
NautilusTrader

This example configures a simulated backtest for an AUD/USD moving-average crossover strategy using quote tick data. It creates a margin account, loads historical quotes, and builds internal bars from groups of ticks. The strategy uses a fast and a slow…

ForexTechnical indicatorsBacktestingExecution
NautilusTrader

This example sets up a foreign-exchange backtest for an AUD/USD exponential moving average crossover strategy. It loads historical quote ticks, configures a simulated margin account with a USD balance and maker-taker fees, and supplies an FX rollover…

ForexTrend followingTechnical indicatorsBacktesting