13.08.2022 Views

advanced-algorithmic-trading

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 7

Introduction to Time Series Analysis

In this chapter methods from the field of time series analysis will be introduced. These techniques

are extremely important in quantitative finance. A substantial amount of asset modelling

in the financial industry continues to make extensive use of these statistical models.

We will now examine what time series analysis is, outline its scope and learn how we can

apply the techniques to various frequencies of financial data in order to predict future values or

infer relationships, ultimately allowing us to develop quantitative trading strategies.

7.1 What is Time Series Analysis?

Firstly, a time series is defined as some quantity that is measured sequentially in time over

some interval.

In its broadest form, time series analysis is about inferring what has happened to a series of

data points in the past and attempting to predict what will happen to it in the future.

However, we are going to take a quantitative statistical approach to time series, by assuming

that our time series are realisations of sequences of random variables. That is, we are going to

assume that there is some underlying generating process for our time series based on one or more

statistical distributions from which these variables are drawn.

Time series analysis attempts to understand the past and predict the future.

Such a sequence of random variables is known as a discrete-time stochastic process

(DTSP). In quantitative trading we are concerned with attempting to fit statistical models to

these DTSPs to infer underlying relationships between series or predict future values in order to

generate trading signals.

Time series in general, including those outside of the financial world, often contain the following

features:

• Trends - A trend is a consistent directional movement in a time series. These trends

will either be deterministic or stochastic. The former allows us to provide an underlying

rationale for the trend, while the latter is a random feature of a series that we will be

unlikely to explain. Trends often appear in financial series, particularly commodities prices,

and many Commodity Trading Advisor (CTA) funds use sophisticated trend identification

models in their trading algorithms.

73

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!