This tutorial explains how to use Python notebooks for quantitative research, from collecting and saving exchange candlesticks to plotting price and trading-activity measures and testing strategies across symbols. It demonstrates paginated retrieval of…
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.
Search the library
193 documents
This article explains why trend-following systems often endure repeated small losses in pursuit of occasional large gains. It advises traders to select a trend horizon that fits their tolerance, comparing possible timeframes through backtests, and to define…
This note surveys seven pitfalls in quantitative investing: survivorship bias, look-ahead bias, storytelling, data mining, signal decay and trading costs, outliers, and asymmetric long-short payoffs. It explains how current index constituents can distort…
Automated trading uses software to monitor markets and place trades when predefined entry and exit conditions are met. Rules can range from simple moving average crossovers to custom strategies, with order types, timing, stops, and profit targets specified…
This article explains why a strong historical backtest may fail in live markets, particularly when a strategy has been tuned to a small or unrepresentative sample. It recommends splitting time-ordered data into a training period for parameter selection and a…
This forum post asks how to use pyramiding in a strategy that combines a higher-level long signal with lower-level entry and exit signals. The author wants to add long entries whenever the smaller-scale long condition occurs while the larger long condition…
This essay argues that systematic, rule-based investing may be especially useful in China’s equity market, which the author characterizes as unusually speculative and shaped by short-term trading, policy shifts, and weak alignment between some controlling…
This career guide outlines a self-study path for aspiring quantitative developers. It emphasizes strong programming and numerical implementation skills, with language choices shaped by likely workplaces: C++ and Python for broad applicability, while Java or…
This essay applies ideas from philosophy of science to judging trading strategies. It contrasts testable claims, which make predictions that evidence could disprove, with claims that cannot be meaningfully tested. For strategies whose edge is inferred from…
This report overview describes the longstanding use of machine learning and artificial intelligence in quantitative investing. It notes that applications were already present during an early-1990s wave of interest, and that use continued in areas such as…
The author warns that rented strategies can display steadily rising live curves while concealing a risk of catastrophic loss. They describe systems resembling martingale or complex hedged, locked-position approaches, and recount a trader who ran several…
The article argues that no single programming language is best for every algorithmic trading system. It recommends starting with system requirements and strategy characteristics, then selecting tools for separate components such as historical research,…
The document describes a charting feature that detects technical analysis functions used by a strategy and displays the corresponding indicators after a backtest completes. Supported indicators include moving averages, MACD, KDJ, RSI, ATR, OBV, Bollinger…
This discussion examines how starting portfolio composition can distort a simple account-value profit calculation for a cryptocurrency strategy. It compares two accounts following the same price move: one begins with a bitcoin and no cash, while the other…
This intermediate FMZ tutorial explains practical platform techniques for building automated trading strategies. It covers operating across exchanges and symbols, configuring futures and swap contracts, and handling API failures through retries, null checks,…
This tutorial outlines a Fisher Transform indicator calculated from the midpoint of each price bar and the highest high and lowest low over a rolling period. A ratio between zero and one controls how much the newly normalized price affects the recursively…
This FAQ explains practical design and troubleshooting points for FMZ Quant Workflow strategies. It covers host-version requirements, JavaScript-only code nodes, sequential execution, trigger behavior, reading data from connected parent nodes, and sharing…
This article introduces the KDJ stochastic oscillator, formed from the close’s position within a recent high-low range and smoothed into K and D lines, with J derived from them. It describes common interpretations: high and low readings as overbought or…
The document traces several ways to build moving average trading rules, using a 15-minute Chinese rebar futures index as its backtest example. It starts with price crossing a single average and short-period averages crossing longer ones, then adds…
This note introduces a charting template intended to make strategy behavior easier to inspect during development and live monitoring. It draws real-time candlesticks and marks entries and exits on the chart. The author motivates the tool with a double moving…
The article describes three ways strategy research can produce misleading backtests: look-ahead bias, excessive parameter optimization, and curve fitting. Its examples show how using a bar’s eventual close to trigger an earlier trade, or assuming a breakout…
This essay argues that simulated trading can test whether a strategy is viable before risking real capital, while acknowledging that success in simulation does not guarantee live profits. It presents practice as a way to learn execution details and reduce…
This brief example describes a short-selling strategy that opens an initial position, then responds to price movement with either a cover or an added short. It closes the position when the buy price falls below the entry price by a specified profit…
The document compares six programming-language options for building quantitative trading strategies: visual programming, EasyLanguage, Python, MATLAB/R, C++, and Java/C#. It evaluates them by capability, speed, extensibility, and learning difficulty, then…