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

1,625 documents

FMZ digest

The article describes building a spot and delivery-futures spread strategy around the idea that the spread tends to fluctuate near a mean. Its initial signal uses a spread deviation from that mean, while an augmented Dickey-Fuller test screens for…

CryptoFuturesSpot marketsArbitrage
FMZ digest

The document proposes hedging spot and futures exposure with paired limit orders instead of taking existing quotes when a price spread meets a threshold. It compares the futures and spot order books, places orders on opposite sides when the spread is…

Spot marketsFuturesArbitrageExecution
FMZ digest

This article presents a short-horizon strategy for trading two related crypto futures contracts. Its motivating example is a claimed brief lag between TRUMP and MELANIA: when one contract moves sharply, the strategy looks for a difference in their candle…

CryptoFuturesArbitragePairs trading
FMZ digest

This tutorial develops a simple spot arbitrage design that buys on the exchange with the lower price and sells on the one with the higher price. It explains practical requirements for implementing the idea: minimum and maximum order sizes, exchange price and…

CryptoSpot marketsArbitrageExecution
FMZ digest

This article describes upgrades to a cryptocurrency spot arbitrage strategy operating across two exchanges. It adds separate spread thresholds for trading in each direction, uses order-book bid and ask prices with a slippage allowance, and caps hedge size by…

CryptoSpot marketsArbitrageExecution
FMZ digest

The document describes a same-asset calendar spread strategy using ETC futures with different expiries. It defines the spread from the bid and ask prices of weekly and quarterly contracts, then applies Bollinger Bands to the spread series. A move below the…

CryptoFuturesArbitrageMean reversion
FMZ digest

This introduction describes lead-lag trading as an attempt to exploit delayed price adjustment between related markets. Its main example compares highly liquid crypto exchanges, whose prices may move first, with less liquid venues where prices can lag. A…

CryptoArbitrageExecutionMarket microstructure
FMZ digest

This beginner guide surveys common programmed trading approaches, including arbitrage, trend following, grid or regression methods, and high-frequency trading. It also distinguishes strategies by implementation scope, such as single-asset, multi-asset,…

CryptoArbitrageTrend followingGrid trading
FMZ digest

This tutorial introduces spot–futures hedging as a form of spread trading and uses a research environment to examine an example trade. The example concerns opening and closing a hedge between BTC/USDT spot and a quarterly futures contract, with separate…

CryptoFuturesSpot marketsArbitrage
FMZ digest

The document explains how a crypto spot–futures arbitrage idea based on spread mean reversion becomes more complicated in live trading. The proposed approach enters when the spread’s Z-score moves beyond a threshold and exits as it reverts, while an…

CryptoFuturesSpot marketsArbitrage
FMZ digest

The article develops an upgrade to a cryptocurrency spot hedger operating across two exchanges. It adds separate spread thresholds for each trading direction, allowing the strategy to respond when price differences are persistently asymmetric and inventory…

CryptoSpot marketsArbitrageExecution
FMZ digest

This tutorial introduces cross-period hedging by pairing a long position in one futures contract with a short position in another. It derives how the combined result depends on the spread changing between entry and exit, then notes that fees and slippage…

CryptoFuturesPerpetual futuresArbitrage
FMZ digest

This first-person account traces a programmer’s path into cryptocurrency trading, from mining Litecoin to cross-exchange arbitrage, grid strategies, market making, and taking liquidity. It describes how apparent opportunities changed as prices moved,…

CryptoArbitrageMarket makingGrid trading
FMZ digest

This research note develops a three-leg hedge across perpetual, near-dated, and deferred delivery futures. It defines a butterfly spread as the deferred contract price plus the perpetual price minus twice the near-dated contract price. A long spread position…

CryptoFuturesArbitrageGrid trading
FMZ digest

The article develops a paired-order strategy for short-duration binary prediction markets. Since one of two mutually exclusive outcomes should pay one dollar at settlement, buying both sides below a combined cost of one can lock in a gross payout advantage.…

CryptoArbitrageEvent-drivenExecution
FMZ digest

The document compares pending orders on decentralized exchanges with custom trading through smart contracts. Aggregators monitor prices and liquidity, then execute qualifying orders, sometimes sharing or retaining any improvement beyond the user's limit…

CryptoDeFiOn-chain dataExecution
FMZ digest

This article tests a proposed strategy that pairs Bitcoin and Ether positions according to their relative strength. It first illustrates the weakness of using equal contract counts, then estimates a hedge ratio from the assets’ historical price ratio and…

CryptoPairs tradingArbitrageRisk management
Deribit Insights

This desk commentary argues that option valuation depends on more than volatility assumptions and dynamic hedging. It emphasizes whether counterparties trust the venue, whether options are liquid enough to enter and exit, and whether the underlying can be…

CryptoOptionsVolatilityArbitrage
Deribit Insights

The article argues that US-listed spot Bitcoin ETFs could increase institutional participation and put downward pressure on implied volatility. It connects that forecast to a gap between realized and implied volatility, the distribution of outstanding puts…

CryptoOptionsVolatilityArbitrage
Deribit Insights

This article uses Dai’s post-crash premium above one dollar to explain how Maker can influence stablecoin supply and demand. Unlike fiat-backed stablecoins, Dai is issued against overcollateralized debt, so arbitrageurs face collateral and capital costs.…

CryptoDeFiArbitrageRisk management
Deribit Insights

The document explains a bitcoin cash and carry trade, also called basis trading. A trader buys bitcoin in the spot market and shorts a dated futures contract priced above spot. Because the futures price converges toward the settlement price as expiry…

CryptoFuturesArbitrageCarry
Deribit Insights

The document explains maximal extractable value (MEV) as revenue gained by changing which transactions enter a block and in what order. It describes how limited blockspace, public transaction data, and builders’ ability to choose transactions create…

CryptoArbitrageMarket microstructureOn-chain data
Deribit Insights

The article compares cross-chain Bitcoin peg designs by their redemption rights, custody model, censorship resistance, operating cost, and ability to hold price parity. In a wrapped model, BTC deposits back redeemable tokens, with arbitrage incentives…

CryptoDeFiArbitrageRisk management