Statistical Arbitrage

Description

Statistical Arbitrage (SA) is build to gain profit on simultaneously buying and selling two shares of two correlated instruments. It is recomended to find two securities that are in the same sector / industry, they should have similar market capitalization and average volume traded. SA Strategy calculates two following values, which are later used to generate proper trade signals:

  • Mean (M) ratio of the first n periods prices of two assets
  • Standard deviation (SD) of ratio of the first n periods prices of two assets

where n is a Number of Periods.

Mean and standard deviation are defined as follows:

\text{M} = \frac{\sum_{i = 1}^{n}{\frac{A_i}{B_i}}}{n}

\text{SD} = \sqrt{\frac{1}{n-1} \sum_{i = 1}^{n} (\frac{A_i}{B_i} - M)^2}

where A_i (B_i) is a price of the first (second) asset at the moment i.

SA strategy starts decision rule, if orders should be sent after receiving Number of Periods trades.

Market Data

  • Latest Tick

Parameters

PARAMETER NAME DESCRIPTION ESSENTIAL
Number of Periods Number of last ‘last trades’ events taken into account in a computation of the mean and standard deviation Yes

Conditions

Open position

Side Buy or Sell
Amount One asset per order
Price Last market price
Type Market

Consider an arbitrary moment k \geq n, when strategy has no opened positions. If \frac{A_k}{B_k} > M + 2 \times SD” /> then we sell asset A and buy B. Similarly when <img decoding= then we buy asset A and sell B.

Close position

Consider an arbitrary moment l > k \geq n” />, when strategy has already some opened positions. If we buy one asset and sell the other at <img decoding= we should close these two positions when \frac{A_l}{B_l} = M.

Termination

There is no strategy termination condition.

Time frame

This strategy is dedicated to run in a long period of time. The instruments are highly correlated, so it is not likely that the ratio of prices will differ from mean by two standard deviations.

Further information & source

  • Barry Johnson, Algorithmic Trading & DMA: An introduction to direct access trading strategies, 4Myeloma Press, 2010.