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

765 documents

FMZ digest

The document adapts an intertemporal commodity futures hedge strategy by using Bollinger Bands on the price spread between two contracts to define entry and exit signals. It synchronizes the contracts’ candle data, calculates the spread as one contract’s…

FuturesCommoditiesPairs tradingMean reversion
FMZ digest

The article introduces intertemporal hedging by pairing a long position in one contract with a short position in another, then closing both when the combined result is favorable. It derives the basic spread relationship for a short in contract A and a long…

CryptoFuturesPerpetual futuresPairs trading
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 document revisits a multi-coin Binance futures strategy that trades each altcoin against a basket-level index of altcoin-to-BTC prices. Positions are scaled to the deviation from the cross-sectional mean, with an exchange simulation tracking margin,…

CryptoFuturesPairs tradingBacktesting
FMZ digest

The document walks through a JavaScript implementation of a two-asset digital currency pair strategy on a trading platform. It estimates an average price ratio from aligned hourly candles, compares the current ratio with that average, and converts the…

CryptoPairs tradingMean reversionExecution
FMZ digest

The document develops a relative-value strategy that trades EWY against Samsung Electronics and SK Hynix, which are major ETF holdings. It argues that this same-account basket avoids several practical frictions in trading Korean cash equities against…

EquitiesCryptoPairs tradingMean reversion
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
FMZ digest

This document describes a grid strategy that trades the relative price of two crypto assets, illustrated with LTC/USDT and ETH/USDT. Instead of using the price difference between assets, it tracks their price ratio. As the ratio rises through preset levels,…

CryptoGrid tradingPairs tradingPosition sizing
FMZ digest

This installment reviews a multi-currency Binance futures strategy and updates its analysis with minute-level price data. One method compares each asset's price relative to Bitcoin after exponential moving-average normalization, then adjusts signed target…

CryptoFuturesPairs tradingBacktesting
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 presents a bearish conditional case for Ether while remaining more constructive on Bitcoin. It argues that a break of ETH’s cited support could expose lower technical levels and trigger liquidations. The author points to ETH’s recent…

CryptoOptionsVolatilityRisk management
Deribit Insights

The commentary reviews an unusually volatile week in crypto, contrasting Bitcoin’s relatively small net decline after a wide trading range with larger losses among Ether and many altcoins. It connects altcoin weakness to the year’s concentration of…

CryptoVolatilityPairs tradingEvent-driven
Deribit Insights

This market commentary describes a relative-value options position during a period of subdued realized and implied volatility. The proposed trade is to buy a March ETH straddle and sell a March BTC straddle, expressing the view that ETH volatility may…

CryptoOptionsVolatilityPairs trading
Deribit Insights

The article proposes a relative-value approach to Bitcoin and Ethereum based on their historical relationship. Its statistical workflow measures correlation, fits a linear regression, estimates beta, tracks residuals, tests cointegration, and considers a…

CryptoPairs tradingMean reversionOptions
Deribit Insights

The document introduces spread trading as taking a long position in one asset and a short position in another, aiming to trade their relative performance. It applies this idea to crypto cross pairs, where one cryptocurrency is priced against another, and to…

CryptoFuturesPairs tradingRisk management
Deribit Insights

The commentary describes a crypto market with range-bound prices, stable realized volatility, and implied volatility still above realized volatility. That relationship leaves positive volatility carry, though the spread is compressing. The author interprets…

CryptoOptionsVolatilityCarry
Deribit Insights

This market commentary considers why crypto prices held up amid US enforcement actions, then looks for relative-strength and catch-up opportunities across layer-one tokens and decentralized finance. It argues that regulatory actions were broadly anticipated,…

CryptoMomentumDeFiPairs trading
Deribit Insights

This article explains how USDC-settled linear perpetual contracts differ from inverse contracts that use BTC as collateral. It compares equivalent BTC positions and shows that their dollar profit or loss can match, while the resulting balance is held in…

CryptoPerpetual futuresPosition sizingPairs trading
QuantInsti blog

This profile follows a California data analyst’s move toward quantitative and algorithmic trading. His engineering, econometrics, and data work led him to explore Python, futures, automated analysis, and discretionary trading based on macro news sentiment.…

Machine learningSentimentFuturesPairs trading
QuantInsti blog

This project tests a mean-reversion pairs strategy on Mexican stocks. It screens an initial equity universe for complete price histories and minimum average trading volume, then tests within-industry pairs for cointegration with an augmented Dickey-Fuller…

EquitiesPairs tradingMean reversionStatistics
QuantInsti blog

The article introduces principal component analysis (PCA) as a way to reduce the dimensionality of financial data while retaining much of its variation. It explains eigenvectors and eigenvalues as directions and magnitudes of transformation, then connects…

StatisticsPairs tradingArbitragePortfolio construction
QuantInsti blog

The article explains Linear Discriminant Analysis (LDA) as a supervised method for classifying observations and estimating the probability of belonging to a class. It contrasts LDA with logistic regression and describes LDA’s use of Bayes’ theorem, class…

Machine learningRisk managementPairs tradingPortfolio construction
QuantInsti blog

This project tests a simple ETF pairs strategy in oil, technology, and financial sectors: USO with XLE, XLK with IYW, and XLF with PSCF. It estimates a hedge ratio by regression, evaluates spread stationarity with an Augmented Dickey-Fuller test, then enters…

EquitiesPairs tradingMean reversionArbitrage
QuantInsti blog

The article introduces the Kalman filter as a recursive method for estimating a changing, partly unobserved state by combining model predictions with noisy measurements and their uncertainty. It explains concepts including normal distributions, variance,…

StatisticsPairs tradingVolatilityPortfolio construction