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

191 documents

NautilusTrader

This example configures a built-in execution-testing strategy for an ETH perpetual contract on Hyperliquid mainnet. At startup, it can open a position with an immediate-or-cancel order, then maintain post-only limit orders on both sides of the book. It…

CryptoPerpetual futuresExecutionMarket microstructure
NautilusTrader

An order-pending-cancel event records that a trading system has dispatched a cancellation request and is waiting for the venue to acknowledge it. The event is applied to the order by the execution engine, updates the cache, and is published on the message…

ExecutionMarket microstructure
NautilusTrader

This documentation explains three trading-specific numeric types: Price for market levels, Quantity for non-negative sizes, and Money for signed amounts associated with a currency. The types are immutable and use fixed-point representation to support…

ExecutionRisk managementStatistics
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 reference explains how to represent an exchange-defined options strategy as one tradable instrument. A venue may list a vertical spread, calendar spread, or similar multi-leg strategy under its own symbol, with its own pricing increment, expiration, and…

OptionsDerivatives pricingExecution
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 reference explains how to represent a binary outcome contract as a tradable instrument, including its identifiers, asset class, settlement currency, activation and expiration times, price and size precision, increments, and optional order limits and…

Derivatives pricingEvent-driven
NautilusTrader

This guide explains how to build a data-only Rust actor that subscribes to quote updates and logs the bid-ask spread. It outlines the actor’s state and configuration, connects its core to the runtime with a macro, and implements startup and quote handlers…

ExecutionMarket microstructure
NautilusTrader

This reference explains how to represent an exchange-listed cryptocurrency option spread as one tradable instrument. It describes the instrument identity, underlying and quote and settlement currencies, inverse sizing flag, strategy type, activation and…

CryptoOptionsDerivatives pricingRisk management
NautilusTrader

This Chinese-language post describes a stock screen combining three filters: RSI below 65, exclusion of the STAR Market, and a positive return over ten days that remains below 35%. It also gives an illustrative implementation outline using historical prices…

EquitiesChina marketsTechnical indicatorsMomentum
NautilusTrader

This guide explains how a trading system models market and limit orders, conditional order types, execution instructions, and linked orders. It distinguishes aggressive orders that take liquidity from passive orders that rest, and describes local, in-flight,…

ExecutionMarket microstructureRisk management
NautilusTrader

The document explains how a trading platform defines local synthetic instruments by applying formulas to prices from one or more component instruments. These derived prices can feed strategies and data actors, support derived quotes, trades, and bars, and…

Market microstructureExecutionStatistics
NautilusTrader

This example configures an execution test strategy for a centralized exchange sandbox. At startup, the strategy can open a position with an immediate-or-cancel order, then maintain post-only limit orders on both sides of the book. On shutdown, it is…

ExecutionMarket microstructurePerpetual futures
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 reference explains how an execution engine handles an OrderFillVoided event when a venue corrects a previously reported fill. It distinguishes a correction, which retains the original trade identity, from an opposite-side trade. For locally…

ExecutionMarket microstructureRisk management
NautilusTrader

The document outlines NautilusTrader’s architecture for defining custom data in Python or same-binary Rust, then routing and persisting it through common runtime interfaces. Both approaches use a shared outer CustomData wrapper and DataType identity. Runtime…

BacktestingExecutionMarket microstructureStatistics
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 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

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 specification lays out a test framework for validating market data adapters. It organizes checks by data type, from instruments and order books through quotes, trades, bars, and derivatives. It emphasizes timestamp scale correctness and describes a…

Market microstructureExecutionRisk management
NautilusTrader

This guide shows how to assemble and run a Rust live-trading node connected to OKX. It covers registering venue data and execution adapters, configuring a trader and account, adding a grid market-making strategy, and supplying credentials through environment…

CryptoGrid tradingMarket makingExecution
NautilusTrader

This example configures a live execution tester for a DOGE perpetual contract on Lighter. At startup, it can open a position with an immediate-or-cancel market order, then maintain post-only limit buy and sell quotes offset from the top of book. It enables…

CryptoPerpetual futuresExecutionMarket microstructure
NautilusTrader

A trailing stop market order adjusts its trigger to maintain a fixed offset from market prices as they move favorably. Once the trigger is reached, it submits a market order, making this approach useful for protecting gains while allowing a position to…

ExecutionRisk managementPerpetual futures