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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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

This article explains the event layer of an event-driven trading backtester. It describes an in-memory queue that routes events between system components and defines four event types: market updates trigger strategy evaluation, signals convey a symbol,…

BacktestingExecutionRisk managementEquities
FMZ forum

The article describes a discretionary system-building process and a trend-following approach intended to withstand prolonged sideways markets. Its central method uses a higher timeframe to define direction and manage the trailing stop, while a lower…

Trend followingTechnical indicatorsRisk managementForex
FMZ forum

This installment of an event-driven backtesting series explains how to summarize portfolio performance from an equity curve. It describes three measures: annualized Sharpe ratio, maximum peak-to-trough drawdown, and drawdown duration, defined as the number…

BacktestingRisk managementStatistics
FMZ forum

This reflective essay argues that futures traders can reduce impulsive decisions by translating market beliefs into explicit rules. The author recounts repeatedly shorting during an apparent rise, then using a moving average as a directional filter: trade…

FuturesTrend followingRisk managementTechnical indicators
FMZ forum

This evolving FAQ collects practical notes for building and operating trading strategies on the FMZ platform. It explains why ticker and order-book snapshots can differ, how order queries distinguish unfinished from completed orders, and how contract…

CryptoFuturesExecutionMarket microstructure
FMZ forum

The article introduces cross-period hedging by pairing a short position in one contract with a long position in another. It derives how the difference between the opening and closing spreads determines the combined theoretical profit, assuming the stated…

CryptoFuturesArbitragePerpetual futures
FMZ forum

This outline proposes ten short-term trading triggers, mainly for futures-style markets. It combines order-book behavior, trade flow, price action, volatility, and trader psychology. Suggested signals include abrupt volume and price moves, disappearing…

FuturesMarket microstructureBreakoutMean reversion
FMZ forum

The study revisits Bitcoin strategies that buy when price reaches a recent high (MAX) or low (MIN), using daily data from late 2015 through August 2024. It examines lookback windows from 10 to 50 days, compares in-sample results with an out-of-sample period…

CryptoTrend followingMean reversionBacktesting
FMZ forum

The document presents a shortened implementation of a grid trading strategy and explains that it condenses a much longer earlier version. The strategy tracks grid levels in a list. As price moves far enough in a chosen direction, it opens a position at the…

Grid tradingExecutionRisk management
FMZ forum

This research tests Chinese industry rotation signals based on cross-sectional momentum and valuation. It reports stronger industry momentum over a one-month lookback and compares industries grouped by the percentile of their current valuation relative to…

China marketsEquitiesMomentumFactor investing
FMZ forum

This note presents an equity selection rule that combines daily amplitude above 1, a MACD condition above zero, and a five-period moving average crossing above a ten-period moving average on weekly data. It frames amplitude as a way to focus on stocks with…

EquitiesTechnical indicatorsMomentumTrend following
FMZ forum

The document explains two ways to inspect HTTP requests sent from a trading bot’s Docker environment while debugging exchange API errors. One method runs a Python packet sniffer with Scapy on the container’s network interface and logs request data. The other…

CryptoExecutionMarket microstructure
FMZ forum

This compilation introduces C++ storage duration and object lifetime, contrasting automatic local objects, dynamically allocated objects, and static objects. It discusses how copying by value can create temporary objects, why dynamic allocation requires…

Risk managementExecution
FMZ forum

The document explains triple tops as potential bearish reversals after three peaks near the same price area, and triple bottoms as potential bullish reversals after three tests of support. A pattern is considered complete when price breaks beyond the latest…

Technical indicatorsBreakoutRisk managementTrend following
FMZ forum

Automated trading systems translate explicit entry, exit, and money-management rules into orders monitored and executed by software. Rules can range from basic indicator conditions to custom strategies, and may specify order type and timing. The article…

BacktestingExecutionRisk managementTechnical indicators
FMZ forum

The document presents a quantitative trading system as a combination of strategy modules and an overarching capital management layer. It separates trader psychology and the ability to adapt from the system’s operational design, then lays out a strategy…

Risk managementPosition sizingTechnical indicatorsPortfolio construction
FMZ forum

The document outlines a stock grid strategy that places buy and sell orders at fixed percentage intervals. Its example divides the stock position into ten portions and uses a 5% grid: sell a portion after each rise and buy one after each decline. It…

EquitiesGrid tradingVolatilityPosition sizing
FMZ forum

This tutorial shows how to turn a KDJ indicator rule into a futures trading program using the FMZ Quant C++ framework. It explains the indicator’s RSV, K, D, and J components, then uses the relationship between K and D to generate directional signals: K…

FuturesTechnical indicatorsMomentumExecution
FMZ forum

This overview introduces Python libraries used across quantitative trading workflows. It groups tools by task: NumPy for numerical operations, Pandas for structured and time-series data, TA-Lib for technical indicators, and Matplotlib or Plotly for…

Machine learningTechnical indicatorsBacktestingDerivatives pricing
FMZ forum

The document proposes a spot and futures hedge that places resting orders in separate order books when the spread is attractive. It monitors fills and compares the resulting spot and futures exposures, then opens or closes positions to correct imbalances. As…

CryptoFuturesSpot marketsArbitrage
FMZ forum

This personal-finance article uses addition, subtraction, multiplication, and division as metaphors for managing money. Addition means steadily building savings and financial knowledge. Subtraction means limiting debt and high-risk investments.…

Risk managementPosition sizingPortfolio constructionEquities
FMZ forum

This tutorial explains how to use order retrieval and cancellation APIs to manage unfilled orders. It presents two helper routines: one repeatedly retrieves open orders and cancels all orders, optionally limited to buys or sells; the other cancels every open…

ExecutionMarket microstructure
FMZ forum

The document explains a high-frequency trading tactic that targets stale quotes left by slower market makers after a sharp price-moving announcement. It distinguishes passive limit orders, which rest in the book, from a market maker’s more aggressive prices…

High-frequency tradingMarket makingMarket microstructureExecution
FMZ forum

This example shows a command-driven trading bot that accepts action strings and routes them to spot or futures exchange methods. For futures, it sets the contract type, fetches the ticker, and chooses order direction for opening long or short positions and…

FuturesExecutionPosition sizing