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

662 documents

FMZ digest

This tutorial describes training an agent to choose hold, buy, or sell actions for Bitcoin using a recurrent Proximal Policy Optimization model. It pairs an LSTM policy and value function with a custom Gym-style backtest environment. The environment supplies…

CryptoMachine learningBacktestingPosition sizing
FMZ digest

This installment stress-tests a futures strategy that sells assets after rises and buys after falls, using a simplified simulation to examine losses when one altcoin trends independently of the rest. It represents a 20-currency basket with a stable BTC proxy…

CryptoFuturesRisk managementPosition sizing
FMZ digest

The article describes a risk-parity strategy for a basket of tokenized traditional assets and BTC: an equity index proxy, gold, crude oil, and Bitcoin. Rather than assigning equal capital, it seeks roughly equal risk contributions, accounting for both asset…

Multi-assetPortfolio constructionRisk managementVolatility
FMZ digest

The article develops a probability-based framework for BTC 15-minute Up/Down contracts. It treats the target as the conditional probability of settling above the round’s official reference price, then compares that estimate with executable contract prices…

CryptoDerivatives pricingStatisticsVolatility
FMZ digest

The article explains how to relay TradingView strategy alerts to exchange execution through FMZ. It contrasts action-based alerts, such as an instruction to buy a quantity, with position-based copying, where each alert reports the current target position.…

CryptoExecutionPosition sizingRisk management
FMZ digest

This tutorial translates a closing-price trend strategy into a multi-contract crypto futures implementation. It calculates Average True Range (ATR), smooths each bar’s typical price with an exponential moving average, and forms upper and lower bands by…

CryptoFuturesTrend followingBreakout
FMZ digest

The document explains the standard RSI as a normalized comparison of recent average gains and losses, then reviews two common uses: fading readings near overbought or oversold thresholds, and trading crossovers between short- and long-period RSI lines. It…

FuturesTechnical indicatorsMomentumMean reversion
FMZ digest

The article presents an automated strategy for Binance perpetual contracts after a delisting signal. It detects contracts whose delivery date changes from a distant placeholder to a scheduled settlement time, then opens a base short and runs a separate short…

CryptoPerpetual futuresEvent-drivenGrid trading
FMZ digest

This article describes a crypto perpetual-futures strategy that combines short-term trend detection with passive market making. It uses aggregated trades to estimate the size and frequency of buyer- and seller-initiated activity, while order-book depth and…

CryptoPerpetual futuresHigh-frequency tradingMarket making
FMZ digest

The article walks through an automated crypto perpetual-futures system that gathers account, market, and position data, sends a structured context to a large language model, and routes its output to an execution module. Its market inputs combine…

CryptoPerpetual futuresMachine learningTechnical indicators
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

This introductory guide explains APIs through everyday analogies and shows how trading code uses them to request market data, calculate indicators, place orders, and inspect account state. Its M-language examples cover open, high, low, close, volume,…

Technical indicatorsExecutionMarket microstructureFutures
FMZ digest

The article presents an automated workflow for discovering and refreshing cross-sectional factors for crypto perpetual contracts. It selects liquid markets, classifies volatility conditions, prompts an AI system to propose factors, and evaluates candidates…

CryptoPerpetual futuresFactor investingMachine learning
FMZ digest

This tutorial describes a simple KDJ strategy and how to structure its implementation in C++ on the FMZ platform. It introduces the indicator’s RSV, K, D, and J components, then uses the relationship between K and D to generate long or short entry signals.…

Technical indicatorsMomentumFuturesExecution
FMZ digest

The document walks through a long, short, or two-sided grid strategy written in Pine for use with FMZ. Users set grid spacing, order size, grid count, and take-profit distance. When the live bar begins, the strategy records a starting price, plots grid…

CryptoGrid tradingExecutionBacktesting
FMZ digest

This programming guide presents two market-monitoring examples. The first collects spot prices across Binance trading pairs, stores observations in a rolling window, computes percentage changes, sorts the pairs, and displays the strongest movers. It notes…

CryptoFuturesPerpetual futuresMarket microstructure
FMZ digest

The document introduces Shannon’s Demon, a portfolio rebalancing method that holds equal values in a risky asset and cash, then restores that balance after the asset price changes. The strategy aims to capture gains from price fluctuations even when the…

CryptoVolatilityPortfolio constructionBacktesting
FMZ digest

This technical guide shows how to inspect liquidity positions represented by Uniswap V3 nonfungible position tokens. It outlines a sequence for finding the position manager, checking a wallet’s NFT balance, retrieving each token ID, and querying position…

CryptoDeFiSpot marketsExecution
FMZ digest

The document explains a perpetual futures balance strategy that maintains a target position value by selling after price rises and buying after declines. Its adjustment ratio determines how much the position changes for a given price move. The author…

CryptoPerpetual futuresGrid tradingBacktesting
FMZ digest

This article describes a daily trend indicator that classifies a bull trend when both highs and lows rise consecutively, and a bear trend when both fall. It uses completed daily bars to avoid decisions based on unfinished data and requires at least three…

CryptoTechnical indicatorsTrend followingStatistics
FMZ digest

This article explains two ways to seek gains when a crypto price fluctuates around a stable level. A balancing strategy maintains a target value split between cash and coin, trading when the allocation drifts beyond a chosen adjustment band. A grid strategy…

CryptoGrid tradingMean reversionBacktesting
FMZ digest

The article develops the Psychological Line (PSY), an indicator that counts rising bars over a lookback, into a measure intended to better represent the balance of buying and selling pressure. It notes that a simple count treats a small rise like a large…

CryptoTechnical indicatorsMomentumFactor investing
FMZ digest

This introductory guide outlines C++ concepts used to build quantitative trading strategies and shows how they fit into a platform trading loop. Its worked example uses MACD line comparisons to open or close long and short positions, checks for fresh…

Technical indicatorsMomentumExecutionHigh-frequency trading
FMZ digest

This guide describes a strategy that accepts external trading signals through an embedded HTTP service and turns them into spot or futures orders. It defines a message structure with fields for exchange selection, instrument, contract type, price, action,…

CryptoExecutionEvent-drivenTechnical indicators