The document describes an expert advisor that looks for price discrepancies among EURUSD, USDJPY, and EURJPY. It multiplies the ask prices of EURUSD and USDJPY to estimate an implied EURJPY price, then compares that estimate with the direct EURJPY price. A…
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
1,625 documents
This market snapshot examines a sharp crypto selloff and its effects across centralized exchanges, decentralized trading, lending, and on-chain sentiment measures. It reports that spot and Uniswap V3 activity surged during the August 5 decline, with…
This document describes an Expert Advisor that creates a synthetic position in one symbol by opening two component positions. For example, a long EUR/USD exposure can be approximated by buying EUR/GBP and GBP/USD in adjusted lot sizes. The same idea can…
This overview explains statistical arbitrage as a family of strategies that trade relative mispricing across related instruments. It distinguishes cross-market, cross-asset, ETF, and market-neutral approaches, and gives pairs trading as a central example:…
This overview classifies quantitative funds by strategy, market, instrument, and time horizon. It describes trend following, which seeks sustained price moves and can have a low win rate while relying on occasional large trends, and countertrend trading,…
The strategy models a refining spread using crude oil, fuel oil, and a third petroleum product in a 3:2:1 weighting. It calculates the spread as the weighted value of the two product legs minus the weighted crude leg, then compares the current spread with…
This overview describes several ways quantitative trading attempts to identify and capture market opportunities. It presents historical data analysis and backtesting as tools for assessing a strategy, then discusses automated execution, momentum examples,…
The author explains why Bitcoin markets can suit systematic trading, citing continuous access, low entry barriers, active spot and futures markets, and opportunities across platforms. The main lesson is to understand the economic reason a strategy should…
These reading notes discuss James Simons and Renaissance Technologies as an example of systematic investing built by combining mathematical research, statistical signals, computer models, and automated execution. The notes contrast discretionary investing,…
The article introduces OKX Nitro Spreads as a way to trade the price difference between futures and perpetual swap contracts through a single instrument. It describes spread trading as useful for hedging exposure or responding to price differences, with the…
This Chinese-language document summarizes the development and adoption of algorithmic trading, describing early automated portfolio trading in the United States, later growth alongside computing, and broader access through commercial trading platforms. It…
The document introduces quantitative trading as the use of computers, mathematics, statistics, and a systematic process to develop signals for buying and selling. It briefly describes the field’s history, including Jules Regnault’s work on price variation,…
This tutorial describes a simple spot arbitrage approach across two cryptocurrency exchanges: buy on the venue with the lower price and sell on the one with the higher price when the spread is large enough to cover trading costs. It explains that the…
Hummingbot version 2.2.0 adds two trading controllers to its V2 framework. The Arbitrage controller is designed to trade price differences between spot venues, including automated market makers and central limit order books. It supports configurable exchange…
This script describes a three-leg futures strategy that treats hog value minus weighted corn and soybean meal costs as a proxy for livestock feeding profitability. It estimates the spread’s mean and standard deviation from daily bars, calculates a z-score,…
This overview explains how high-frequency trading can profit from price movements and fragmented U.S. securities markets. Because a listed security may trade on multiple exchanges, differences in liquidity, participants, or information timing can create…
This report explains how to design a cryptocurrency arbitrage strategy across centralized exchanges and decentralized exchanges using automated market maker pools. It covers the differences between order-book prices and pool pricing, then identifies costs…
The article describes a crypto arbitrage strategy that compares Celo's cGLD-cUSD automated market maker with centralized exchange order books listing cGLD and cUSD pairs. Because the AMM prices trades through a constant-product pool while centralized venues…
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…
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…
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…
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…
The account describes a historical nickel trade built around a persistent discount in physical nickel relative to futures, growing exchange inventories, and continuing imports of Russian nickel. Because imports could be profitable while domestic stainless…
This Chinese-language report reviews the development of China’s quantitative fund industry across three periods: before 2010, 2010–2015, and 2016 onward. It outlines a strategy landscape spanning market-neutral equity, index enhancement, quantitative stock…