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
WonderTrader
14 documents
Alphalens
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

Strategy library

This long-only averaging strategy uses a low RSI reading on a higher timeframe to arm an initial entry. If price falls further from the base entry, it places up to five additional orders at preset percentage distances, with each order sized twice as large as…

CryptoPerpetual futuresMean reversionPosition sizing
Strategy library

This short-only strategy is designed for SOL perpetual futures. It opens a short when a three-minute RSI with a nine-period setting crosses down through an overbought threshold. If price rises after entry, it can add up to three averaging orders at fixed…

CryptoPerpetual futuresMean reversionRisk management
Strategy library

The strategy seeks funding payments by holding long spot and an offsetting short perpetual futures position. When perpetual contracts trade at a premium and funding is positive, longs pay shorts; the paired positions are intended to reduce exposure to the…

CryptoFuturesSpot marketsPerpetual futures
Strategy library

This document describes a monitoring script for price alerts across several Binance trading pairs. The user supplies a symbol list and a corresponding upper and lower threshold for each pair. The script polls each market, reads its latest price, and logs an…

CryptoTechnical indicatorsExecutionSpot markets
Strategy library

This Hummingbot controller example opens a market position in a configured direction, sizing the order from a quote-currency amount and the current mid-price. It records when the opening action is submitted, then waits for a configurable delay before placing…

ExecutionPosition sizingPerpetual futures
Strategy library

This Bybit perpetual-futures strategy uses fast and slow moving averages, closing prices, and recent candle direction to manage a single long or short position. A long setup requires the close to be above both averages and the fast average to be rising; the…

CryptoPerpetual futuresTrend followingPosition sizing
Strategy library

This source describes a long-only grid strategy for FIL perpetual futures. It places a set of price levels between user-defined upper and lower bounds, with either geometric or arithmetic spacing. The comments describe buying as price crosses grid levels…

CryptoPerpetual futuresGrid tradingRisk management
Strategy library

This FMEX perpetual futures bot repeatedly calculates bid and ask prices from order book depth, places orders of a configured size on both sides, and cancels and replaces them when its calculated prices change. It periodically cancels all open orders to…

CryptoPerpetual futuresExecutionMarket microstructure
Strategy library

This document outlines a Python framework for managing several perpetual futures markets. Its modules cover market data, exchange-specific contract precision, positions, orders, account metrics, and a live status display. The main loop polls these components…

CryptoFuturesPerpetual futuresExecution
Strategy library

This document presents an automated Bitcoin USDT perpetual futures setup that operates across two exchange accounts. It configures both accounts for the same contract, sets leverage and margin mode, retrieves exchange and position data, and tracks account…

CryptoPerpetual futuresRisk managementExecution
Strategy library

This script describes a long-only grid approach for a Bitcoin perpetual futures market. It divides a fixed price range into levels, using either geometric or arithmetic spacing. The stated default configuration uses geometric spacing, with buys triggered as…

CryptoFuturesGrid tradingPerpetual futures
Strategy library

This short-term reversal approach combines the Money Flow Index (MFI) with a simple moving average (MA). Its stated logic looks for MFI readings at overbought or oversold extremes and uses the close relative to the MA as a directional filter. The…

Technical indicatorsMean reversionRisk managementBacktesting
Strategy library

This Hummingbot strategy is a data-only screener that compares volatility across configured trading pairs using three-minute candles. Once candle histories are ready, it periodically reports a ranked table of markets. Its selected measures are Bollinger Band…

CryptoVolatilityTechnical indicatorsStatistics
Strategy library

This long-only dollar-cost-averaging strategy for a crypto perpetual contract uses a four-hour RSI reading below 28 to arm a base entry. If price declines from that entry, it places as many as five additional orders at fixed percentage offsets, with order…

CryptoPerpetual futuresMean reversionPosition sizing
Strategy library

The document describes how to convert between coin quantities and contract counts for OKX swap instruments. It uses the exchange’s public contract conversion endpoint, supplying an instrument identifier, conversion price, quantity, and—when converting…

CryptoDerivatives pricingPerpetual futuresPosition sizing
Strategy library

This strategy seeks reversals when price is far from a weighted moving-average reference and volume-based momentum is at an extreme. It calculates a 60-period weighted moving average and bands two standard deviations above and below it. A 14-period RSI…

CryptoFuturesPerpetual futuresMean reversion
Strategy library

This strategy compares selected altcoins’ prices relative to Bitcoin with a shared index. It aims to short coins trading above that reference and buy coins below it, with position values scaled to the size of each deviation. The updated approach uses an…

CryptoFuturesPerpetual futuresMean reversion
Machine Learning for Trading

This demo outlines an always-on crypto trading loop connected to Alpaca’s USD spot market. It maps a perpetual-futures case-study universe to the venue’s supported spot pairs, making clear that only a subset can be traded there. The example signal is a…

CryptoSpot marketsPerpetual futuresMomentum
Machine Learning for Trading

This notebook demonstrates covariate-drift monitoring for ETF momentum features and crypto perpetual futures features across contrasting market windows. It compares Population Stability Index, which measures changes in individual feature distributions, with…

Machine learningStatisticsRisk managementCrypto
Machine Learning for Trading

This notebook turns model rankings into simple crypto perpetual-futures portfolios so later experiments can measure the effect of changing sizing, costs, or risk controls. It applies entry rules such as selecting the highest-scored contracts for longs and…

CryptoPerpetual futuresBacktestingPortfolio construction
Machine Learning for Trading

This notebook develops a simulated market-making task in which a PPO agent chooses quote skew and spread width. Fill probability declines as quotes move farther from the mid price, while order imbalance affects both fills and subsequent price moves. A…

Market makingMachine learningExecutionMarket microstructure
Machine Learning for Trading

This notebook trains a PPO agent to schedule a parent sell order across hourly perpetual-futures bars. It augments price and volume history with the perpetual premium and time to the next funding settlement, while lagging information that would not yet be…

CryptoPerpetual futuresExecutionBacktesting
Machine Learning for Trading

This notebook introduces vectorized backtesting with VectorBT through a long-only RSI mean-reversion rule on Bitcoin perpetual market data. It calculates a close-based RSI, enters when the prior day’s reading is below a lower threshold, and exits when it is…

CryptoPerpetual futuresMean reversionTechnical indicators
Machine Learning for Trading

This notebook compares six allocation methods on crypto perpetual strategies that have already passed a baseline selection funnel. It keeps each strategy’s predictions and entry rules fixed, then changes how capital is assigned: one allocator uses model…

CryptoPerpetual futuresPosition sizingPortfolio construction