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

157 documents

Quant course library

This document implements a directional crossover strategy using fast and slow exponential moving averages on hourly bars. It calculates the averages from closing prices, discards the latest bar if it has not yet closed, and signals a long position when the…

CryptoFuturesTrend followingTechnical indicators
Quant course library

The document shows a simple workflow for evaluating two futures strategies together. It runs separate historical simulations for an ATR-RSI strategy on an equity index contract and a Bollinger channel strategy on a metal contract. Each run specifies its own…

FuturesBacktestingPortfolio constructionRisk management
Quant course library

This document describes data structures for tracking option contracts, underlying instruments, and option chains in a portfolio. It updates positions from trades and holdings, derives mid prices from top of book quotes, and connects options with pricing…

OptionsDerivatives pricingVolatilityPortfolio construction
Quant course library

The document outlines an event-driven trading system designed for cryptocurrency strategies, including market making and higher-frequency activity. It describes an asynchronous event loop for processing work and a message queue that connects separate market…

CryptoHigh-frequency tradingMarket makingExecution
Quant course library

This document explains how to build a multi-contract strategy using synchronized bar data, per-leg targets, and order management. Its example computes the spread between two weighted contract prices, updates a rolling window, and uses Bollinger Bands to…

FuturesPairs tradingMean reversionTechnical indicators
Quant course library

The document describes a two-leg spread strategy built around Bollinger Bands. It calculates a weighted price difference between two contracts, samples the spread on a five-minute schedule, and compares it with a rolling mean and standard deviation. A move…

FuturesPairs tradingMean reversionTechnical indicators
Quant course library

This guide explains how to use a Python wrapper around multiple cryptocurrency exchanges through a mostly consistent interface. It shows initialization with an exchange name and credentials, then describes calls for market status, candlesticks, order books,…

CryptoSpot marketsExecution
Quant course library

This example retrieves historical minute bars for a cryptocurrency symbol from a trading database, using an exchange, interval, and date range as query parameters. It then extracts each bar’s timestamp and closing price and plots the resulting price series…

CryptoStatistics
Quant course library

This document explains a workflow for collecting live market data for selected instruments. After connecting to a market interface and starting the recorder, a user adds tick or bar recording tasks. The recorder subscribes to the required instruments, stores…

Market microstructureExecutionFutures
Quant course library

This guide explains execution algorithms that divide large orders, react to market prices, and adjust positions on a grid or across a spread. It describes time-weighted execution, iceberg orders, a tick-driven sniper approach, conditional orders, and…

ExecutionMarket microstructureGrid tradingPairs trading
Quant course library

This strategy uses a fast and a slow moving average to trade long and short. It detects a bullish crossover when the fast average moves above the slow average, and a bearish crossover when it moves below. When a signal opposes an open position, the code…

Technical indicatorsTrend followingFuturesRisk management
Quant course library

This lesson explains how Python functions return values and how that differs from printing output. It covers explicit returns, the implicit None result when no value is returned, how a return ends the current function, and how multiple returned elements are…

CryptoSpot marketsExecution
Quant course library

This document is a daily candlestick dataset for the BTC/USDT market during 2019. Each row records a timestamp and the open, high, low, and close prices, together with traded volume. The visible entries span portions of the year, including early-year…

CryptoSpot marketsBacktesting
Quant course library

The document describes an options volatility trading module built around live pricing, portfolio risk tracking, and execution. It outlines three pricing models for different exercise styles and underlyings, with routines to calculate theoretical prices and…

OptionsVolatilityDerivatives pricingRisk management
Quant course library

The document contains hourly open, high, low, close, and volume observations for the ADA-USDT market. The visible records begin in early May 2018 and continue through the end of December 2018, with gaps in the displayed sequence. The fields support basic…

CryptoSpot marketsBacktestingStatistics
Quant course library

This strategy seeks directional breakouts on one-hour bars. A long entry requires positive CCI and an intraday bid above the upper Bollinger Band and the previous bar’s high; a short entry requires negative CCI and an ask below the lower band and previous…

CryptoFuturesBreakoutTechnical indicators
Quant course library

The strategy applies a long-only moving average crossover to daily bars for a single stock. After enough bars are available to calculate both averages, it treats an upward cross of the shorter average over the longer one as an entry signal and buys when…

EquitiesTrend followingTechnical indicatorsBacktesting
Quant course library

This multi-instrument strategy updates bars from incoming ticks and calculates ATR and RSI for each instrument. It only considers new entries when the latest ATR is above its recent average. RSI levels set around the midpoint then determine direction: a high…

FuturesTrend followingMomentumTechnical indicators
Quant course library

This document describes a graphical interface for defining and monitoring spread trades. Users can create standard or flexible spreads, specify leg instruments and directions, set a pricing formula, identify an active leg, and enter minimum trade volume. The…

Multi-assetPairs tradingExecutionMarket microstructure
Quant course library

This example outlines a multi-timeframe analysis workflow for Bitcoin-dollar price data. It loads minute history over a stated date range, configures a transaction-rate assumption and a rolling analysis window, and assigns technical indicators to several…

CryptoTechnical indicatorsMulti-asset
Quant course library

The document explains utilities for turning incoming trades into one-minute OHLCV bars and combining minute bars into larger time windows. It tracks price extremes, closing price, volume changes, and open interest, then sends completed bars through…

Technical indicatorsMarket microstructureStatisticsExecution
Quant course library

This code tracks long and short holdings, separating each side into today’s and prior-day positions. It updates those amounts from position snapshots and trades, and it keeps active orders so that quantities committed to closing positions are treated as…

FuturesExecutionRisk management
Quant course library

This strategy forms a spread from two instruments’ bar closes, weighted by configurable leg ratios. It updates the spread at five-minute intervals, keeps a rolling history, and calculates a moving average with upper and lower bands based on the spread’s…

Pairs tradingMean reversionTechnical indicatorsFutures