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

157 documents

Quant course library

This spot strategy generates signals from a fast and a slow moving average. It identifies a bullish crossover using completed bar values rather than the current bar, which is intended to avoid signals that flicker while a bar is forming. A bullish cross…

CryptoSpot marketsMomentumTechnical 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

The document sketches a scheduled accumulation strategy for a crypto trading pair. A broker object stores an exchange connection, symbol, investment amount, latest bid and ask, and most recent order identifier. A scheduler periodically refreshes quotes,…

CryptoSpot marketsExecutionPosition sizing
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 document describes a workflow for importing historical bar data from a CSV file into a trading database. The operator configures the input file, instrument symbol, exchange, bar interval, and the column names corresponding to timestamps and OHLCV…

ExecutionStatistics
Quant course library

This HTTP client code illustrates basic operations for an exchange trading API: request signing, server-time retrieval, order creation and cancellation, open-order and position retrieval, and historical candle loading. Private requests add a timestamp and…

ExecutionMarket microstructureCryptoSpot markets
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 strategy builds 15-minute bars from incoming ticks and updates a rolling indicator manager. After the indicator window is initialized, it calculates Bollinger Bands and a simple moving average midline. When flat, it places stop entries above the upper…

Technical indicatorsBreakoutRisk management
Quant course library

This implementation describes a two-sided spot grid. It tracks buy and sell limit orders, checks their exchange status, and, when one fills, places a replacement order on the other side at a configured percentage gap. It rounds prices and quantities to…

CryptoSpot marketsGrid tradingExecution
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 strategy combines Bollinger Bands, MACD, and ATR to trade breakouts in either direction. It opens a long position when price reaches the upper band while MACD and its histogram are positive; it opens a short position when price reaches the lower band…

Technical indicatorsBreakoutMomentumRisk 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 introduces Python's built-in functions, explaining that they are available without importing a module and highlighting common conversion and arithmetic tools. Examples include converting values to numbers or sequences, finding minima and maxima,…

CryptoTechnical indicatorsExecution
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

The document explains design choices for a cryptocurrency trading framework, focusing on Python, asyncio, and RabbitMQ. It presents Python as a practical language for quickly changing strategies and argues that asynchronous I/O can handle many network…

CryptoExecutionMarket microstructureRisk management
Quant course library

This program wires a double exponential moving average strategy to a Bitcoin perpetual futures market. It creates an authenticated HTTP client, subscribes to websocket market data, and passes incoming ticks to the strategy. A background scheduler…

CryptoPerpetual futuresTechnical indicatorsExecution
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

This introductory lesson explains how to install and use Python through Anaconda. It describes Anaconda’s package and environment management features, including creating separate environments so projects can use different Python versions and dependencies. It…

Statistics
Quant course library

This example describes a directional strategy that uses two exponential moving averages on hourly bars. It compares a 15-period average with a 50-period average and treats a crossover between the latest and prior readings as a change in direction. When flat,…

CryptoTrend followingTechnical indicatorsBacktesting
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

The document describes a funding-rate trade that pairs a short perpetual futures position with a long spot position of equal size. It proposes opening the hedge when both the funding rate and quoted spread meet configured thresholds, collecting funding…

CryptoArbitragePerpetual futuresSpot markets
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