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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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,797 documents

Quant course library

This strategy builds Keltner-style bands from a simple moving average of closing prices and a simple moving average of true range. On five-minute bars, when flat, it places linked stop orders above and below the bands so that a move beyond either boundary…

FuturesBreakoutTrend followingTechnical indicators
Quant course library

This application example connects a trading engine to a crypto exchange, loads a channel-based CTA strategy, and starts it. Separately, it requests recent hourly bars for a symbol through a market-data endpoint, converts the response to a tabular format,…

CryptoFuturesExecutionMarket microstructure
Quant course library

This document describes a wrapper for trading delivery futures. It places buy and sell orders, checks their status, and can respond to unfilled or partially filled orders using price-based cancellation, timed cancellation, or automatic cancellation. When an…

CryptoFuturesExecutionMarket microstructure
Quant course library

This guide explains spread trading across related instruments, contrasting it with single-instrument trend strategies. It presents several approaches: latency-sensitive arbitrage between equivalent markets, threshold or Bollinger Band mean-reversion trades…

Pairs tradingArbitrageMean reversionExecution
Quant course library

This strategy uses 15-minute bars to trade breakouts beyond Bollinger Bands. When flat, it places stop entries at the upper and lower bands, so a move through either boundary can open a long or short position. Band settings determine the entry channel, while…

FuturesBreakoutVolatilityPosition sizing
Quant course library

The strategy computes fast and slow exponential moving averages from hourly price bars and treats a crossover as a directional signal. A bullish crossover sets a long bias, while a bearish crossover sets a short bias. Before calculating the indicators, it…

CryptoFuturesTrend followingTechnical indicators
Quant course library

This strategy uses Bollinger-style price bands to enter long or short positions when a bar reaches beyond the upper or lower band. It adds a directional filter based on the difference between the latest close and a close from an earlier lookback: positive…

CryptoFuturesBreakoutTechnical indicators
Quant course library

This guide explains a market-data recorder that subscribes to selected instruments and saves live tick or one-minute bar data to a database. The stored history can then be reviewed in a data-management interface, used in historical backtests, or loaded to…

FuturesBacktestingExecution
Quant course library

This code describes an exchange-trading wrapper that submits orders, checks their status, and optionally manages unfilled quantities. Its order workflow can cancel and reissue an order after a price move or a configured wait, using the remaining amount after…

ExecutionMarket microstructureCryptoFutures
Quant course library

This guide describes configuring and running an automated cryptocurrency grid trader for spot or futures markets. Its settings include the trading pair, percentage spacing between grid levels, per-order quantity, price and quantity precision constraints, and…

CryptoGrid tradingVolatilityRisk management
Quant course library

This document describes an execution wrapper for futures orders. It submits an order, checks its status, and can respond to an unfilled or partially filled order in several ways: cancel and reissue when the market price moves beyond a configured threshold,…

FuturesExecutionMarket microstructureRisk management
Quant course library

The strategy uses a fast and slow moving average to trade both directions in a USD margined futures contract. It checks completed bars for a bullish or bearish crossover, entering a position when flat and reversing an existing position when the signal points…

FuturesTechnical indicatorsTrend followingPosition sizing
Quant course library

This document describes a client for futures exchange HTTP endpoints. It covers public market data requests for exchange specifications, order books, candlesticks across several intervals, recent prices, and best bid and ask quotes. It also defines common…

CryptoFuturesPerpetual futuresMarket microstructure
Quant course library

The document surveys several ways to seek returns in cryptocurrency markets: lending assets through deposit products, supplying liquidity to earn fees, collecting perpetual-futures funding, trading price differences between contracts with different…

CryptoArbitrageCarryFutures
Quant course library

This example shows a workflow for backtesting an ATR-RSI strategy on one-minute futures data. The setup specifies the contract, date range, transaction costs, slippage, contract size, tick size, and starting capital, then loads data, runs the simulation,…

BacktestingFuturesTechnical indicators
Quant course library

The strategy compares a synthetic futures price, calculated from a call price minus a put price plus the strike, with the traded futures price. It measures the difference and opens a three-leg position when the spread crosses a configurable entry level: one…

ArbitrageOptionsFuturesDerivatives pricing
Quant course library

This example shows how to run a double exponential moving average strategy through an event-driven trading system. It creates an event engine, subscribes to tick updates, and sends those updates to a strategy callback. A websocket supplies live market data,…

CryptoFuturesTechnical indicatorsExecution
Quant course library

This strategy builds 15-minute bars and uses Bollinger Bands to place stop entries at the upper band for a long position and the lower band for a short position when flat. It calculates the middle band as a simple moving average and also computes ATR. Once…

FuturesBreakoutTechnical indicatorsRisk management
Quant course library

This strategy uses Bollinger Bands on 15-minute bars to place stop entries above the upper band and below the lower band while flat. It calculates a simple moving average as the middle band and uses that level as an exit trigger: long positions are sold when…

FuturesBreakoutTechnical indicatorsRisk management
Quant course library

This example describes a two-sided grid for a futures market. It tracks open buy and sell limit orders, checks their statuses, and after a fill places a replacement order on the opposite side at a configured percentage gap. It also maintains another order…

CryptoFuturesGrid tradingExecution
Quant course library

This document explains how to configure a trading application to store historical data and connect to an exchange. It compares SQLite, MongoDB, and MySQL settings, describes database fields such as driver, database name, host, port, and authentication…

CryptoFuturesSpot markets
Quant course library

This example manages a spread position using configurable entry and exit prices, a maximum position, order pay-up, and an execution interval. On each spread update, it checks whether the current time falls within the configured trading window. Outside that…

FuturesArbitrageExecution
Quant course library

This overview maps a CTA trading system into components for strategy templates, example strategies, backtesting, order conversion, live execution, and a graphical interface. It describes how live initialization can retrieve historical bars through a data…

FuturesBreakoutTechnical indicatorsBacktesting
Quant course library

This strategy uses the previous trading day’s high-to-low range to set stop-entry levels around the next day’s opening price. Separate multipliers scale the upward and downward thresholds. During the session, it chooses an entry side based on whether the…

FuturesBreakoutTrend followingExecution