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

1,747 documents

Machine Learning for Trading

This notebook describes how to generate holdout predictions for a crypto perpetual funding strategy after its configuration has been selected using validation results. It resolves the highest-Sharpe eligible validation backtest, carries over the model…

CryptoPerpetual futuresMachine learningBacktesting
Machine Learning for Trading

This module defines a point-in-time simulation environment for executing a large sell order in crypto perpetual futures. Its observations combine remaining inventory and time with market volatility, premium index, relative volume, hour of day, and time to…

CryptoPerpetual futuresExecutionMarket microstructure
Machine Learning for Trading

This document describes a pipeline for downloading official Binance USD-M perpetual funding records, normalizing them, and caching them in a columnar file. Monthly archives are fetched concurrently for the requested symbols and date range. The records are…

CryptoPerpetual futuresDerivatives pricingBacktesting
Machine Learning for Trading

This analysis selects one configuration from a frozen pool of crypto perpetual-futures candidates spanning four prediction labels and multiple strategy stages. It chooses the highest validation Sharpe and treats label, split, and execution details as part of…

CryptoPerpetual futuresStatisticsBacktesting
Machine Learning for Trading

This notebook compares gradient boosting configurations for crypto perpetual futures using features built around the premium of perpetual contracts over spot. It varies tree capacity and loss function, including squared, absolute, and Huber losses, and…

CryptoPerpetual futuresMachine learningBacktesting
Machine Learning for Trading

This notebook develops model-based features for crypto perpetual futures: per-asset conditional volatility forecasts from GJR-GARCH and a market-wide stressed-regime probability from a two-state Gaussian hidden Markov model fitted to funding settlements.…

CryptoPerpetual futuresVolatilityMachine learning
Machine Learning for Trading

This case study lays out a research pipeline for crypto perpetual futures, treating funding payments exchanged between long and short positions at regular settlements as a potential return source. It describes data and model stages from label construction…

CryptoPerpetual futuresFuturesMachine learning
Strategy library

This strategy builds a grid for range-bound perpetual futures trading, with gold and other lower-volatility assets given as intended markets. It activates only after three range checks pass: a low regression slope, highs and lows that do not both move…

CryptoGrid tradingMean reversionPerpetual futures
Strategy library

The strategy pairs a short perpetual futures position with a long spot position in the same cryptocurrency. The hedge is intended to reduce exposure to the coin’s price direction while collecting funding when the rate favors shorts. It proposes selecting…

CryptoArbitragePerpetual futuresSpot markets
Strategy library

This strategy searches across perpetual-futures venues for token pairs with differing funding rates. It normalizes each venue’s rate by its payment interval, annualizes the comparison to a daily horizon, and selects the most favorable long/short venue…

FuturesPerpetual futuresArbitrageDerivatives pricing
Strategy library

This workflow describes a bidirectional grid for cryptocurrency perpetual futures. From an initial reference price, it places long levels below and short levels above; positions are opened as price reaches grid steps and are intended to close when price…

CryptoPerpetual futuresGrid tradingSentiment
Strategy library

This strategy uses changes in USDT supply as a proxy for liquidity conditions in Bitcoin markets. It proposes going long when supply reaches a new high over a rolling window, then closing the position or going short when supply falls to a new low. A…

CryptoBreakoutTechnical indicatorsPerpetual futures
Strategy library

This short-term futures approach monitors Binance liquidation data, filters small events, and compares recent liquidation volume with its historical average using a Z-score. A surge with a strongly one-sided liquidation mix creates a candidate signal. The…

CryptoFuturesPerpetual futuresTrend following
Strategy library

This framework combines three components: a cash reserve floor, recurring purchases of a core asset, and a smaller alpha sleeve that trades selected crypto perpetual contracts. The reserve rule skips purchases when spending would breach the configured…

CryptoPerpetual futuresTrend followingBacktesting
Strategy library

This long-only Bitcoin strategy uses a 14-period RSI on a four-hour timeframe to arm entries when RSI falls below 38. It adds up to five safety orders at fixed price declines from the base entry, with each order sized about 1.8 times larger than the previous…

CryptoPerpetual futuresMean reversionPosition sizing
Strategy library

This document describes a long-only dollar-cost averaging setup for an INTC-linked USDT perpetual futures market. It starts with a base order and adds equal-sized safety orders as price falls, using progressively wider price steps. The configuration…

FuturesCryptoPerpetual futuresPosition sizing
Strategy library

This crypto futures strategy seeks to keep account value balanced between available stablecoin funds and a long position. It compares available balance with the leveraged value of the position. When either side exceeds a configurable threshold, it adjusts…

CryptoFuturesPerpetual futuresGrid trading
Strategy library

This workflow describes an automated crypto perpetual-futures system that combines short- and long-term EMA crossovers with news sentiment. It evaluates completed candles to identify golden or death crosses, then gathers recent RSS coverage and has an AI…

CryptoPerpetual futuresTrend followingSentiment
Strategy library

This document describes a market-making system for Binance USDC perpetual futures. Its numerical core analyzes recent trade flow and price profiles alongside estimated buy- and sell-side market impact. The signal combines directional flow, shifts in volume…

CryptoFuturesPerpetual futuresMarket making
Strategy library

This strategy trades a basket of USDT-margined crypto perpetuals by comparing each asset’s price relative to Bitcoin with a basket index. It maintains a smoothed reference level for each coin-to-Bitcoin ratio, then uses deviations from the index to guide…

CryptoFuturesPerpetual futuresMean reversion
Strategy library

This 30-minute ETH perpetual strategy combines directional trend, RSI limits, relative volume, and two momentum measures to select long and short entries. It offers two ADX calculation variants. Long entries require positive directional movement, ADX above…

CryptoPerpetual futuresTrend followingMomentum
Strategy library

This note describes a moving-average crossover approach for following trends. It calculates a fast EMA and a slow EMA, using a 12-period and 26-period pair as examples. A fast EMA crossing above the slow EMA signals a long entry, while a downward cross is…

CryptoPerpetual futuresTrend followingTechnical indicators
Strategy library

This strategy uses candle direction and body size to enter long or short positions. It compares the latest candle’s body with half of an exponentially smoothed body-size measure over the recent 30 bars. A sufficiently large bullish candle can trigger a long,…

CryptoPerpetual futuresTrend followingBreakout
Strategy library

This workflow has multiple language models act as virtual traders, each maintaining a separate simulated account and producing standardized position actions. Their decisions use technical readings from daily, hourly, and five-minute intervals, including RSI,…

CryptoPerpetual futuresMachine learningTechnical indicators