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

28 documents

NautilusTrader

An index price is an external reference value associated with an instrument. Derivatives venues may use it when calculating mark prices, funding, or settlement values. The update described here records the instrument, current price, event time, and…

FuturesPerpetual futuresDerivatives pricing
NautilusTrader

This example outlines a staged workflow for obtaining option data through an Interactive Brokers connection. It configures an instrument provider for an underlying futures contract and a put option, then checks whether the gateway or trading workstation is…

OptionsFuturesDerivatives pricingExecution
NautilusTrader

This reference explains how to model an exchange-defined crypto futures spread as one tradable instrument. It lists required metadata such as the underlying asset, quote and settlement currencies, venue symbol, strategy type, activation and expiration times,…

CryptoFuturesDerivatives pricingMarket microstructure
NautilusTrader

This reference explains how NautilusTrader connects to exchanges, brokerages, and data providers through modular adapters. It lists supported integrations and their categories and stability labels, then outlines the common functions these adapters are…

ExecutionMarket microstructureCryptoFutures
NautilusTrader

This tutorial describes a directional strategy for the USD-margined Bitcoin perpetual PF_XBTUSD. It combines a slow regime estimate from dollar bars with a faster trade-flow signal. A rescaled-range regression estimates the Hurst exponent from rolling log…

CryptoFuturesPerpetual futuresBacktesting
NautilusTrader

This tutorial demonstrates replaying Binance level-two order book snapshots and updates in a backtest engine. It describes rebuilding the book from timestamped deltas, then checking the best bid and ask sizes after each update. When the larger side exceeds a…

CryptoFuturesBacktestingMarket microstructure
NautilusTrader

This technical guide explains how NautilusTrader’s Interactive Brokers adapter connects to Trader Workstation or IB Gateway for market data, order execution, instrument discovery, and historical requests. It covers socket access, paper and live connection…

ExecutionMarket microstructureEquitiesFutures
NautilusTrader

This technical reference explains how simulation modules are configured and run within a backtesting exchange. It distinguishes declarative configuration, which accepts built-in modules and language bridges, from linked native configuration, which can hold…

BacktestingExecutionRisk managementFutures
NautilusTrader

This reference explains how a dated, exchange-traded futures contract is represented. It describes identifiers, underlying, activation and expiration times, currency, price precision and increments, multiplier, lot size, margin settings, quantity and price…

FuturesDerivatives pricing
NautilusTrader

This guide describes connecting to AX Exchange, a regulated venue for derivatives on traditional asset classes. It outlines perpetual and dated futures, including USD cash settlement, funding payments, contract sizing, margin, and how the adapter maps venue…

FuturesPerpetual futuresExecutionMarket microstructure
NautilusTrader

This technical reference describes an OKX integration for market data and order execution across spot, margin, perpetual swaps, dated futures, options, spreads, and event contracts. It outlines the adapter's data and execution components, instrument loading…

CryptoFuturesOptionsExecution
NautilusTrader

This integration guide describes a Rust and Python adapter for connecting NautilusTrader to Coinbase Advanced Trade. It covers live market data and order execution for spot products and Coinbase Financial Markets derivatives, including perpetual swaps and…

CryptoSpot marketsPerpetual futuresFutures
NautilusTrader

This example demonstrates how to model an option purchase across expiration in a backtest. A strategy subscribes to option quotes and futures bars, then submits a market buy order for one option when it receives the first eligible quote. The sample replays…

OptionsFuturesBacktestingDerivatives pricing
NautilusTrader

This guide shows how to retrieve historical market data from Databento, save it locally in compressed DBN files, convert it into Nautilus data objects, and store those objects in a Parquet catalog. Its examples cover an E-mini S&P futures order book depth…

FuturesEquitiesMarket microstructureBacktesting
NautilusTrader

The document defines an instrument close event as a record of a closing or settlement price associated with an instrument and venue. It distinguishes ordinary end-of-session closes from closes triggered by the expiration of a dated contract. Required data…

FuturesMarket microstructureExecution
NautilusTrader

The document explains how a continuous futures series joins expiring contracts by applying cumulative price adjustments at caller-supplied roll transitions. It compares backward and forward additive spread adjustments with multiplicative ratio adjustments,…

FuturesBacktestingMarket microstructure
NautilusTrader

This reference explains how a spot commodity instrument is represented in a trading system, using examples such as gold and silver. It distinguishes cash commodity markets from dated futures contracts and lists the instrument fields needed to describe price…

CommoditiesSpot marketsFutures
NautilusTrader

This reference explains a data structure for representing a self-contained order book snapshot with variable numbers of bid and ask levels. Each side stores orders and a corresponding count for every level, alongside the instrument identifier, event flags,…

Market microstructureExecutionCryptoFutures
NautilusTrader

This document explains a data model for reference indexes such as equity benchmarks and volatility indexes. An index instrument stores identifiers, its native symbol, quote currency, price and size precision, valid increments, timestamps, and optional…

Multi-assetFuturesOptionsMarket microstructure
NautilusTrader

A market-if-touched order waits for a specified trigger price, then submits a market order. Traders may use it to enter after a pullback or to exit a position when a target is reached. The order direction is typically opposite that of a stop trigger: for…

FuturesExecutionMarket microstructure
NautilusTrader

A limit order rests in the order book at a chosen price and can execute only at that price or a more favorable one. Traders can use it to control execution price, provide liquidity, make markets, scale into or out of positions, or seek maker fees when…

ExecutionMarket microstructureFuturesCrypto
NautilusTrader

This reference explains how an exchange-defined futures spread is represented as a single tradable instrument, including calendar and inter-commodity spreads. The venue supplies the strategy symbol, tick size, expiry, and other contract details. The…

FuturesCommoditiesDerivatives pricingMarket microstructure
NautilusTrader

This example demonstrates how to model a futures contract reaching expiry in a backtest. It loads instrument definitions and best bid and offer quote data for two consecutive E-mini S&P 500 contracts, then submits a market buy for one expiring-contract unit…

FuturesBacktestingExecution
NautilusTrader

This integration guide explains how a trading system connects to Deribit for market data and order execution. It outlines the division between WebSocket use for streaming and trading operations and HTTP use for instrument loading, historical requests, and…

CryptoFuturesOptionsExecution