This implementation describes a pairs-trading method based on modeling the log price relationship between two stocks as an Ornstein–Uhlenbeck process. It constructs the spread as the difference between the stocks’ log prices, fills missing observations…
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
4,328 documents
The document describes a short-term mean-reversion system for France 40, FTSE 100, and DAX index markets on a one-minute chart. It looks at the relationship between the opening price two candles earlier and the current close, with a directional sequence…
The document presents a variant of RSI that uses ADX to attenuate overbought and oversold readings when trend strength is rising. Its motivation is that classic RSI reversal signals can be unreliable in strong trends, while RSI is described as more useful in…
The post proposes screening Chinese shares for daily amplitude above 1, a daily control measure above 21, and circulating market capitalization between 5 billion and 10 billion yuan. It frames the combination as a contrarian search for possible medium term…
This article outlines an equity screen combining daily price conditions with a 15-minute MACD histogram signal. It selects stocks with an intraday range above 1%, a session low between 4% and 5% below the prior close, and a green MACD histogram that is…
This note proposes screening Chinese stocks by amplitude above 1, turnover between 2% and 9%, and a daily maximum decline between 4% and 5%. The stated aim is to find active, volatile stocks that may offer rebound opportunities after a sharp drop. It…
This Chinese equity screening idea looks for stocks with strong capital activity, a daily maximum decline between 4% and 5%, and a shortening MACD histogram below zero on a 15-minute chart. It interprets the narrowing negative bars as weakening downward…
This document describes a short-term A-share stock screen. It selects stocks with turnover between 3% and 12%, an opening price near the 10-day moving average, a latest close at or above that average, and a MACD reading below zero from two sessions earlier.…
The Stochastic Stack combines eight stochastic indicators into one calculation. Each oscillator has five configurable settings: %K period, %D period, slowing, calculation method, and price field. The document therefore describes a flexible composite…
The Band Moving Average indicator adds two percentage-offset lines around a conventional moving average. The middle line can use a simple, exponential, or weighted moving average, while the upper and lower lines are placed above and below it by a…
The document describes an indicator that marks bullish and bearish order-block zones from price swings, then tracks when price crosses their boundaries. It defines zones from price levels preceding upward or downward breaks of detected swing highs or lows.…
This module describes a trading rule built around a pre-estimated multivariate cointegration vector. It calculates the weighted sum of log prices, differences that series across recent observations, and uses the sign of the summed changes to set trade…
This study proposes a passive index that selects between the A-share and H-share of the same company according to which listing is cheaper after currency adjustment. It examines price gaps across dual-listed Chinese companies, using panel regression to…
This proposed equity screen combines three filters: at least five moving averages are said to converge, the stated 9:25 price gain must remain below a threshold, and the company must have had a high dividend payout ratio in 2019. The post presents…
This Chinese stock-screening article combines a positive MACD reading with seven consecutive falling closes and a shortening MACD histogram on a 15-minute chart. The proposed interpretation is that shrinking negative histogram bars may signal weakening…
This stock-selection idea screens shares with codes beginning in 60, average turnover between 3% and 12%, and KDJ readings below 20. The article frames the low KDJ values as a possible sign of a decline and potential reversal, and provides a formula…
This example describes a three-leg futures strategy that treats polyester fiber value minus the weighted costs of PTA and ethylene glycol as a production margin. It estimates the margin’s mean and standard deviation from recent daily bars, then calculates a…
This indicator pairs the Commodity Channel Index with a moving average calculated from the CCI values. The CCI uses a configurable lookback period and applied price; its resulting series is then smoothed using a separately configurable moving-average period…
This report summary lays out a framework for analyzing government interest-rate bonds through supply and demand, return decomposition, duration timing, and portfolio allocation. It attributes supply partly to fiscal conditions and economic pressure, and…
The proposed equity screen selects stocks with RSI below 65, seven consecutive down sessions, and a 20 day moving average above the 120 day average. The combination looks for a recent pullback within a longer-term upward trend, using the RSI threshold as an…
The article describes an intraday pairs strategy for SPY and IWM, using one-minute bars from April 2007 through February 2014. It aligns timestamps, estimates a rolling regression hedge ratio, forms a price spread, and converts that spread to a z-score. The…
This Chinese-language article describes a customizable stock-selection strategy built around five rules, mainly seeking shares that appear oversold and stable, with some rules intended to identify possible rallies. It distinguishes rule-based coding from an…
This case study follows a live statistical-arbitrage strategy trading the residual between the EWY Korea ETF and Samsung Electronics and SK Hynix. A rolling log-price regression estimates hedge ratios; the residual is standardized into a z-score, with…
This method uses principal component analysis to separate broad equity return drivers from stock-specific residuals, then trades residual portfolios expected to revert toward equilibrium. Returns are standardized before estimating their correlation matrix;…