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

Search the library

682 documents

FMZ forum

The article explains the Sharpe ratio as a measure of average return above a chosen benchmark relative to return variability. It contrasts this risk-adjusted measure with annualized return alone, which can make strategies difficult to compare, particularly…

StatisticsRisk managementBacktesting
FMZ forum

This trading-programming question describes placing a sell order and repeatedly querying its status. The author records the start time, intends to stop after two seconds if the order remains pending, and wants to return different results for a completed…

ExecutionRisk management
FMZ forum

The post asks how to keep a trading strategy from sending orders during Huobi swap settlement. Its current approach checks the clock repeatedly and sleeps around expected settlement windows, but the author worries that this wastes work because the strategy…

CryptoFuturesExecution
FMZ forum

This collection of platform notes records practical lessons from strategy development and operation. It explains that rounding a value before later arithmetic does not necessarily round the final displayed result; rounding should be applied after the…

FuturesRisk managementExecution
FMZ forum

The post describes a futures order placed through Binance’s API and a failed attempt to retrieve it with FMZ’s `exchange.GetOrder()` method. The exchange reports that the order does not exist, even though the author says it was placed successfully. By…

CryptoFuturesExecution
FMZ forum

This article describes a server strategy that receives trade signals and mirrors them on a connected exchange. It adds a pause-and-restart control protected by a password, allowing order following to be disabled without stopping the bot. It also supports…

ExecutionFuturesSpot marketsRisk management
FMZ forum

This essay maps the Buddhist framework of ethical discipline, concentration, and insight onto trading practice. For trend trading, it identifies four behaviors to avoid: oversized positions, trading against the trend, excessive activity, and failing to use…

FuturesTrend followingRisk managementExecution
FMZ forum

This essay contrasts the stabilizing intuition of averages and Gaussian distributions with the outsized effects of rare events in systems described by heavy-tailed or power-law behavior. It explains that averaging becomes informative under assumptions such…

StatisticsRisk managementVolatilityEquities
FMZ forum

This collection of futures trading principles emphasizes following established price movement rather than trying to buy exact lows or sell exact highs. It recommends focusing on the middle of a move, identifying support in rising markets and resistance in…

FuturesTrend followingTechnical indicatorsRisk management
FMZ forum

This guide explains how to connect to cryptocurrency exchange WebSocket feeds through a platform's Dial function, subscribe to channels, parse incoming messages, and handle compressed data. It distinguishes streams whose subscriptions are encoded in the…

CryptoExecutionMarket microstructureHigh-frequency trading
FMZ forum

This statistics explainer distinguishes the mean, median, and mode through a wage example. A factory’s owner and relatives earn much more than its many lower-paid workers, lifting the mean above the median and mode. The example shows why an average can be…

Statistics
FMZ forum

This reference explains FMZ’s My Language, a trading language compatible with and extended from Mai Language. It introduces variables and data types, assignment and comparison operators, logic and arithmetic, function arguments and return values, and…

CryptoFuturesTechnical indicatorsBacktesting
FMZ forum

This short futures-market satire contrasts how different market participants explain the same uncertain event. Fundamental analysts may anticipate direction without timing; technical traders allow for failure and use stops; news-focused voices claim timely…

FuturesTrend followingRisk management
FMZ forum

This tutorial outlines a polling alert bot for Binance USDT-margined futures. It describes retrieving ticker prices, comparing them with configured upper and lower thresholds, and sending notifications to a DingTalk group. The example also covers signing…

CryptoFuturesPerpetual futuresExecution
FMZ forum

The document outlines a workflow for trading coin-margined cryptocurrency contracts from TradingView signals. TradingView alerts send webhook messages to an FMZ robot, which can open long or short positions at market or close positions. The proposed opening…

CryptoPerpetual futuresExecutionPosition sizing
FMZ forum

This stock selection recipe combines a daily high-low range above one percent, a reversal pattern described as an engulfing signal, and a measure labeled prior-day major-player control. The post presents formula and Python-style examples intended to screen…

EquitiesTechnical indicatorsVolatilityRisk management
FMZ forum

The document outlines a rule-based long strategy for Bitcoin futures, framed around adding to a position when price is rising. On a daily chart, it proposes buying a fixed amount when the close is above the five- and ten-day moving averages and the five-day…

CryptoFuturesTrend followingTechnical indicators
FMZ forum

This technical analysis framework argues that conventional moving averages lag price and are often interpreted separately across chart scales. It defines simple price structures using highs and lows: a local bottom or top is identified from three bars, while…

Technical indicatorsTrend followingBreakout
FMZ forum

The document presents a flow-based framework for macro trading, arguing that traders should study how liquidity and credit move through central banks, commercial banks, companies, and shadow banks. It explains how bank lending creates deposits, why…

Multi-assetFixed incomeForexMarket microstructure
FMZ forum

The article presents a former investment employee’s account of how a controlling investor might build a position in a Chinese listed company, influence trading, and later sell into increased demand. The described sequence includes selecting a company,…

China marketsEquitiesMarket microstructureSentiment
FMZ forum

This brief technical post illustrates asynchronous exchange operations for retrieving a ticker, retrieving order-book depth, placing a buy order, and requesting hourly records. Each call returns an object immediately, and the example later invokes a wait…

ExecutionHigh-frequency tradingMarket microstructure
FMZ forum

The document asks how to total trade volume by buy and sell classification for each candle, using a one-minute bar as an example. Its proposed approach collects trades while a bar is active, classifies them when a new bar begins, sums the amounts, then…

Market microstructureStatisticsBacktesting
FMZ forum

This tutorial explains how a naive Bayes classifier uses observed features and prior class frequencies to estimate which category is most likely. It works through examples of classifying illness, online accounts, and gender, multiplying each feature’s…

Machine learningStatistics
FMZ forum

This tutorial explains the Moving Average Convergence Divergence indicator as the difference between a shorter and a longer exponential moving average, alongside a signal line formed from an exponential average of MACD. It demonstrates calculating and…

Technical indicatorsMomentumEquitiesStatistics