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

19,452 documents

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
Quant course library

This document contains daily open, high, low, close, and volume observations for Bitcoin priced in USDT during 2020. The rows are timestamped at 08:00 and show the market's changing price and trading volume through the year. The visible records include sharp…

CryptoSpot marketsVolatilityBacktesting
Quant course library

This introductory explanation presents functions as reusable blocks of code. It covers defining a function with def, choosing a descriptive name, calling the function, documenting it with a docstring, and returning a value. A market-data example retrieves…

CryptoSpot marketsExecution
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 implements a spot grid that keeps one buy and one sell order working around the latest top of book. At timed intervals, when neither side has an outstanding order, it places orders offset from the best bid and ask by half the configured grid…

Spot marketsCryptoGrid tradingExecution
Quant course library

This strategy places paired long and short limit orders around the market, then rebuilds the grid after fills using the last filled price and a position-dependent step. It tracks net position and average entry price with a grid position calculator. When…

FuturesCryptoGrid tradingRisk management
Quant course library

This implementation describes a streaming market-data process for a crypto derivatives instrument. After an authenticated connection, it subscribes to position and order-book topics. It initializes bid and ask maps from a snapshot, then applies incremental…

CryptoMarket microstructureExecution
Quant course library

This document describes a spot trading interface that retrieves balances and market data, submits buy and sell orders, and reports order status. Its execution workflow checks an order after submission and can cancel and replace an unfilled or partially…

CryptoSpot marketsExecutionMarket microstructure
Quant course library

The document presents a rules-based BTCUSD trading example that derives three directional signals from recent price bars: RSI thresholds, CCI thresholds, and a comparison between fast and slow simple moving averages. It sums those signals and scales the…

CryptoFuturesTechnical indicatorsPosition sizing
Quant course library

The document introduces Python dictionaries through a sample exchange response containing a trading symbol and its latest price. It explains key-value storage, unique keys, mutable contents, and how dictionaries differ from indexed sequences. The example…

CryptoSpot markets
Quant course library

This document presents an exchange interface for perpetual futures that combines account and market queries with order placement, cancellation, and status checks. Its buy and sell routines submit orders, inspect their reported state, and can react to…

Perpetual futuresCryptoExecutionMarket microstructure
Quant course library

The document outlines a cryptocurrency futures system that combines MACD direction signals with Bollinger Band breakouts. It proposes opening a long position when MACD forms a bullish crossover with its fast line above zero and price breaks the upper band,…

CryptoFuturesBreakoutMomentum
Quant course library

The document explains a market-neutral approach to perpetual futures funding. When funding is positive, it proposes buying spot and shorting an equal amount of the perpetual contract; when funding is negative, it proposes borrowing and selling spot while…

CryptoArbitragePerpetual futuresSpot markets
Quant course library

The document shows a workflow for backtesting two strategies on different cryptocurrency markets, then adding their result data frames to form a combined portfolio series. A helper configures each run with market, interval, date range, transaction costs,…

CryptoBacktestingPortfolio construction
Quant course library

This strategy uses 15-minute bars to calculate Bollinger Bands, a simple moving average, and average true range. When flat, it places stop entries at the upper and lower Bollinger bands, allowing a move beyond either boundary to initiate a long or short…

CryptoBreakoutTechnical indicatorsRisk management
Quant course library

This document is a time series of two-hour BSV/USDT candles. Each visible row records a timestamp, opening and closing prices, the high and low for the interval, and volume. The observations show price movement and trading activity over portions of late…

Crypto
Quant course library

This strategy uses hourly bars to trade breakouts from Donchian channels. When flat, it places stop orders at the upper and lower boundaries of a longer channel, using average true range (ATR) to set trade size. Its risk allocation is divided by twice the…

CryptoBreakoutTrend followingVolatility
Quant course library

The document outlines a long and short cryptocurrency strategy that combines MACD direction with Bollinger Band breakouts. Long entries require a bullish MACD cross with the fast line above zero and a price break above the upper band; short entries use the…

CryptoTechnical indicatorsBreakoutPosition sizing
Quant course library

This guide describes capabilities for building and operating automated cryptocurrency strategies. It covers exchange order actions, market and position data access, indicator calculations, and example strategies. Its execution assistant can cancel unfilled…

CryptoExecutionTechnical indicatorsRisk management
Quant course library

The document shows how a graphical trading application is assembled from an event engine, a main engine, exchange gateways, and several trading applications. The configured components include strategy execution, backtesting, data management and recording,…

CryptoSpot marketsFuturesBacktesting
Quant course library

The document demonstrates a WebSocket client that authenticates, subscribes to level-two order-book feeds, and maintains separate bid and ask maps for each symbol. It handles snapshot messages by loading initial levels, then applies inserts, updates, and…

CryptoMarket microstructureExecution
Quant course library

The document implements a Turtle-style breakout strategy using Donchian channel levels for entries and exits, with ATR-based stop placement and position sizing. It tracks the trade’s high and low, moves stops as prices advance, and adds to positions at…

CryptoTrend followingBreakoutTechnical indicators