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

12 documents

Quant course library

The document introduces a position calculator for a grid strategy that tracks net quantity, average price, and accumulated profit as fully filled orders arrive. Its example illustrates that after buying at several nearby levels and selling part of the…

CryptoSpot marketsGrid tradingPosition sizing
Quant course library

This strategy starts by placing buy and sell limit orders around the best bid, then follows whichever side fills. After a fill, it cancels opposing and profit-taking orders and adds another same-direction order at a wider, position-dependent grid interval.…

Grid tradingHigh-frequency tradingPosition sizingRisk management
Quant course library

The strategy compares the current marked value of its position with a stored balance amount on each new bar. When the relative difference reaches a configurable threshold, it trades toward balance: it buys when the stored amount exceeds position value and…

CryptoGrid tradingPosition sizingExecution
Quant course library

The document defines common records used to represent ticks, bars, orders, fills, positions, accounts, contracts, and trading requests. Fields capture instrument identity, exchange, time, prices, volumes, order state, and selected contract properties.…

Grid tradingMarket microstructureExecution
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 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 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 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

The document describes a two-sided futures grid strategy that places orders on both sides of the market and includes take-profit and stop-loss controls. It presents the approach as most suitable for range-bound conditions or periods of relatively low, stable…

FuturesGrid tradingVolatilityRisk management
Quant course library

This spot grid strategy places paired buy and sell orders around the market, then rebuilds the grid after a fill using the filled order price and current bid and ask. Grid spacing and order size are configurable. A position calculator tracks net exposure and…

CryptoSpot marketsGrid tradingRisk management