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

682 documents

FMZ forum

The document argues that traders can build consistency by specializing in a small number of clear setups instead of continually searching for a perfect strategy or new indicator. It recommends using the same market, time frame, and entry and exit rules, and…

Risk managementExecution
FMZ forum

The article describes slippage as the gap between an intended price and the actual fill, and attributes its size to both network delay and the speed of price movement. It argues that backtests and simulated trading can understate this effect because they do…

ExecutionMarket microstructureBacktestingRisk management
FMZ forum

This short trading-log excerpt shows a close signal appearing even though the position was reportedly still open. The accompanying note says a close at 19:21 was manual. Earlier entries show repeated buy orders rejected by Binance futures with an…

CryptoFuturesExecutionRisk management
FMZ forum

The document demonstrates using a strategy platform’s LogStatus function to display information in a status area. Its example passes several Python values to the function: a number, a string, a list, a tuple, and a dictionary. The call also includes text…

ExecutionTechnical indicators
FMZ forum

This guide explains how to run FMZ strategies through a local Python backtest engine. It describes passing settings such as dates, bar interval, exchange, instrument, and starting balances through a configuration string, then initializing the engine and…

BacktestingExecution
FMZ forum

The article explains calendar spread trading as taking positions on price differences between futures contracts for the same commodity but different delivery months. It groups potential spread drivers into supply conditions, capital flows and position…

FuturesCommoditiesArbitrageMean reversion
FMZ forum

This retrospective describes an early Bitcoin trading effort that began with cross-exchange price gaps and evolved into a statistical arbitrage strategy. Directly buying on one venue and transferring coins to another exposed traders to transfer delays and…

CryptoArbitragePairs tradingExecution
FMZ forum

The document introduces the Ornstein–Uhlenbeck (OU) process as a continuous-time model for a variable that is pulled toward a long-run mean while exposed to random shocks. It explains the roles of the mean, reversion speed, and volatility, contrasts OU…

StatisticsMean reversionFixed incomePairs trading
FMZ forum

The document describes a simple cryptocurrency spot trade-following bot. It treats one exchange account as the reference and periodically compares its current token balance, including frozen holdings, with the previous reading. An increase signals a buy and…

CryptoSpot marketsExecutionMarket microstructure
FMZ forum

The article recounts two forms of Shanghai Futures Exchange copper delivery arbitrage. One exchanges warehouse locations by delivering from Ningbo while requesting Shanghai allocation, then seeks to profit if the recipient of the less convenient warehouse…

CommoditiesFuturesArbitrageMarket microstructure
FMZ forum

This note collects operational details for trading BitZ contracts through its API, including contract identification, contract types, leverage behavior, margin modes, and closing orders. It distinguishes linear contracts from inverse contracts, noting that…

CryptoFuturesPerpetual futuresExecution
FMZ forum

This tutorial introduces FMZ Quant’s M language through a moving-average trend strategy. The example opens long positions when price and a short moving average are above a longer average that is rising, and opens short positions under corresponding bearish…

Technical indicatorsTrend followingExecutionBacktesting
FMZ forum

The document explains FMZ’s simulation-level backtest, where a strategy runs through repeated polling and receives market data through platform API calls. It distinguishes this approach from real market-level testing, which uses recorded tick data, and says…

BacktestingMarket microstructureExecution
FMZ forum

This beginner post presents a small script for counting runs of consecutive rising or falling market observations from candlestick data. Its example compares each candle’s high with neighboring highs, resets the run counter when direction changes or prices…

StatisticsTechnical indicatorsBacktestingTrend following
FMZ forum

This short example shows how an automated trading script can detect that both long and short positions have become flat, then respond when its internal state still indicates an active trade. It compares the current account balance with the previously saved…

ExecutionRisk managementStatistics
FMZ forum

This personal account traces a progression from speculative cryptocurrency trading to learning systematic futures trend trading and eventually writing an EMA-based strategy. The author describes early gains followed by losses from discretionary trading and a…

CryptoFuturesTrend followingTechnical indicators
FMZ forum

The article argues that traders should avoid relying on elaborate market theories or stacks of technical indicators. It recommends choosing a method that suits the trader, then checking it against historical charts and defining entries, stops, scaling…

FuturesTechnical indicatorsStatisticsPosition sizing
FMZ forum

The document explains how to define strategy parameters in a graphical interface and access them as global variables in JavaScript. It describes numeric, string, dropdown, Boolean, and encrypted string inputs, including how their defaults and values behave.…

Backtesting
FMZ forum

The document asks how to record a spot account’s available funds every fifteen minutes and plot the resulting time series. Its example repeatedly requests account information, selects the free USDT balance, appends that value to a list, redraws a chart,…

Spot marketsTechnical indicatorsRisk management
FMZ forum

This short troubleshooting excerpt records failed buy and sell attempts for the FT/USDT market on FCoin. The exchange returned an error stating that market orders were disabled for that symbol. The account information shown in the log includes available and…

CryptoExecution
FMZ forum

This historical OKCoin strategy combines short-term price-breakout trading with a portfolio-balance rule. It tracks recent trades, order-book prices, and a smoothed trading-volume measure. When price moves beyond a threshold relative to recent highs or lows,…

CryptoHigh-frequency tradingBreakoutMomentum
FMZ forum

The article explains ETF arbitrage through a simplified analogy: an ETF represents a bundle of stocks, and a temporary mismatch between the bundle’s price and the combined prices of its holdings may create an opportunity. In the example, the bundle is priced…

ArbitrageEquitiesExecutionMarket microstructure
FMZ forum

This document shows how to submit a single passive-only limit order on BitMEX, place several such orders in one bulk request, and cancel all orders for a specified symbol. The examples use the exchange’s IO interface to call the order, bulk-order, and…

CryptoMarket makingExecution