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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

682 documents

FMZ forum

The article explains why a high win rate alone does not ensure long-run profits. Traders may close winners too early and let losing positions grow, so the size of gains and losses matters alongside their probabilities. It also argues that trading systems…

StatisticsRisk managementPosition sizingFutures
FMZ forum

The article presents a basic monitoring tool for detecting new cryptocurrency listing announcements. It explains a simple workflow: repeatedly fetch an exchange announcement page, parse its HTML, inspect a selected link, and alert when that link changes. The…

CryptoEvent-drivenExecution
FMZ forum

This technical reference summarizes Kraken futures contract conventions and limitations relevant to automated trading. It distinguishes inverse contracts, which use cryptocurrency collateral, from linear contracts such as an XRP-to-BTC contract, and…

FuturesCryptoPerpetual futuresExecution
FMZ forum

This guide treats a trading strategy as a complete set of rules covering what to trade, position size, entries and exits, order placement, and responses to unusual conditions. It surveys broad strategy families and recommends trend trading as an accessible…

Risk managementPosition sizingExecutionTrend following
FMZ forum

This guide explains how to connect a custom exchange to a hosted quantitative trading platform through a generic protocol plugin. The plugin runs an HTTP endpoint that receives JSON requests, identifies the requested operation by method name, forwards…

CryptoExecutionMarket microstructure
FMZ forum

The document explains mean reversion as the tendency for prices or business performance to move back toward a longer-term center after unusually strong or weak periods. It connects this idea to contrarian investing: investors may examine past laggards as…

EquitiesMean reversionFactor investingUS markets
FMZ forum

The document presents an implementation of a Dual Thrust style breakout system. On a new bar, it calculates a range from the larger of the recent high-to-low-close and close-high-to-low ranges, then places upper and lower trigger rails around the bar’s open…

FuturesBreakoutTrend followingExecution
FMZ forum

The article argues that even a carefully designed and tested trading system may have a limited useful life. It contrasts the view that a robust system should work across future market conditions with the author’s view that performance should be reviewed…

BacktestingRisk managementStatistics
FMZ forum

This tutorial extends a multi-symbol cryptocurrency contract-spread monitor into a grid-based hedging strategy. It pairs longer-term contracts with perpetual contracts, tracks spread levels, and opens or closes offsetting positions when grid thresholds are…

CryptoFuturesPerpetual futuresGrid trading
FMZ forum

The author recounts using Kelly-style position sizing, mathematical optimization, historical backtests, and a neural network to investigate trading systems. The discussion first explains why a positive win rate alone does not prevent ruin: bet size and…

Technical indicatorsPosition sizingBacktestingMachine learning
FMZ forum

This post shares a tick-driven script intended to send alerts when a bar crosses above a 200-period moving average after price was below it, with CCI above a threshold. It checks multiple crypto symbols and timeframes, waits for a new bar, then logs a…

CryptoTechnical indicatorsBacktesting
FMZ forum

The article explains why automated trading needs explicit order-state management. A signal does not guarantee a fill: an order may remain open, fill partially, be canceled, or require a replacement. The program should track the action it submitted and wait…

ExecutionArbitrageRisk management
FMZ forum

This Chinese-language overview groups trading systems into trend-following, countertrend oscillation, swing, arbitrage and hedging, and intraday categories. It names examples built around moving averages, breakouts, oscillators, chart patterns, spreads, and…

Technical indicatorsTrend followingMean reversionBreakout
FMZ forum

The author warns that a martingale strategy can show attractive returns during calmer conditions while accumulating exposure that may lead to severe drawdowns or liquidation when volatility rises. The post recounts an anecdotal case in which several live…

Risk managementPosition sizingVolatilityGrid trading
FMZ forum

This post reports an intermittent runtime error in a live trading script when code attempts to read a position’s price field. The author asks whether the cause could be a null custom field or missing price data, and whether wrapping the position query in a…

ExecutionRisk managementFutures
FMZ forum

This introductory guide covers core JavaScript concepts that can help a reader understand or write scripts, including numeric values, strings, variables, arrays, objects, control flow, functions, scope, closures, and constructors. Examples show how these…

Statistics
FMZ forum

The essay argues that traders should accept uncertainty instead of relying on confident market forecasts. It treats technical and fundamental interpretations as fallible explanations that may sometimes coincide with subsequent price moves, but cannot…

EquitiesRisk managementPosition sizingStatistics
FMZ forum

The document addresses how to count distinct configured exchange accounts when a multi-exchange strategy contains many exchange objects, potentially associated with different currencies. Its example identifies each account using the combination of exchange…

CryptoExecution
FMZ forum

The document explains how limit order books can reveal displayed supply and demand, liquidity concentrations, spread changes, and shifts in intraday buying or selling pressure. It proposes tracking order book changes alongside price to investigate support…

High-frequency tradingMarket microstructureExecutionTechnical indicators
FMZ forum

This article proposes using discrete-time signal-processing ideas to reduce the lag of moving-average trend indicators. It starts from an exponential moving average, frames the relationship between closing prices and the EMA as a transfer function, and…

CryptoTechnical indicatorsTrend followingStatistics
FMZ forum

This note explains two cash-and-carry approaches to perpetual futures funding. When funding is positive, it buys spot and shorts the perpetual contract to collect payments from longs. When funding is negative, it describes borrowing and selling spot while…

CryptoArbitragePerpetual futuresSpot markets
FMZ forum

This tutorial outlines the design of a simple cryptocurrency spot grid strategy. It defines an equal-difference grid around an initial price, with grid levels extending both above and below that starting point. Each level stores its price and whether a buy…

CryptoGrid tradingSpot markets
FMZ forum

The example outlines a periodic rebalancing strategy for a portfolio held across exchange markets. It tracks each asset’s quantity and estimated value, compares that value with a target share of total portfolio value, and places a buy or sell when holdings…

CryptoPortfolio constructionPosition sizingExecution