Professional Documents
Culture Documents
Gold
Gold
BY
BY
ABSTRACT
Since the original concept of pair trading strategy that is choosing pair of
asset base on similar fundamental, could not be applied on this day because company
structural changes caused by M&A. Nowadays, pair trading strategy are used for pair
of future and spot that they have exactly same fundamental. This study applies pair
trading strategy with pair of gold spot and gold future in COMEX market that is global
equity traded by international investors. TVECM method applied base on the
assumption of asymmetric behavior of mispricing between two markets. In order to find
the performance of pair trading strategy by using TVECM as a trading signal, 1 minute,
5 minute and 30-minute frequency data during 1 August 2018 to 30 October 2018 are
collected and transaction cost would be included. Result shows that asymmetric
behavior occurs in every frequency series. The trading simulation result shows the best
arbitrage profit is 5-Minute Series. For the trading signal method, TVECM performs
better than traditional strategy (Two-Standard-deviation Rule).
ACKNOWLEDGEMENTS
TABLE OF CONTENTS
Page
ABSTRACT (1)
ACKNOWLEDGEMENTS (2)
CHAPTER 1 INTRODUCTION 1
Page
3.3 Research process 9
3.3.1 Co-Integration method 9
3.3.2 Threshold Vector Error Correction Model 11
3.3.3 Determine the parameter (Training period) 12
3.3.4 Trading rule (Execute period) 12
3.3.5 Performance measurement 13
CHAPTER 5 CONCLUSION 29
REFERENCES 31
BIOGRAPHY 32
LIST OF TABLES
Tables Page
3.1 COMEX Gold future contract specification 9
3.2 Transaction cost 9
4.1 ADF test of gold spot and gold future of each frequency 14
4.2 Johansen tests for Co-Integration of gold spot and gold future of each 15
frequency
4.3 SBIC Criteria for gold spot and gold future in 30-minute series 15
4.4 Result of VECM of lags 4 for gold spot and gold future in 30-minute 16
series
4.5 SBIC Criteria for gold spot and gold future in 5-minute series 16
4.6 Result of VECM of lags 5 for gold spot and gold future in 5-minute 16
series
4.7 SBIC Criteria for gold spot and gold future in 1-minute series 17
4.8 Result of VECM of lags 2 for gold spot and gold future in 1-minute 17
series
4.9 SBIC Criteria for gold spot and gold future in 30-minute series 18
4.10 Result from TVECM estimation for gold spot and gold future in 30- 18
minute series
4.11 SBIC Criteria for gold spot and gold future in 5-minute series 19
4.12 Result from TVECM estimation for gold spot and gold future in 5- 19
minute series
4.13 SBIC Criteria for gold spot and gold future in 1-minute series 20
4.14 Result from TVECM estimation for gold spot and gold future in 1- 20
minute series of observation 1 to 13,000
4.15 Result from TVECM estimation for gold spot and gold future in 1- 21
minute series of observation 13,001 to 26,000
4.16 Result from TVECM estimation for gold spot and gold future in 1- 21
minute series of observation 26,001 to 39,000
Tables Page
4.17 Result from TVECM estimation for gold spot and gold future in 1- 22
minute series of observation 39,001 to 52,000
4.18 Result from TVECM estimation for gold spot and gold future in 1- 23
minute series of observation 52,001 to 55,683
4.19 Performance of TVECM strategy with different training and execute 24
period for 1-Minute Series
4.20 Performance of TVECM strategy with different training and execute 25
period for 5-Minute Series
4.21 Performance of TVECM strategy with different training and execute 25
period for 30-Minute Series
4.22 Percentage number of time roll for threshold behavior and non- 26
threshold behavior
4.23 HS Test result 26
4.24 Compare performance of each trading rule 28
LIST OF FIGURES
Figures Page
1.1 Concept of pair trading 2
3.1 Gold spot price and Gold future price of 1-minute series during 1 8
August 2018 to 30 October 2018
3.2 Demonstration of three regimes 12
3.3 Demonstration of pair trading rule 13
LIST OF ABBREVIATIONS
Symbols/Abbreviations Terms
TVECM Threshold Vector Error Correction Model
VECM Vector Error Correction Model
ADF Augmented Dickey–Fuller
CHAPTER 1
INTRODUCTION
The second key of success is about the criteria to open or close the position.
The common method is Minimum distance method, and in the past many researchers
have developed a new method to get a better performance of pair trading for example
Co-integration method, Augmented Dickey fuller test and granger causality test. The
research in Thailand, Choedpauporn S. (2014) and Songyoo K. (2013) presented
TVECM to use as a trading signal for pair of SET and TFEX because they found that
the relationship between these two assets is not linear. From this asymmetric
behavioral, threshold co-integration should be applied to divide the behavior of
mispricing into 3 regimes for each speed of adjustment. The result shows that arbitrage
opportunities exist by using TVECM superior to traditional method.
The main focusing is a TVECM method applied in the global asset (gold
spot and gold future) base on the assumption of asymmetry behavior of mispricing of
two markets. The aim of this research is to find a relationship of spot and future of
global commodity asset and study a combination of this pair with a TVECM method to
assess its performance. This paper expects that this combination can generate more
profit from the higher volatility of this global asset and TVECM as an appropriate
trading signal.
Research objective
To study a pair of global commodity asset by using a pair trading strategy
with Threshold Co-Integration Model. Focus on finding an arbitrage opportunity and
performance of trading simulation from pair of gold spot and gold future.
Research question
1. Find Gold future and gold spot return relationship in long and short term.
2. Find Arbitrage opportunities exist in the gold market by using the pair trading
strategy with TVECM as a trading signal.
CHAPTER 2
REVIEW OF LITERATURE
Therefore, if the gap between spot and future should be constant over
the time that means there has no an arbitrage opportunity in fully efficient market
condition.
If the market is not fully efficient, it is mean that the information arrives
asymmetric among the market. Therefore, the investors in two markets consider
different information, and then the trader will act in different way. It creates the
mispricing in short term, leading to exist the arbitrage opportunity.
Arbitrager will take a ‘Short’ position in future asset (ft,T) and ‘Long’
position in underlying asset(ST).
ft,T-ST(1+bt,T)<0
Arbitrager will take a ‘Short’ position in underlying asset (ST) and ‘Long’
position in future asset (ft,T).
The arbitrager will take the riskless profit like this until the different of two
price is equal to zero or it’s revert to the mean then the arbitrager will close the position.
F0,T = 𝑆0 (1 + 𝐶)
Following Cost of Carry Model for gold is based on Edward M. Riley III (2014).
𝑇
F0, T = 𝑆0 (1 + 𝑟)365
F0, T is expected future price, 𝑆0 is the current value of spot price, r is the
risk-free interest rate on an investment. Theoretical pricing of gold futures depends on
three parameters. The first is the spot price, which is influenced by many factors such
as gold’s demand and supply, interest rate, U.S dollar, inflation, policies and etc.
Second parameter is about the risk free rate from the investment, which is referred to
Treasury bond rate. The last parameter is about the number of day until maturity (T).
However, Treasury rates(r) is important to determine the theoretical gold
price but it is not fluctuating much in short term. Therefore, in order to apply cost of
carry model to find a mispricing for intraday trade is not appropriate.
CHAPTER 3
RESEARCH METHODOLOGY
This study uses the pair of gold spot and gold future (COMEX). Pair trading
strategy will be used to perform arbitrage opportunity by using 1, 5 and 30 minutes
intraday price between pairs of assets (gold spot and gold future). Gold Future (GC) is
from Thomson Reuters Eikon and Gold Spot (XAU/USD) data is from Meta trader.
Gold future series in this study is GCZ8 and study period is three months during 1
August 2018 to 30 October 2018. GCZ8 has expired on 27 December 2018.
Figure 3.1 Gold spot price and Gold future price of 1-minute series during 1 August
2018 to 30 October 2018
3.2 Details of COMEX Gold future contract specification and transaction cost
Hypothesis
H0: γ=0 (xt is non stationary)
Ha: γ≠0 (xt is stationary)
If the result is fail reject null hypothesis (γ=0), it means that xt has unit root
which is non-stationary. In this case, we need to test at first difference | (1) further. If
null hypothesis is rejected γ=0, xt is stationary (has no unit root) or | (0).
Co-Integration test
Hypothesis
H0: rank (∏) =0
Ha: rank (∏) ≠0
∏ is the Co-Integration matrix
Figure 3.3 Demonstration of pair trading rule proposed from Choedpasuporn. S., (2014)
CHAPTER 4
EMPIRICAL RESULT
Table 4.1 ADF test of gold spot and gold future of each frequency
Base on fully efficient hypothesis, spot and future price will revert to the
long term mean. To test the long term relationship between two assets, we applied
Johansen test. If two assets have a Co-Integration property, it means that it has a long-
term relationship. The result in Table 4.2, shows that null hypothesis of every pair series
is rejected, there is Co-Integration property.
Table 4.2 Johansen tests for Co-Integration of gold spot and gold future of each
frequency
ln Gold future
ln Gold future
ln Gold future
VECM will be used to estimate the short run dynamic. First, SBIC criteria
will be used to find the optimal lags by choosing the lowest number of SBIC. That
optimal number of lags will be used to estimate TVECM later.
Table 4.3 SBIC Criteria for gold spot and gold future in 30-minute series
1 -89976.29
2 -89953.79
3 -89972.93
4 -89997.92(Optimal Lag)
5 -89964.16
Table 4.4 Result of VECM of lags 4 for gold spot and gold future in 30-minute series
Table 4.5 SBIC Criteria for gold spot and gold future in 5-minute series
1 -492576.2
2 -492673.3
3 -492882.1
4 -493126.4
5 -493406(Optimal Lag)
Table 4.6 Result of VECM of lags 5 for gold spot and gold future in 5-minute series
Table 4.7 SBIC Criteria for gold spot and gold future in 1-minute series
1 -1914963
2 -1914969(Optimal Lag)
3 -1914917
4 -1914842
5 -1914792
Table 4.8 Result of VECM of lags 2 for gold spot and gold future in 1-minute series
Since both of future and spot price series have Co-Integration property or
long-term relationship. Next step is to check threshold behavior by using Hansen-Seo.
For pair of gold spot and gold future in 1 minute, 5 minutes and 30 minutes
price series. SBIC criteria will be used to find the optimal lags by choosing the lowest
number of SBIC. That optimal number of lags will be used to estimate TVECM later.
Table 4.9 SBIC Criteria for gold spot and gold future in 30-minute series
1 -89784.81
2 -90235
3* -90412.93(Optimal Lag)
4 -90170.07
5 -90091.78
Table 4.10 Result from TVECM estimation for gold spot and gold future in 30-minute series
Parameters Value
Number of Lags 3
Percentage of Observations in each regime (Upper, Middle & lower) 80.8% 16.9% 2.3%
Table 4.11 SBIC Criteria for gold spot and gold future in 5-minute series
1 -492382.5
2 -492418.3
3 -492580.1
4 -492746.1
5* -492967.5(Optimal Lag)
Table 4.12 Result from TVECM estimation for gold spot and gold future in 5-minute
series
Parameters Value
Number of Lags 5
Percentage of Observations in each regime (Upper, Middle & lower) 22.9%, 66.8%, 10.3%
Table 4.13 SBIC Criteria for gold spot and gold future in 1-minute series
1* -446252.1(Optimal Lag)
2 -446133.1
3 -446017
4 -445886.8
5 -445765.7
For 1-minute series, total observation is 55,683. Due to too high frequency
data, the computer programming will be crashed if it is run at once. Therefore, we must
divide all sample (total 55,683 observation) into a small sample and test separately that
the result show in Table 18, Table 19, Table 20 and Table 21.
Table 4.14 Result from TVECM estimation for gold spot and gold future in 1-minute
series of observation 1 to 13,000
Parameters Value
Number of Lags 1
Percentage of Observations in each regime (Upper, Middle & lower) 11.3%, 43.9%, 44.8%
Table 4.15 Result from TVECM estimation for gold spot and gold future in 1-minute
series of observation 13,001 to 26,000
Parameters Value
Number of Lags 1
Percentage of Observations in each regime (Upper, Middle & lower) 24.8% 39.9% 35.4%
Table 4.16 Result from TVECM estimation for gold spot and gold future in 1-minute
series of observation 26,001 to 39,000
Parameters Value
Number of Lags 1
Parameters Value
Percentage of Observations in each regime (Upper, Middle & lower) 22.3% 53.3% 24.4%
Table 4.17 Result from TVECM estimation for gold spot and gold future in 1-minute
series of observation 39,001 to 52,000
Parameters Value
Number of Lags 1
Percentage of Observations in each regime (Upper, Middle & lower) 19.9% 35.8% 44.3%
Table 4.18 Result from TVECM estimation for gold spot and gold future in 1-minute
series of observation 52,001 to 55,683
Parameters Value
Number of Lags 1
Percentage of Observations in each regime (Upper, Middle & lower) 5.4% 5% 89.6%
For this study, we use global assets that are continuously traded 23 hours
per day. Therefore, we used trial and error method by shorten the duration of training
period and execute period. Result shows the best return for 1-minute series is 1-day
trading period and half-day execute period, and the best return for 5 and 30 minutes is
half day trading period and half day execute period. Then, we compare portfolio
performance with period from reference paper (5 days trading period and 1 day execute
period). For unite conversion is based on 21 trading hours per day, that is the trading
hours after cleaning data. We fix half day of execute period because it is practical to
use in the reality that there have night and day session, and vary only training period.
Table 4.19 Performance of TVECM strategy with different training and execute period
for 1-Minute Series
Table 4.20 Performance of TVECM strategy with different training and execute period
for 5-Minute Series
Table 4.21 Performance of TVECM strategy with different training and execute
period for 30-Minute Series.
Table 4.22 Percentage number of time roll for threshold behavior and non-threshold
behavior
The total sample is used to test threshold behavior, which the result
is reject null hypothesis. Strong evidence of threshold nonlinearity is found in every
frequency series.
The estimation process has three steps. First, SBIC selection criteria
is used to find the optimum lag term. We varied number of lag term and then select the
lowest value of SBIC. Second step is estimate β and threshold value. Then β is used to
calculate the error correction term (zt-1=st-1 - βf t-1). Threshold value is use to construct
a three regimes which are one of no arbitrage band and two of arbitrage profitability
band. Third step is simulating the portfolio when size of error correction term more or
less than threshold value ((xt-1- β yt-1) ≤ γa or γb < (xt-1- β yt-1)), we will open the position.
Close the position is taken when size of error correction term is in between two
threshold value (γa ≤ (xt-1- β yt-1) ≤ γb ) or graph reverts to the 2nd regime (no arbitrage
band).
For TVECM trading strategy, 5-Minute Series generates the best net
profit of $ 51,054, when compares with traditional pair trading.
CHAPTER 5
CONCLUSION
This study uses the pair of gold spot and gold future (COMEX) that is
global equity traded by international investors. The main focusing is a TVECM method
applied in the global asset (gold spot and gold future) base on assumption of asymmetry
behavior of mispricing of two markets. The aim of this research is to find relationship
of spot and future of global commodity asset and study a combination this pair with a
TVECM method to assess its performance.
This study uses the pair of gold spot and gold future (COMEX). Pair trading
strategy with TVECM as a trading signal would be used to perform arbitrage
opportunity by using 1, 5 and 30 minutes frequency.
The long run relationship, the result show that every price series have Co-
Integration property. Co-Integrating vector, estimated by Johansen MLE approach to
study characteristic when both assets converge to the long-term mean. For gold
commodity system, convergence pattern is downward of spot adjustment and no future
adjustment.
For threshold behavior, it is estimated by using Hansen-Seo Test to check
whether this is threshold behavior or nonlinear model. The result shows that asymmetric
behavior occurs this gold market.
The result of trading simulation, the arbitrage profit occurs by using this
pair of asset. TVECM method shows superior result than traditional method. The best
frequency series is 5-Minute Series that generates the best net profit of $ 51,054.
However, this study uses the pair of gold spot and gold future (COMEX)
that is global equity traded by international investors. Therefore, these two assets have
high daily volume that will provide more liquidity. It is worldwide trading that we
expect more asymmetric of information lead to react in a different way among
international investors. We expect that it can generate more arbitrage profit from the
theses reason of this global asset. To prove this, it must to compare global gold assets
with Thai gold assets. However, Thai gold spot is not given in intraday data, then it
made us lack of information to simulate trading by using pair Thai gold. Further research
can use pair of Thai gold future with gold asset in other country to compare the trading
performance from gold asset in different market.
REFERENCES
BIOGRAPHY