You are on page 1of 15

Physica A 534 (2019) 120800

Contents lists available at ScienceDirect

Physica A
journal homepage: www.elsevier.com/locate/physa

Alternative trading strategies to beat ‘‘buy-and-hold’’



Eddie C.M. Hui , Ka Kwan Kevin Chan
Department of Building and Real Estate, The Hong Kong Polytechnic University, Hong Kong

highlights

• We construct two new trading strategies.


• We apply our strategies on 12 stock indices.
• Strategy 3 outperforms the other two strategies in overall.
• This study can help investors to improve their trading strategies.

article info a b s t r a c t

Article history: In the past, many investors believed in the ‘‘buy-and-hold’’ strategy based on the efficient
Received 26 September 2018 market hypothesis (EMH). However, since the global financial crisis in 2008, there has
Received in revised form 2 February 2019 been more and more criticism on the EMH. As a result, many people attempted to find
Available online 7 May 2019
a trading strategy to outperform ‘‘buy-and-hold’’. In particular, Hui and Chan (2017)
Keywords: construct a generalized time-dependent strategy and test it on 12 stock indices, but
Shiryaev–Zhou index they show mixed results. In light of this, this study constructs two new trading strategies.
Trading strategy Instead of buying or selling the stock index immediately when the estimator of Shiryaev–
‘‘Smoothing effect’’ Zhou index µ̂i (n) changes sign as in Hui and Chan (2017)’s strategy, we wait until µ̂i (n)
Transaction cost remains at the same sign for two or three consecutive days before buying or selling the
Moving-window size stock index for our new strategies. This reduces the number of times of trading the stock
index for our strategies. We apply our strategies on six securitized real estate indices and
six general equity indices. The results show that our newly constructed Strategy 3 (after
µ̂i (n) changes sign, we wait until µ̂i (n) remains at the same sign for three consecutive
days before changing our buying/selling position) outperforms the other two strategies
in overall, especially when transaction costs exist. This study can act as a reference for
investors to formulate better trading strategies to earn more profit in this globalized
modern financial market with increasing market fluctuations.
© 2019 Elsevier B.V. All rights reserved.

1. Introduction

In the past, the ‘‘buy-and-hold’’ strategy is believed by many people to be true. One argument for the strategy is the
efficient-market hypothesis (EMH): If every security is fairly valued at all times, then there is really no point to trade [1].
Many studies find evidence which supports the EMH (e.g., [2–5]). However, in recent years, globalization has caused
stronger interrelationship between international financial markets, leading to increasing volatility of the global financial
market and more frequent occurring of financial crises. The global financial crisis in 2008 is the most severe financial crisis
since the Great Depression, leading to the worst ‘recession’ since the 1930s and provoking an unprecedented response

∗ Correspondence to: ZN744, Department of Building and Real Estate, The Hong Kong Polytechnic University, Hong Kong.
E-mail addresses: bscmhui@polyu.edu.hk (E.C.M. Hui), ckkwyc@yahoo.com.hk (K.K.K. Chan).

https://doi.org/10.1016/j.physa.2019.04.036
0378-4371/© 2019 Elsevier B.V. All rights reserved.
2 E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800

from national states and central banks [6]. The global financial crisis is originated to large extent in ‘‘the New York-
London axis’’ [7]. The origin of the crisis is the financial turbulence within the US subprime mortgage market, which
has caused profound disruptions across the housing and real estate sectors that have intensified uneven development
and spread economic chaos around the world [8]. The U.S. housing prices began to fall in late 2006, leading to the
subprime crisis in 2007, which turned into the global financial crisis in September 2008 [9] when Lehman Brothers
declared bankruptcy. Chatterjee and Eyigungor [10] present a model of long-duration collateralized debt with risk of
default to account for the foreclosure crisis in the U.S. They find that the financial friction shock accounts for much of
the house price decline while the foreclosure delays account for bulk of the rise in foreclosures. Significant evidence of
contagion is found across different markets (e.g. [11–14]), so the impact of the global financial crisis is worldwide. Scholars
criticize the EMH for causing financial leaders to have a chronic underestimation of the dangers of asset bubbles breaking,
and unjustified faith in rational expectations and market efficiencies is one of the causes of the global financial crisis. If
the EMH is false, then ‘‘buy-and-hold’’ may not be the optimal strategy, so some investors look for an alternative trading
strategy which outperforms ‘‘buy-and-hold’’. If such strategies exist, then the weak form of EMH is no longer true. This
is the motivation of our study.
The Shiryaev–Zhou index derived by Shiryaev et al. [15] is adopted by a number of studies to attempt to construct
a trading strategy that outperforms the ‘‘buy-and-hold’’ strategy [11,16,17]. They show mixed results. All of these three
studies use the same moving-window size 130 for their strategies. However, this may not be the optimal moving-window
size as stock prices are volatile in reality. The optimal moving-window size may vary among different stocks/stock indices,
too. In light of this, Hui and Chan [18] construct a new, generalized time-dependent trading strategy with variable moving-
window size. They find that their strategy outperforms the ‘‘buy-and-hold’’ strategy for slightly more than half of the
cases. Hui and Chan [19] apply the same strategy on 12 Hong Kong listed stocks within the whole period of observation
and two sub-periods. The overall result is mixed in general.
The major problem of the strategies described above is that an investor has to buy a stock (or stock index) as soon as
the estimator of the Shiryaev–Zhou index µ̂i (or µ̂i (n)) changes from negative to positive, and sell it as soon as µ̂i changes
from positive to negative. Since µ̂i changes sign very frequently, we have to buy and sell the stock for many times. Hence
there is a higher chance that the strategies underperform ‘‘buy-and-hold’’, especially when transaction costs exist (see
Section 2 for explanation).
In this study, based on Hui and Chan [18]’s time-dependent strategy, we construct new trading strategies of which we
wait until µ̂i (n) remains at the same sign for a certain number of consecutive days before changing our buying/selling
position. This can reduce the number of times of trading the stock (this is called ‘‘smoothing effect’’ in this study) in order
to cope with the increasing market fluctuations. In this way, we aim to increase the resulting profit of our strategies,
especially when transaction costs exist. However, if the number of consecutive days of which µ̂i (n) remains at the same
sign before changing our buying/selling position is too large, our new strategies would lag behind the real trend of the
stock/stock index more, reducing the profit of the strategies and cancelling out the ‘‘smoothing effect’’. Therefore, a suitable
number of consecutive days of which µ̂i (n) remains at the same sign before changing our buying/selling position should
be chosen. Y. C. Chan invents a trading strategy as follows [20]: if the 2-day moving-average of a stock rises above its
19-day moving average, then buy the stock. If its 2-day moving-average falls below the 19-day moving average, then sell
the entire stock. Applying this strategy on Hang Seng Index from January 3, 2000 to December 31, 2013, 50.43% profit
is earned (without transaction costs), outperforming the 32.41% profit earned by the ‘‘buy-and-hold’’ strategy [20]. This
strategy is analogue to Strategy 2 in this study of which we change out buying/selling position when µ̂i (n) remains at the
same sign for two consecutive days. In order to investigate the effect of waiting for one more day, we set the maximum
number of consecutive days of which µ̂i (n) remains at the same sign before changing our buying/selling position to
be three (see Section 5 for details), and construct two new trading strategies of which we wait until µ̂i (n) remains at
the same sign two and three consecutive days respectively before changing our buying/selling position. We expect that
these two new strategies outperform Hui and Chan [18]’s time-dependent strategy. This study fills in the knowledge gap
whereby our newly constructed strategies can outperform Hui and Chan [18]’s time-dependent strategy, and can act as
a reference for investors to formulate better trading strategies to earn more profit in this globalized modern financial
market with increasing market fluctuations.
The paper proceeds as follows: Section 2 presents the literature review. Section 3 describes the formula of the Shiryaev–
Zhou index and its statistical estimation. Section 4 describes the data source. Our trading strategies are described in
Section 5. Section 6 displays the results. Finally, we draw a conclusion in Section 7.

2. Literature review

In this section, we present a review of previous studies on portfolio optimization/investment models/trading strategies.
In particular, trading strategies derived from the Shiryaev–Zhou index are discussed. We discuss their drawbacks and
how they are improved in later studies. We also explain how our new trading strategies are constructed so as to make
an improvement over previous trading strategies.
The study of portfolio optimization dates back to the 50 s. Markowitz [21] is the first to work on portfolio optimization
and introduces the mean–variance modern portfolio theory (MPT). Since then, a number of dynamic investment models,
like the Merton portfolio [22,23] and the continuous-time Markowitz model [24], are developed. However, they do not
E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800 3

lead to the pure ‘‘buy-and-hold’’ strategy. Lehmann [25] shows that a contrarian can make substantial profits in the
short run by simply buying losers and selling winners. Conrad et al. [26], however, show that these profits are largely
generated by the bid–ask bounce in transaction prices; accounting for this ‘‘bounce’’ by using bid prices eliminates
all profits from price reversals for NASDAQ-NMS stocks and most of the profits for NYSE/AMEX stocks. Furthermore,
any remaining profits (regardless of their source) disappear at trivial levels of transactions costs. Liehr and Pawelzik
[27] derive an optimal trading strategy with variable investment for minimizing the risk to profit ratio. They test their
strategy on DAX and S&P indices using different types of prediction models in comparison. Bao and Yang [28] utilize
high-level representation (turning point and technical indicators) and combine it with a probabilistic model to reduce
the randomness and uncertainty of a chaotic system. Through investigating the yield structure between broad asset
classes and the implications for portfolio allocation decisions and real estate investment, Cheng et al. [29] construct a
theoretical model to determine the optimal holding period for real estate investment. They find that higher illiquidity
and transaction costs result in longer holding periods, while higher return volatility leads to shorter holding periods,
ceteris paribus. Mori and Ziobrowski [30] compare the performance of pairs trading between the U.S. REIT and general
stock markets during 1987–2008. They find that the REIT market outperforms stocks for the strategy when the effect
of the bid–ask bounce during the period 1993–2000 is taken into account. Gallo et al. [31] apply cointegration methods
to derive globally diversified real estate portfolios which outperform the mean–variance optimized portfolio. Hui et al.
[32] test calendar effects of 27 international real estate securitized indices from 20 countries and regions. The standard
method of linear regression shows significant calendar effects. However, the White’s Reality Check and Hansen’s Superior
Predictive Ability tests reveals that the calendar effects are insignificant. Cartea et al. [33] develop a high frequency (HF)
trading strategy where the HF trader uses her superior speed to process information and to post limit sell and buy orders.
They show that HF traders who do not include predictors of short-term-alpha in their strategies are driven out of the
market because they are adversely selected by better informed traders and because they are not able to profit from
directional strategies. Herdegen and Herrmann [34] study the optimal investment problem for an investor with constant
relative risk aversion in a model of bubble. They show that for positive instantaneous expected returns, investors with
relative risk aversion above one always ride the bubble.
However, most of the above trading strategies neglect that past stock price trends may affect future trends. There-
fore, Deremble et al. [35] derive a back-tested strategy: if an asset price is above its five-month average, buy it. Otherwise,
go short on it. Switch positions if its price falls below (or rises above) the five-month average. This strategy provides a
positive return over all long periods and over each decade in the sample and beats the ‘‘buy-and-hold’’ strategy, too. The
approach of this study is similar to that of Deremble et al. [35]. However, instead of simply taking the five-month average
of stock prices, we make use of the Shiryaev–Zhou index. The advantage of using the Shiryaev–Zhou index over Deremble
et al. [35]’s back-tested strategy is that the index is derived from the problem of minimizing the time between the selling
and maximum prices of the stock, so the method is more precise (see Section 5 for explanation). Shiryaev et al. [15] use
the probabilistic approach to derive a ‘‘goodness index’’ γ of a stock, and work out the optimal selling time (see Section 3
for details). Du Toit and Peskir [36] apply another probabilistic approach to obtain the same result. Yam et al. [37,38,39]
resolve the same problem using the techniques in solving the secretary problem and derive the Shiryaev–Zhou index,
which is smaller than the ‘‘goodness index’’ by 1/2.
All of the above methods assume the drift (or return) and volatility to be constants. In reality, however, the market
fundamentals keep on changing. Hence it is more reasonable to assume that the parameters vary in time. Wong et al. [40]
develop a dynamic bang–bang strategy in which the parameters of the return distribution vary over time. Their strategy
outperforms ‘‘buy-and-hold’’ on the CRSP, FTSE 100 and Hang Seng indices provided that the parameter λ is estimated
by recent returns (in this way, the methods of Wong et al. 2012 and Deremble, 2014 are similar). The sign of λ is the
same as that of the Shiryaev–Zhou index [40] and determines the optimal buying/selling time of a stock. This makes up
the theoretical and conceptual framework of this study.
Hui et al. [41] is the first to put Shiryaev–Zhou index into practice, and apply it on several Hong Kong listed property
stocks. They only work out the latest selling dates of each stock, but the resulting profit is not calculated. Hui and Yam [16]
use the Shiryaev–Zhou index to derive a trading strategy, and test it on four European and North American securitized
real estate indices. They show that their strategy generally outperforms the ‘‘buy-and-hold’’ strategy. Hui et al. [11] test
the same strategy on six Asian securitized real estate indices and find similar results. However, Hui and Chan [17] find
mixed results when the same strategy is applied on Hong Kong listed stocks: the strategy still beats ‘‘buy-and-hold’’ in
general for property stocks, but is outperformed by ‘‘buy-and-hold’’ for most non-property stocks, in particular with the
presence of transaction costs.
Hui and Yam [16], Hui et al. [11] and Hui and Chan [17] all use a fixed moving-window size (n = 130) to calculate the
estimator of the Shiryaev–Zhou index and derive their trading strategy. Therefore, if transaction costs remain unchanged,
the resulting profit is fixed. Due to high volatility of stock prices, if a different moving-window size is used, the estimator
and hence the resulting profit derived by the strategy may change. In light of this, Hui and Chan [18] construct a new,
generalized time-dependent trading strategy with variable moving-window size, and apply the strategy on 12 stock
indices (6 securitized real estate indices and 6 general equity indices). The optimal moving-window size of their strategy
for each stock index is calculated. They find that if the optimal moving-window sizes are used, their strategy beats ‘‘buy-
and-hold’’ for most cases. The same strategy is applied by Hui and Chan [19] on 12 stocks listed in Hong Kong. The
optimal moving-window size for each stock is worked out for the whole period of observation and for two sub-periods.
4 E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800

They find that when the sub-period December 31, 2004–December 31, 2008 is selected, their strategy outperforms the
‘‘buy-and-hold’’ strategy for most stocks. However, when the sub-period December 31, 2004–December 31, 2012 is used,
their strategy underperforms ‘‘buy-and-hold’’ for most cases.
The above strategies [11,16–19,41] have a common drawback that one has to buy a stock (or stock index) immediately
when the estimator of the Shiryaev–Zhou index µ̂i (or µ̂i (n)) changes from negative to positive, and sell it immediately
when µ̂i changes from positive to negative. However, due to high volatility of stock prices, µ̂i changes sign very frequently,
so one has to trade the stock for a lot of times. Since µ̂i lags behind the stock price [17], it is possible that the stock price
is rising even when µ̂i is negative. In this case the strategies will underperform ‘‘buy-and-hold’’ on day i. When there
are more transaction costs, the strategies are more likely to underperform the ‘‘buy-and-hold’’ strategy [17]. In order to
solve this problem, we construct two new trading strategies based on Hui and Chan [18]’s time-dependent strategy. When
µ̂i changes sign, we do not buy or sell the stock immediately. Instead, we buy (or sell) the stock only when µ̂i remains
positive (or negative) for two or three consecutive days (the details of our strategies are described in Section 5). In this
way, the number of times of trading the stock can be reduced and the resulting profit of our strategies may increase,
especially when transaction costs exist.

3. The Shiryaev–Zhou index and its statistical estimation

The Shiryaev–Zhou index is derived from the problem of minimizing the time between the selling and maximum prices
of the stock:

V ∗ = max E[ ] (3.1)
0≤τ ≤T ST
where E denotes the expectation function and ST = max0≤s≤t Ss is the maximum stock price during the period [0, t].
The solution to problem (3.1) is t ∗ = T when γ ≥ 12 , and t ∗ = 0 otherwise, where t ∗ is the optimal selling time, and
γ is the ‘‘goodness index’’ of the stock [15].
Yam et al. [37,38,39] resolve (3.1) and show that t ∗ = T when µ ≥ 0, and V ∗ = 0 otherwise, where µ is the
Shiryaev–Zhou index defined by [11,16–19,37–39,41]:

µ = (α − 0.5σ 2 )/σ 2 = α/σ 2 − 0.5, (3.2)

where α , σ are the annual growth rate (or drift) and annual volatility of the stock respectively (α, σ are constants).
The above two trading strategies are identical as γ = µ + 12 .
In reality, the drift α and volatility σ are always varying. Their exact values are normally not known. Thus, we adopt
the moving-window approach [11,18,19]:
The continuously compounded daily return of a stock on day i, ri (i ≥ 2) is given by:
( )
Si
ri = log , (3.3)
Si−1
where Si is the stock’s closing price on day i.
The average daily return of the stock on day i is estimated by the sample mean:
n
1∑
r i (n) = ri−n+j (3.4)
n
j=1

Assuming 250 trading days in a year, the estimator of α on day i is:

α̂i (n) = 250r i (n) (3.5)

The daily variance of the stock on day i is estimated by the sample variance:
n
1 ∑ )2
s2i (n) = ri−n+j − r j (n)
(
(3.6)
n−1
j=1

Thus, the estimator of the variance σ 2 on day i is:

σ̂i2 (n) = 250s2i (n) (3.7)

The estimator of the Shiryaev–Zhou index µ on day i is then derived:


α̂i (n) − 0.5σ̂i2 (n) α̂i (n)
µ̂i (n) = = 2 − 0.5. (3.8)
σ̂i2 (n) σ̂i (n)
E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800 5

Table 1
The stock indices we choose.
Economy General equity index Securitized real estate index
Hong Kong Hang Seng Index (HSI) FTSE EPRA/NAREIT Hong Kong Index (ELHK)
Japan Nikkei 225 Index (TPX) FTSE EPRA/NAREIT Japan Index (ELJP)
U.S. S&P 500 Index (SPX) FTSE EPRA/NAREIT US Index (UNUS)
U.K. FTSE 100 Index (UKX) FTSE EPRA/NAREIT UK Index (ELUK)
France CAC 40 Index (CAC) FTSE EPRA/NAREIT France Index (EPFR)
Germany DAX Index (DAX) FTSE EPRA/NAREIT Germany Index (EPGR)

Table 2
The action of Strategy 1 from Day 2 to the second last day.
µ̂i−1 (n) µ̂i (n) Action
≥0 ≥0 No action (keep holding one unit of the stock/stock index)
≥0 <0 Sell the entire one unit of the stock/stock index we hold
<0 ≥0 Buy one unit of the stock/stock index
<0 <0 No action (keep holding entire cash)

4. Data

The period of observation is December 29, 1995–December 31, 2016, a total of 5481 observations. Since the largest
moving-window size in this study is 240 days, the calculation of the estimated value of Shiryaev–Zhou index µ̂i (n) on
day i using the moving-window size n = 240 requires the stock price on day i − 240 to be known. Hence we trace back
the timeline by 240 days, i.e. back to January 27, 1995.
Next, we select stock indices. 6 major, developed economies are chosen. We select 4 economies from Europe and North
America and 2 from Asia. U.S. is the largest economy in the world and its NYSE (New York Stock Exchange) has the largest
market cap out of all stock exchanges in the world, so it is chosen. U.K., France, Germany are the three largest economies
in Europe, and their stock exchanges are also the largest in Europe, so they are selected, too. For Asia, we select Japan and
Hong Kong, which rank 1st and 3rd among Asian stock exchanges respectively. China has the 2nd largest stock exchange
in Asia, but its financial market is not totally free, and it does not have a securitized real estate index which belongs to
the FTSE EPRA/NAREIT Global Real Estate Index Series, so it is not chosen. We select one securitized real estate index
and one general equity index from Bloomberg for each economy, making up a total of 12 stock indices, which are shown
in Table 2. The six general equity indices consist of the most frequently traded stocks in the corresponding economies
and are commonly accepted as benchmarks. All of the six securitized real estate indices belong to the FTSE EPRA/NAREIT
Global Real Estate Index Series. They consist of the most frequently traded real estate securities in the corresponding
economies, so they can truly reflect the performance of the overall property market of the corresponding economies (see
Table 1).

5. Our trading strategies

Here we use the estimator µ̂i (n) of the Shiryaev–Zhou index to construct three trading strategies. The following two
assumptions are made:

(1) The transaction price (buying and selling price) of a stock index is its closing price (adjusted for dividend and split)
on that day.
(2) The amount of cash held at time t = 0 is adequate to cover all transactions during the period.
The first strategy is as follows Hui and Chan [18,19]:

1. On day 1, if µ̂1 (n) ≥ 0, buy one unit of the stock index. Otherwise, take no action.
2. From day 2 to the second last day of the period, trade the stock index according to Table 2:
3. On the final day of the period, sell the entire one unit of the stock index if one is still holding the one unit of the
stock index. Otherwise, do not take any action.
This strategy is the same as Hui and Chan [18,19]’s time-dependent strategy and is denoted by Strategy 1. From (3.8), α̂i (n)
is the n-day moving average of the continuously compounded daily return of the stock, so Strategy 1 is, in fact, analogue
to Deremble et al. [35]’s back-tested strategy. However, the critical value of α̂i (n) is 0.5σ̂i2 (n) (see (3.8)) instead of 0.
Since the Shiryaev–Zhou index is derived from the problem of minimizing the time between the selling and maximum
prices of the stock, Strategy 1 is more precise than Deremble et al. [35]’s back-tested strategy. Furthermore, we use a
variable moving-window size in contrast to Deremble et al. [35]’s fixed moving-window size (fixed at 5 months).
As mentioned before, since µ̂i (n) changes sign very frequently, one has to trade the stock index for a lot of times
when he/she adopts Strategy 1, so this strategy may underperform ‘‘buy-and-hold’’, especially when transaction costs
6 E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800

exist. Therefore, we construct new trading strategies of which we wait until µ̂i (n) remains at the same sign for a number
of consecutive days before changing our buying/selling position. However, the suitable number of consecutive days before
changing our buying/selling position depends on the trend of the stock/stock index. If the stock/stock index keeps on rising
or falling for a number of consecutive days, then µ̂i (n) also remains at the same sign for a number of consecutive days,
so it is better to buy or sell the stock/stock index immediately when µ̂i (n) changes sign, i.e. the optimal number of
consecutive days before changing our buying/selling position is 1. On the other hand, suppose the stock price rises from
$1 on day 1 to $2 on day 2, falls back to $1 on day 3, but rises to $2 again on day 4, etc., then µ̂i (n) changes sign every
day. If an investor buys or sells the stock immediately when µ̂i (n) changes sign, he/she would incur a huge loss. In this
case, the optimal number of consecutive days before changing our buying/selling position is greater than 1. Y. C. Chan
invents a trading strategy which is similar to Deremble et al. [35]’s. His trading strategy is as follows [20]: if the 2-day
moving-average of a stock rises above its 19-day moving average, then buy the stock. If its 2-day moving-average falls
below the 19-day moving average, then sell the entire stock. Applying this strategy on Hang Seng Index from January 3,
2000 to December 31, 2013, 50.43% profit is earned (without transaction costs), outperforming the 32.41% profit earned by
the ‘‘buy-and-hold’’ strategy [20]. As explained in Section 2, Strategy 1 is an analogue to Deremble et al. [35]’s strategy.
Similarly, Y. C. Chan’s strategy would be analogue to a strategy that after µ̂i (n) changes sign, an investor waits until
µ̂i (n) remains at the same sign for 2 consecutive days, then he/she buy or sell the stock. However, if we wait for one
more day, would we earn more profit? This is an interesting topic to investigate. Therefore, we set the maximum number
of consecutive days µ̂i (n) remains at the same sign before changing our buying/selling position for our strategies to be
three, and construct two new trading strategies.
For the first strategy, after µ̂i (n) changes sign, we wait until the sign of µ̂i (n) remains unchanged for 2 consecutive
days, then we buy or sell the stock index. This is called Strategy 2 in this study:

1. On day 1, if µ̂1 (n) ≥ 0, buy one unit of the stock index. Otherwise, take no action.
2. On day 2, do not take any action.
3. From day 3 to the second last day of the period (denote that day by day i):

(a) If one is holding entire cash, then buy one unit of the stock index if µ̂i (n) ≥ 0 on both day i-1 and day i.
Otherwise, do not take any action.
(b) If one is holding one unit of the stock index, then sell the entire one unit of the stock index if µ̂i (n) < 0 on
both day i-1 and day i. Otherwise, do not take any action.

4. On the final day of the period, sell the entire one unit of the stock index if one is still holding the one unit of the
stock index. Otherwise, do not take any action.
For the second strategy, after µ̂i (n) changes sign, we wait until the sign of µ̂i (n) remains unchanged for 3 consecutive
days, then we buy or sell the stock index. This is called Strategy 3 in this study:

1. On day 1, if µ̂1 (n) ≥ 0, buy one unit of the stock index. Otherwise, take no action.
2. On both day 2 and day 3, do not take any action.
3. From day 4 to the second last day of the period (denote that day by day i):

(c) If one is holding entire cash, then buy one unit of the stock index if µ̂i (n) ≥ 0 on day i-2, day i-1 and day i.
Otherwise, do not take any action.
(d) If one is holding one unit of the stock index, then sell the entire one unit of the stock index if µ̂i (n) < 0 on
day i-2, day i-1 and day i. Otherwise, do not take any action.

4. On the final day of the period, sell the entire one unit of the stock index if one is still holding the one unit of the
stock index. Otherwise, do not take any action.
For the above three strategies, the following three cases of amount of transaction costs are considered:

(1) No transaction costs.


(2) 0.1% of the transaction price.
(3) 0.2% of the transaction price.
Unlike Strategy 1 in which one has to buy a stock index as soon as µ̂i (n) changes from negative to positive, and sell
it as soon as µ̂i (n) changes from positive to negative, for Strategies 2 and 3, when µ̂i (n) changes sign, we wait until the
sign of µ̂i (n) remains unchanged for 2 or 3 consecutive days before buying or selling the stock index. In this way, the
number of times of trading the stock index is greatly reduced (especially for Strategy 3), creating a ‘‘smoothing effect’’,
so the resulting profit of Strategies 2 and 3 is expected to be larger than that of Strategy 1, in particular when there are
transaction costs. We will verify whether Strategies 2 and 3 outperform Strategy 1 for the 12 stock indices under 0%, 0.1%
and 0.2% transaction costs in the next section.

6. Results

We apply the three strategies described in Section 5 and the ‘‘buy-and-hold’’ strategy on the 12 stock indices selected
in Section 4 during the whole period. We select 6 different moving-window sizes n for Strategies 1, 2 and 3: 40, 80, 120,
E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800 7

160, 200, 240, and consider all the 3 cases of different amounts of transaction costs mentioned in Section 4 (0%, 0.1% and
0.2%). The results are shown in Tables 3–5.
From the Tables 3–5, the results of the strategies are mixed. In overall, the strategies outperform the ‘‘buy-and-hold’’
strategies for roughly a half of the cases. The strategies are more likely to beat ‘‘buy-and-hold’’ for the six securitized
real estate indices than for the six general equity indices. In particular, for ELUK and EPGR indices, the three strategies
outperform ‘‘buy-and-hold’’ in all cases. On the other hand, for UKX index, the three strategies underperform ‘‘buy-and-
hold’’ in all cases, except for Strategy 3 when n = 240 and there are no transaction costs. As in Hui and Chan [18,19],
when the amount of transaction costs increases, the resulting profits of our three strategies decrease by a larger extent
than the profit of the ‘‘buy-and-hold’’ strategy. The reason for this result is explained in Hui and Chan [18].
Next, we compare the resulting profits of Strategies 1, 2 and 3. From Tables 3–5, Strategy 2 outperforms Strategy 1
for about half of the cases, showing that these two strategies are almost equally well. Meanwhile, Strategy 3 yields the
greatest profit in overall. In particular, Strategy 3 outperforms the other two strategies in most cases for five indices:
EPFR, EPGR, SPX, UKX and CAC. This shows that Strategy 3 is the best of the three strategies. Comparing the results in
Tables 3–5, we can see that the number of times of buying and selling the stock index is smaller for Strategy 2 than for
Strategy 1, and this number is further reduced for Strategy 3. By waiting for two or three consecutive days that µ̂i (n)
remains at the same sign before buying or selling the stock index, a ‘‘smoothing effect’’ of which the number of times of
trading the stock index is reduced, so the probability that we do not hold the stock index for the strategy, but the stock
index is still rising decreases. However, this ‘‘smoothing effect’’ is very small for Strategy 2. In Strategy 3, the number of
consecutive days that µ̂i (n) remains at the same sign before trading the stock index increases to three days. This creates
a greater ‘‘smoothing effect’’ that increases the profit of the strategy.
We can also see the relationship between the amount of transaction costs and the profits of the three strategies.
When the amount of transaction costs increases, Strategy 2 and, in particular, Strategy 3, are more likely to outperform
Strategy 1. For example, for UKX index with moving-window size 120, Strategy 1 outperforms Strategies 2 and 3 without
transaction costs. With 0.1% transaction costs, Strategy 1 outperforms Strategy 2, but underperforms Strategy 3. When
there are 0.2% transaction costs, Strategy 1 underperforms both Strategies 2 and 3. This is because the number of times
of buying and selling the stock index is smaller for Strategy 2 than for Strategy 1, and this number is further reduced for
Strategy 3. Thus the total amount of transaction costs incurred for Strategy 2 is smaller than that incurred for Strategy 1,
and this amount incurred for Strategy 3 is even smaller. As a result, the decrease in profit for Strategy 2 due to increase
in transaction costs would be smaller than that for Strategy 1, so there is a greater chance that Strategy 2 outperforms
Strategy 1. By the same reason, Strategy 3 is more likely to outperform Strategies 1 and 2 when the amount of transaction
costs increases.
Tables 3–5 also show that Strategies 2 and 3 are more likely to outperform Strategy 1 when the moving-window size
decreases. According to Hui and Chan [18], increasing the moving-window size would result in a ‘‘smoothing effect’’,
reducing the fluctuation of µ̂i (n). Hence we can see from Table 3, 4 and 5 that in general, the number of times of buying
and selling the stock index for the three strategies is larger for smaller moving-window sizes. When the number of times
of trading the stock index for Strategy 1 is larger, the number of times of trading the stock index for Strategy 2 and,
in particular, for Strategy 3, would decrease by a larger extent. This would create a larger ‘‘smoothing effect’’, especially
when the amount of transaction costs increases. Furthermore, µ̂i (n) in fact lags behind the stock price. When the moving-
window size is smaller, µ̂i (n) will lag behind the stock price by a smaller extent, so this ‘‘lagging effect’’ is less likely to
cancel out the ‘‘smoothing effect’’. Therefore, the probability that Strategies 2 and 3 outperform Strategy 1 would increase.
Tables 3–5 show that Strategies 2 and 3 are more likely to outperform ‘‘buy-and-hold’’ for the general equity indices
than for the securitized real estate indices. If we have a closer look at the tables, we can find that the number of times
of trading the six general equity indices for Strategy 1 (and also for Strategies 2 and 3) is greater than the number of
times of trading the six securitized real estate indices for the same strategy. From the above analysis, when the number
of times of trading the stock index for Strategy 1 increases, Strategies 2 and 3 would have a greater chance to outperform
the ‘‘buy-and-hold’’ strategy. This explains the result. The result that the general equity indices having a larger number of
times of trading the indices for Strategy 1 may be contributed to the fact the general equity indices have a higher liquidity
than the securitized real estate indices do Hui and Chan [18], so they have a higher volatility and hence their estimators
of the Shiryaev–Zhou index µ̂i (n) fluctuate more frequently.

7. Conclusion

In this study, we apply Hui and Chan [18]’s generalized time-dependent trading strategy and two newly constructed
strategies on the securitized real estate and general equity indices of six economies: Hong Kong, Japan, U.S., U.K., France,
Germany, during the period December 29, 1995–December 31, 2016. The following lists out the main results:

(1) Out of the three strategies, Strategy 3 yields the greatest profit overall, so it is the best strategy.
(2) When the amount of transaction costs increases, Strategies 2 and 3 are likely to outperform Strategy 1.
(3) Strategies 2 and 3 have a higher probability to outperform Strategy 1 with smaller moving-window sizes.
(4) Strategies 2 and 3 are more likely to outperform Strategy 1 for general equity indices than for securitized real estate
indices.
8 E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800

Table 3
Comparison between the profits of Strategy 1 and ‘‘buy-and-hold’’.
ELHK
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 2630.18 2278.16 2542.95 1902.26 1213.97 1478.46 1026.23
406.54% 352.13% 393.06% 294.03% 187.64% 228.52% 158.62%
0.1% transaction costs 2256.35 1996.98 2345.14 1757.95 1074.48 1340.71 1023.91
348.41% 308.36% 362.12% 271.45% 165.92% 207.02% 158.11%
0.2% transaction costs 1882.52 1715.79 2147.33 1613.64 934.99 1202.95 1021.59
290.40% 264.68% 331.25% 248.92% 144.23% 185.57% 157.59%
No. of times of buying (or selling) the stock index for Strategy 1 142 111 77 58 57 51
Average no. of times of buying (or selling) the stock index for Strategy 1: 82.67
ELJP
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 1776.25 880.22 701.87 2030.27 1077.85 989.33 1446.44
119.74% 59.34% 47.31% 136.86% 72.66% 66.69% 97.51%
0.1% transaction costs 1085.85 411.92 256.54 1676.56 772.83 698.10 1442.03
73.12% 27.74% 17.28% 112.91% 52.05% 47.01% 97.11%
0.2% transaction costs 395.45 −56.39 −188.79 1322.85 467.81 406.87 1437.61
26.60% −3.79% −12.70% 89.00% 31.47% 27.37% 96.72%
No. of times of buying (or selling) the stock index for Strategy 1 174 123 114 90 88 83
Average no. of times of buying (or selling) the stock index for Strategy 1: 112.00
UNUS
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 1777.96 1393.14 1728.37 1787.03 1988.43 908.49 1988.75
187.77% 147.13% 182.53% 188.72% 209.99% 95.94% 210.03%
0.1% transaction costs 1196.11 996.87 1365.98 1512.08 1786.87 694.72 1984.87
126.19% 105.17% 144.11% 159.53% 188.52% 73.29% 209.41%
0.2% transaction costs 614.26 600.60 1003.59 1237.14 1585.31 480.94 1980.98
64.74% 63.30% 105.78% 130.39% 167.09% 50.69% 208.79%
No. of times of buying (or selling) the stock index for Strategy 1 153 104 91 72 53 52
Average no. of times of buying (or selling) the stock index for Strategy 1: 87.50
ELUK
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 1846.23 1511.70 2527.35 2289.96 2082.31 1627.82 651.51
173.65% 142.18% 231.51% 215.38% 195.85% 153.10% 61.28%
0.1% transaction costs 1384.93 1178.43 2291.95 2125.58 1973.30 1524.98 648.73
130.13% 110.73% 209.74% 199.72% 185.41% 143.29% 60.95%
0.2% transaction costs 923.64 845.16 2050.84 1961.20 1864.29 1422.13 645.95
86.70% 79.33% 187.49% 184.09% 174.99% 133.49% 60.63%
No. of times of buying (or selling) the stock index for Strategy 1 157 111 83 62 45 42
Average no. of times of buying (or selling) the stock index for Strategy 1: 83.33
EPFR
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 3964.85 2557.62 3089.04 2851.69 2549.84 2460.03 3273.67
614.62% 396.47% 478.85% 433.12% 395.27% 381.35% 507.47%
0.1% transaction costs 3297.18 2047.17 2563.32 2477.06 2227.97 2161.26 3269.11
510.61% 317.03% 396.96% 375.84% 345.03% 334.70% 506.26%
0.2% transaction costs 2629.51 1536.72 2037.59 2102.43 1906.09 1862.5 3264.54
406.81% 237.74% 315.23% 318.68% 294.89% 288.14% 505.05%
No. of times of buying (or selling) the stock index for Strategy 1 155 105 100 78 61 65
Average no. of times of buying (or selling) the stock index for Strategy 1: 94.00
EPGR
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 750.12 1109.85 871.78 934.24 1022.87 1230.81 115.82
158.81% 132.99% 196.16% 199.30% 216.11% 266.78% 13.98%
0.1% transaction costs 513.92 936.26 742.11 809.89 927.12 1159.76 114.05
108.70% 112.07% 166.81% 94.74% 195.68% 232.67% 13.75%
0.2% transaction costs 277.73 762.66 612.45 685.54 831.36 1088.71 112.27
53.35% 91.20% 137.53% 80.11% 175.30% 218.20% 13.52%
No. of times of buying (or selling) the stock index for Strategy 1 171 120 93 82 68 56
Average no. of times of buying (or selling) the stock index for Strategy 1: 98.33
(continued on next page)
E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800 9

Table 3 (continued).
HSI
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 28398.40 10862.33 12628.88 9733.36 13024.13 16269.10 11927.17
281.92% 107.83% 125.37% 96.62% 129.29% 161.51% 118.40%
0.1% transaction costs 23454.28 6566.76 8776.46 7036.04 10577.54 14390.48 11895.10
232.60% 65.12% 87.04% 69.78% 104.90% 142.71% 117.97%
0.2% transaction costs 18510.16 2271.19 4924.04 4338.72 8130.94 12511.86 11863.02
183.39% 22.50% 48.78% 42.99% 80.56% 123.96% 117.53%
No. of times of buying (or selling) the stock index for Strategy 1 145 126 103 73 67 47
Average no. of times of buying (or selling) the stock index for Strategy 1: 93.50
NKY
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 4057.61 7801.48 11608.51 2917.44 5280.70 7906.73 −753.78
20.42% 39.27% 58.43% 14.68% 26.58% 39.80% −3.79%
0.1% transaction costs −1162.19 4422.18 8861.35 742.90 2746.20 6489.40 −792.76
−5.84% 22.24% 44.56% 3.74% 13.81% 32.63% −3.99%
0.2% transaction costs −6381.99 1042.88 6114.19 −1431.64 211.70 5072.06 −831.75
−32.06% 5.24% 30.71% −7.19% 1.06% 25.48% −4.18%
No. of times of buying (or selling) the stock index for Strategy 1 184 125 102 82 93 58
Average no. of times of buying (or selling) the stock index for Strategy 1: 107.33
SPX
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 392.61 391.65 1581.68 1417.31 1527.53 1179.50 1622.90
63.74% 63.59% 256.80% 230.11% 248.00% 191.50% 263.49%
0.1% transaction costs −152.52 21.56 1379.02 1245.22 1392.99 1010.99 1620.05
−24.74% 3.50% 223.67% 201.97% 225.93% 163.98% 262.76%
0.2% transaction costs −697.66 −348.52 1176.36 1073.14 1258.45 842.48 1617.19
−113.04% −56.47% 190.61% 173.88% 203.91% 136.51% 262.04%
No. of times of buying (or selling) the stock index for Strategy 1 204 134 77 63 53 58
Average no. of times of buying (or selling) the stock index for Strategy 1: 98.17
UKX
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs −1090.36 −276.76 2667.16 119.95 3140.19 3267.77 3453.53
−29.55% −7.50% 72.29% 3.25% 85.12% 88.57% 93.61%
0.1% transaction costs −3414.31 −1972.92 1435.49 −1164.24 1986.75 2519.94 3442.70
−92.45% −53.42% 38.87% −31.53% 53.80% 68.24% 93.22%
0.2% transaction costs −5738.27 −3669.07 203.83 −2448.43 833.31 1772.12 3431.87
−155.23% −99.25% 5.51% −66.23% 22.54% 47.94% 92.84%
No. of times of buying (or selling) the stock index for Strategy 1 206 152 106 111 99 62
Average no. of times of buying (or selling) the stock index for Strategy 1: 122.67
CAC
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 2289.31 2696.68 3849.24 4524.70 4818.49 4246.01 2990.34
122.29% 144.06% 199.32% 230.35% 257.40% 226.82% 159.74%
0.1% transaction costs 625.71 1679.50 3046.24 3939.07 4276.53 3841.16 2983.61
33.39% 89.63% 157.58% 200.33% 228.22% 204.99% 159.22%
0.2% transaction costs −1037.90 662.33 2243.25 3353.44 3734.57 3436.31 2976.87
−55.33% 35.31% 115.93% 170.38% 199.10% 183.20% 158.71%
No. of times of buying (or selling) the stock index for Strategy 1 201 122 102 76 69 51
Average no. of times of buying (or selling) the stock index for Strategy 1: 103.50
DAX
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 8382.28 4654.15 9707.85 9966.45 8571.26 10388.23 9220.37
370.78% 203.70% 429.42% 440.86% 379.14% 459.52% 407.86%
0.1% transaction costs 6014.43 2863.77 8630.88 9373.94 7811.40 10004.08 9206.63
265.78% 125.21% 381.40% 414.24% 345.19% 442.08% 406.84%
0.2% transaction costs 3646.58 1073.39 7553.92 8781.43 7051.55 9619.92 9192.89
160.98% 46.88% 333.48% 387.67% 311.30% 424.68% 405.83%
No. of times of buying (or selling) the stock index for Strategy 1 182 139 85 47 54 28
Average no. of times of buying (or selling) the stock index for Strategy 1: 89.17

In light of mixed results of Hui and Chan [18]’s generalized time-dependent strategy, this study constructs two new
trading strategies with the number of times of stock index trading reduced, hoping that this would increase profits. Our
results show that Strategy 3 outperforms the other two strategies. In other words, it is the best trading strategy. The key
10 E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800

Table 4
Comparison between the profits of Strategy 2 and ‘‘buy-and-hold’’.
ELHK
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 1667.99 2019.70 2100.65 1636.39 1375.92 1363.53 1026.23
257.82% 312.18% 324.70% 252.94% 212.67% 210.76% 158.62%
0.1% transaction costs 1439.75 1840.49 1972.74 1539.08 1293.67 1270.47 1023.91
222.32% 284.20% 304.62% 237.66% 199.76% 196.18% 158.11%
0.2% transaction costs 1211.51 1661.28 1844.83 1441.77 1211.42 1177.40 1021.59
186.89% 256.27% 284.58% 222.41% 186.87% 181.63% 157.59%
No. of times of buying (or selling) the stock index for Strategy 2 82 68 51 38 33 32
Average no. of times of buying (or selling) the stock index for Strategy 2: 50.67
ELJP
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 1722.60 95.19 429.73 1594.48 402.70 753.29 1446.44
116.12% 6.42% 28.97% 107.49% 27.15% 50.78% 97.51%
0.1% transaction costs 1329.73 −180.72 168.65 1406.49 207.90 577.47 1442.03
89.55% −12.17% 11.36% 94.72% 14.00% 38.89% 97.11%
0.2% transaction costs 936.87 −456.63 −92.43 1218.51 13.09 401.65 1437.61
63.03% −30.72% −6.22% 81.98% 0.88% 27.02% 96.72%
No. of times of buying (or selling) the stock index for Strategy 2 100 71 66 48 56 49
Average no. of times of buying (or selling) the stock index for Strategy 2: 65.00
UNUS
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 1681.13 1593.23 2201.86 1671.25 1521.09 1101.25 1988.75
177.54% 168.26% 232.53% 176.50% 160.64% 116.30% 210.03%
0.1% transaction costs 1362.68 1356.97 2017.28 1538.80 1408.58 969.25 1984.87
143.77% 143.16% 212.83% 162.35% 148.61% 102.26% 209.41%
0.2% transaction costs 1044.24 1120.71 1832.69 1406.36 1296.07 837.26 1980.98
110.06% 118.12% 193.16% 148.23% 136.60% 88.24% 208.79%
No. of times of buying (or selling) the stock index for Strategy 2 85 62 48 36 30 31
Average no. of times of buying (or selling) the stock index for Strategy 2: 48.67
ELUK
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 1964.33 1335.48 2487.81 2139.60 1710.78 1714.18 651.51
184.75% 125.61% 226.72% 201.24% 160.91% 161.23% 61.28%
0.1% transaction costs 1688.13 1144.52 2369.23 2028.71 1636.02 1652.31 648.73
158.62% 107.54% 215.70% 190.62% 153.72% 155.25% 60.95%
0.2% transaction costs 1411.93 953.56 2250.65 1917.82 1561.25 1590.44 645.95
132.53% 89.51% 204.70% 180.02% 146.55% 149.29% 60.63%
No. of times of buying (or selling) the stock index for Strategy 2 91 62 43 41 30 25
Average no. of times of buying (or selling) the stock index for Strategy 2: 48.67
EPFR
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 2711.65 2036.42 2901.92 2955.52 2630.65 2268.32 3273.67
420.35% 315.68% 449.85% 450.30% 407.80% 351.63% 507.47%
0.1% transaction costs 2343.06 1753.43 2612.93 2755.65 2469.29 2101.09 3269.11
362.85% 271.54% 404.64% 419.43% 382.40% 325.38% 506.26%
0.2% transaction costs 1974.46 1470.44 2323.93 2555.79 2307.93 1933.85 3264.54
305.46% 227.49% 359.53% 388.62% 357.05% 299.18% 505.05%
No. of times of buying (or selling) the stock index for Strategy 2 86 57 54 43 34 37
Average no. of times of buying (or selling) the stock index for Strategy 2: 51.83
EPGR
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 534.26 1050.94 646.25 1017.53 1088.98 1220.04 115.82
105.30% 125.89% 146.72% 216.25% 229.28% 245.49% 13.98%
0.1% transaction costs 382.67 951.48 563.74 959.70 1038.95 1180.26 114.05
75.35% 113.86% 127.86% 203.76% 218.53% 237.25% 13.75%
0.2% transaction costs 231.07 852.01 481.23 901.88 988.91 1140.48 112.27
45.45% 101.85% 109.04% 191.29% 207.79% 229.02% 13.52%
No. of times of buying (or selling) the stock index for Strategy 2 108 70 58 41 35 31
Average no. of times of buying (or selling) the stock index for Strategy 2: 57.17

(continued on next page)


E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800 11

Table 4 (continued).
HSI
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 18895.28 12443.72 16983.90 14690.19 14685.13 13369.53 11927.17
187.58% 123.53% 168.60% 145.83% 145.78% 132.72% 118.40%
0.1% transaction costs 15915.08 10164.15 14912.43 13121.16 13337.16 12342.86 11895.10
157.83% 100.80% 147.89% 130.13% 132.27% 122.41% 117.97%
0.2% transaction costs 12934.87 7884.58 12840.96 11552.12 11989.19 11316.19 11863.02
128.15% 78.12% 127.22% 114.45% 118.78% 112.11% 117.53%
No. of times of buying (or selling) the stock index for Strategy 2 88 66 58 42 37 26
Average no. of times of buying (or selling) the stock index for Strategy 2: 52.83
NKY
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 4569.62 5976.27 8132.84 3611.01 4115.24 6268.03 −753.78
23.00% 30.08% 40.93% 18.17% 20.71% 31.55% −3.79%
0.1% transaction costs 1678.61 4081.28 6713.92 2300.92 2701.69 5284.15 −792.76
8.44% 20.52% 33.76% 11.57% 13.58% 26.57% −3.99%
0.2% transaction costs −1212.40 2186.29 5295.01 990.83 1288.14 4300.26 −831.75
−6.09% 10.98% 26.60% 4.98% 6.47% 21.60% −4.18%
No. of times of buying (or selling) the stock index for Strategy 2 103 70 53 49 51 39
Average no. of times of buying (or selling) the stock index for Strategy 2: 60.83
SPX
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 400.43 472.90 1740.24 1499.16 1639.55 1474.79 1622.90
65.01% 76.78% 282.54% 243.40% 266.19% 239.44% 263.49%
0.1% transaction costs 99.01 270.99 1609.53 1408.08 1559.70 1393.36 1620.05
16.06% 43.95% 261.06% 228.38% 252.97% 225.99% 262.76%
0.2% transaction costs −202.42 69.07 1478.82 1317.00 1479.85 1311.92 1617.19
−32.80% 11.19% 239.62% 213.40% 239.78% 212.57% 262.04%
No. of times of buying (or selling) the stock index for Strategy 2 112 75 50 33 30 27
Average no. of times of buying (or selling) the stock index for Strategy 2: 54.50
UKX
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs −1612.06 20.78 1645.56 −545.47 2030.13 3137.42 3453.53
−43.70% 0.56% 44.60% −14.79% 55.03% 85.04% 93.61%
0.1% transaction costs −2957.32 −950.89 965.92 −1316.71 1382.91 2703.36 3442.70
−80.08% −25.75% 26.16% −35.65% 37.45% 73.20% 93.22%
0.2% transaction costs −4302.59 −1922.56 286.27 −2087.96 735.68 2269.29 3431.87
−116.39% −52.01% 7.74% −56.48% 19.90% 61.39% 92.84%
No. of times of buying (or selling) the stock index for Strategy 2 119 87 59 66 55 36
Average no. of times of buying (or selling) the stock index for Strategy 2: 70.33
CAC
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 2613.91 3042.13 4983.10 3781.36 5555.60 4798.99 2990.34
139.63% 162.51% 251.59% 193.48% 296.78% 256.36% 159.74%
0.1% transaction costs 1819.09 2438.94 4575.49 3428.84 5254.17 4563.71 2983.61
97.08% 130.16% 230.78% 175.26% 280.40% 243.55% 159.22%
0.2% transaction costs 1024.26 1835.75 4167.88 3076.31 4952.73 4328.43 2976.87
54.61% 97.87% 210.01% 157.09% 264.05% 230.76% 158.71%
No. of times of buying (or selling) the stock index for Strategy 2 97 71 52 45 40 29
Average no. of times of buying (or selling) the stock index for Strategy 2: 55.67
DAX
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 5213.36 6497.59 8926.15 9965.89 10557.08 10573.23 9220.37
230.61% 278.96% 394.84% 440.83% 466.98% 467.70% 407.86%
0.1% transaction costs 3925.87 5540.76 8189.33 9579.70 10230.19 10333.84 9206.63
173.48% 237.64% 361.89% 423.33% 452.07% 456.65% 406.84%
0.2% transaction costs 2638.37 4583.94 7452.50 9193.51 9903.30 10094.45 9192.89
116.47% 196.41% 329.00% 405.86% 437.19% 445.63% 405.83%
No. of times of buying (or selling) the stock index for Strategy 2 102 73 57 29 26 16
Average no. of times of buying (or selling) the stock index for Strategy 2: 50.50

idea of Strategy 3 is that rather than buying or selling the stock index immediately when µ̂i (n) changes sign as in Hui
and Chan [18]’s strategy, we wait until µ̂i (n) remains at the same sign for three consecutive days. This is an analogue
to Y. C. Chan’s strategy (see Section 5), but we wait for one more day and use larger moving-window sizes for µ̂i (n)
12 E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800

Table 5
Comparison between the profits of Strategy 3 and ‘‘buy-and-hold’’.
ELHK
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 2452.93 2233.87 2090.43 1806.72 1122.76 818.88 1026.23
379.15% 345.29% 323.12% 279.26% 173.54% 126.57% 158.62%
0.1% transaction costs 2287.26 2115.06 2003.24 1727.48 1068.74 739.76 1023.91
353.19% 326.60% 309.33% 266.75% 165.03% 114.23% 158.11%
0.2% transaction costs 2121.59 1996.25 1916.05 1648.24 1014.72 660.65 1021.59
327.28% 307.94% 295.57% 254.26% 156.53% 101.91% 157.59%
No. of times of buying (or selling) the stock index for Strategy 3 61 47 35 31 23 27
Average no. of times of buying (or selling) the stock index for Strategy 3: 37.33
ELJP
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 1060.71 234.63 257.71 1423.18 702.68 847.70 1446.44
71.50% 15.82% 17.37% 95.94% 47.37% 57.14% 97.51%
0.1% transaction costs 756.09 26.21 36.92 1267.98 549.62 710.09 1442.03
50.92% 1.76% 2.49% 85.39% 37.01% 47.82% 97.11%
0.2% transaction costs 451.48 −182.21 −183.87 1112.79 396.56 572.47 1437.61
30.37% −12.26% −12.37% 74.86% 26.68% 38.51% 96.72%
No. of times of buying (or selling) the stock index for Strategy 3 78 55 54 39 44 38
Average no. of times of buying (or selling) the stock index for Strategy 3: 51.33
UNUS
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 1969.93 1413.13 2193.49 1822.50 1369.33 823.02 1988.75
208.04% 149.24% 231.65% 192.47% 144.61% 86.92% 210.03%
0.1% transaction costs 1736.67 1241.80 2058.00 1721.31 1273.62 726.71 1984.87
183.22% 131.01% 217.12% 181.60% 134.37% 76.67% 209.41%
0.2% transaction costs 1503.42 1070.48 1922.52 1620.13 1177.92 630.41 1980.98
158.46% 112.83% 202.63% 170.76% 124.15% 66.44% 208.79%
No. of times of buying (or selling) the stock index for Strategy 3 64 45 37 28 25 23
Average no. of times of buying (or selling) the stock index for Strategy 3: 37.00
ELUK
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 1916.09 1472.41 2532.57 2124.79 1784.58 1607.37 651.51
180.22% 138.49% 230.21% 199.84% 167.85% 151.18% 61.28%
0.1% transaction costs 1697.89 1325.75 2447.23 2049.77 1723.37 1554.87 648.73
159.53% 124.57% 222.23% 192.60% 161.93% 146.10% 60.95%
0.2% transaction costs 1479.69 1179.08 2361.89 1974.76 1662.17 1502.38 645.95
138.89% 110.68% 214.26% 185.36% 156.02% 141.02% 60.63%
No. of times of buying (or selling) the stock index for Strategy 3 73 48 30 28 24 21
Average no. of times of buying (or selling) the stock index for Strategy 3: 37.33
EPFR
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 3612.51 2438.06 2568.64 3000.35 2987.57 2339.16 3273.67
560.00% 377.94% 398.18% 458.39% 463.12% 362.61% 507.47%
0.1% transaction costs 3345.26 2256.88 2370.16 2881.67 2910.99 2195.97 3269.11
518.05% 349.51% 367.05% 439.82% 450.80% 340.07% 506.26%
0.2% transaction costs 3078 2075.69 2171.67 2763 2834.41 2052.78 3264.54
476.19% 321.13% 335.97% 421.29% 438.51% 317.58% 505.05%
No. of times of buying (or selling) the stock index for Strategy 3 62 40 39 27 20 30
Average no. of times of buying (or selling) the stock index for Strategy 3: 36.33
EPGR
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 938.55 1041.84 839.35 1046.22 1088.21 1246.06 115.82
185.02% 123.93% 190.13% 221.04% 227.87% 251.65% 13.98%
0.1% transaction costs 833.97 968.88 775.56 1003.82 1045.05 1215.75 114.05
164.24% 115.13% 175.50% 211.87% 218.61% 245.28% 13.75%
0.2% transaction costs 729.40 895.92 711.77 961.43 1001.89 1185.44 112.27
143.50% 106.36% 160.91% 202.72% 209.37% 238.93% 13.52%
No. of times of buying (or selling) the stock index for Strategy 3 76 53 44 30 31 25
Average no. of times of buying (or selling) the stock index for Strategy 3: 43.17

(continued on next page)


E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800 13

Table 5 (continued).
ELHK
Moving-window size 40 80 120 160 200 240 buy-and-hold
HSI
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 13986.05 9646.21 16247.90 15795.97 11153.21 12779.00 11927.17
138.84% 95.76% 161.30% 156.81% 110.72% 126.86% 118.40%
0.1% transaction costs 11549.88 7863.30 14700.91 14643.43 10092.79 12025.60 11895.10
114.54% 77.98% 145.79% 145.22% 100.09% 119.26% 117.97%
0.2% transaction costs 9113.70 6080.39 13153.92 13490.90 9032.37 11272.20 11863.02
90.29% 60.24% 130.32% 133.66% 89.49% 111.68% 117.53%
No. of times of buying (or selling) the stock index for Strategy 3 72 52 42 32 28 20
Average no. of times of buying (or selling) the stock index for Strategy 3: 41.00
NKY
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 2637.63 4958.61 10670.86 3941.73 3298.70 8067.14 −753.78
13.28% 24.96% 53.71% 19.84% 16.60% 40.60% −3.79%
0.1% transaction costs 536.44 3539.53 9690.66 2867.84 2289.54 7324.87 −792.76
2.70% 17.80% 48.73% 14.42% 11.51% 36.83% −3.99%
0.2% transaction costs −1564.75 2120.44 8710.46 1793.96 1280.38 6582.59 −831.75
−7.86% 10.65% 43.75% 9.01% 6.43% 33.07% −4.18%
No. of times of buying (or selling) the stock index for Strategy 3 77 53 37 40 36 29
Average no. of times of buying (or selling) the stock index for Strategy 3: 45.33
SPX
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 836.18 669.69 1820.81 1413.24 1640.71 1437.46 1622.90
135.76% 108.73% 295.62% 229.45% 266.38% 233.38% 263.49%
0.1% transaction costs 628.08 516.63 1723.73 1336.21 1586.97 1385.12 1620.05
101.87% 83.79% 279.58% 216.72% 257.40% 224.66% 262.76%
0.2% transaction costs 419.99 363.57 1626.65 1259.17 1533.24 1332.78 1617.19
68.05% 58.91% 263.57% 204.03% 248.43% 215.95% 262.04%
No. of times of buying (or selling) the stock index for Strategy 3 78 58 38 28 21 17
Average no. of times of buying (or selling) the stock index for Strategy 3: 40.00
UKX
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs −1052.62 244.43 2154.02 176.2 2542.97 3584.27 3453.53
−28.53% 6.63% 58.39% 4.78% 68.93% 97.15% 93.61%
0.1% transaction costs −2024.65 −385.73 1665.68 −452.94 2064.79 3234.25 3442.70
−54.82% −10.45% 45.10% −12.26% 55.91% 87.58% 93.22%
0.2% transaction costs −2996.67 −1015.90 1177.34 −1082.08 1586.61 2884.23 3431.87
−81.06% −27.48% 31.85% −29.27% 42.92% 78.02% 92.84%
No. of times of buying (or selling) the stock index for Strategy 3 86 57 42 53 40 29
Average no. of times of buying (or selling) the stock index for Strategy 3: 51.17
CAC
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 2529.79 3455.83 5186.11 4108.29 6028.22 5214.36 2990.34
135.14% 184.61% 258.90% 208.89% 322.03% 278.55% 159.74%
0.1% transaction costs 1894.16 3024.09 4878.05 3868.08 5825.78 5040.23 2983.61
101.08% 161.38% 243.28% 196.48% 310.90% 268.98% 159.22%
0.2% transaction costs 1258.52 2592.36 4569.98 3627.87 5623.35 4866.10 2976.87
67.10% 138.21% 227.69% 184.09% 299.80% 259.43% 158.71%
No. of times of buying (or selling) the stock index for Strategy 3 76 51 39 31 26 21
Average no. of times of buying (or selling) the stock index for Strategy 3: 40.67
DAX
Moving-window size 40 80 120 160 200 240 buy-and-hold
No transaction costs 5975.50 5200.88 10393.40 9504.65 10690.87 10283.92 9220.37
264.32% 223.76% 459.74% 420.43% 472.90% 454.90% 407.86%
0.1% transaction costs 5076.26 4461.82 9864.81 9221.78 10468.72 10089.15 9206.63
224.32% 191.77% 435.93% 407.51% 462.61% 445.84% 406.84%
0.2% transaction costs 4177.02 3722.76 9336.22 8938.91 10246.56 9894.38 9192.89
184.40% 159.85% 412.16% 394.62% 452.34% 436.80% 405.83%
No. of times of buying (or selling) the stock index for Strategy 3 69 55 41 21 18 13
Average no. of times of buying (or selling) the stock index for Strategy 3: 36.17
14 E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800

(in contrast to Y. C. Chan’s 19-day moving average). This creates a ‘‘smoothing effect’’ which increases the overall profit,
especially when transaction costs exist. Such a new strategy is very useful in real life situation nowadays where there
is rising volatility due to a growing linkage between international financial markets. Furthermore, given the results (3)
and (4) above, our strategies are more effective on general equity markets, particularly when the moving-window size is
small. Investors should take note of these results if they wish to apply our strategies.
One can use our idea to construct his trading strategies. With the µ̂i (n) sign to change, an investor may wait four or
more consecutive days, if µ̂i (n) remains the same sign. Then, he changes his/her buying/selling position. Supposedly, the
longer µ̂i (n) at the same sign, the greater will the ‘‘smoothing effect’’ be. However, this would cause the strategy to lag
even further behind the actual stock/stock index trend. Possibly, it would reduce the profit and cancel out the ‘‘smoothing
effect’’ (especially when the stock price rises or falls for a number of consecutive days, see the explanation in Section 5).
Therefore, it is another interesting topic to explore in future. What is the optimum number of consecutive days over which
µ̂i (n) remains the same sign, then the investor changes his buying/selling position (i.e. the number of days that yield the
maximum profit).

Acknowledgements

We are grateful for the financial support from the PolyU, Hong Kong Internal Research Grants (Project # G-UA6V and
1-ZEAN) and PPR Funding, Hong Kong (Project # K-QZ1 W).

References

[1] Wikipedia, Buy and hold, 2018, https://en.wikipedia.org/wiki/Buy_and_hold, (Accessed 31 August 2018).
[2] B.G. Malkiel, E.F. Fama, Efficient capital markets: a review of theory and empirical work, J. Finance 25 (2) (1970) 383–417.
[3] B.G. Malkiel, The efficient market hypothesis and its critics, J. Econ. Perspect. 17 (1) (2003) 59–82.
[4] B.G. Malkiel, Reflections on the efficient market hypothesis: 30 years later, Financ. Rev. 40 (1) (2005) 1–9.
[5] B.M. Barber, T. Odean, Trading is hazardous to your wealth: The common stock investment performance of individual investors, J. Finance 55
(2) (2000) 773–806.
[6] A. Walks, CaNada’s housing bubble story: Mortgage securitization, the state, and the global financial crisis, Int. J. Urban Regional Res. 38 (1)
(2014) 256–284.
[7] D. Wójcik, The dark side of NY–LON: Financial centres and the global financial crisis, Urban Stud. 50 (13) (2013) 2736–2752.
[8] K.F. Gotham, Creating liquidity out of spatial fixity: The secondary circuit of capital and the subprime mortgage crisis, Int. J. Urban Regional
Res. 33 (2) (2009) 355–371.
[9] K.H. Kim, B. Renaud, The global house price boom and its unwinding: an analysis and a commentary, Housing Studies 24 (1) (2009) 7–24.
[10] S. Chatterjee, B. Eyigungor, A quantitative analysis of the US housing and mortgage markets and the foreclosure crisis, Rev. Econ. Dyn. 18 (2)
(2015) 165–184.
[11] E.C.M. Hui, S.C.P. Yam, J. Wright, K.K.K. Chan, Shall we buy and hold? evidence from asian real estate markets, J. Property Invest. Finance 32
(2) (2014) 168–186.
[12] E.C.M. Hui, J. Chen, Investigating the change of causality in emerging property markets during the financial tsunami, Physica A 391 (15) (2012)
3951–3962.
[13] D. Kenourgios, D. Dimitriou, Contagion of the global financial crisis and the real economy: A regional analysis, Econ. Model. 44 (2015) 283–293.
[14] M. Dungey, E. Renault, Identifying contagion, J. Appl. Econometrics 33 (2) (2018) 227–250.
[15] A.N. Shiryaev, Z.Q. Xu, X.Y. Zhou, Thou shalt buy and hold, Quant. Finance 8 (8) (2008) 765–776.
[16] E.C.M. Hui, S.C.P. Yam, Can we beat the buy-and-hold strategy? Analysis on European and American securitized real estate indices, Int. J. Strateg.
Property Manage. 18 (1) (2014) 28–37.
[17] E.C.M. Hui, K.K.K. Chan, Can we still beat buy-and-hold for individual stocks? Physica A 410 (2014) 513–534.
[18] E.C.M. Hui, K.K.K. Chan, A new time-dependent trading strategy for securitized real estate and equity indices, Int. J. Strateg. Property Manage.
(2017) 1–16.
[19] E.C.M. Hui, K.K.K. Chan, Optimal trading strategy during bull and bear markets for Hong Kong-listed stocks, Int. J. Strateg. Property Manage.
22 (5) (2018) 381–402.
[20] Quamnet, 2017, http://www.quamnet.com/newscolumnistcontent.action?articleId=3552134, (Accessed 1 December 2017).
[21] H.M. Markowitz, Portfolio selection, J. Finance 7 (1) (1952) 77–91.
[22] P.A. Samuelson, Lifetime portfolio selection by dynamic stochastic programming, Rev. Econ. Stat. 51 (1969) 239–246.
[23] R.C. Merton, Optimum consumption and portfolio rules in a continuous-time model, J. Econom. Theory 3 (1971) 373–413.
[24] H.R. Richardson, A minimum variance result in continuous trading portfolio optimization, Manage. Sci. 35 (1989) 1045–1055.
[25] B.N. Lehmann, Fads, martingales, and market efficiency, Q. J. Econ. 105 (1) (1990) 1–28.
[26] J. Conrad, M.N. Gultekin, G. Kaul, Profitability of short-term contrarian strategies: Implications for market efficiency, J. Bus. Econom. Statist. 15
(3) (1997) 379–386.
[27] S. Liehr, K. Pawelzik, A trading strategy with variable investment from minimizing risk to profit ratio, Physica A 287 (3) (2000) 524–538.
[28] P. Bao, Z. Yang, Intelligent stock trading system by turning point confirming and probabilistic reasoning, Expert Syst. Appl. 34 (2008) 620–627.
[29] P. Cheng, Z. Lin, Y. Liu, Illiquidity, transaction cost, and optimal holding period for real estate: theory and application, J. Housing Econ. 19 (2)
(2010) 109–118.
[30] M. Mori, A.J. Ziobrowski, Performance of pairs trading strategy in the US REIT market, Real Estate Econ. 39 (3) (2011) 409–428.
[31] J.G. Gallo, L.J. Lockwood, Y. Zhang, Structuring global property portfolios: a cointegration approach, J. Real Estate Res. 35 (1) (2013) 53–82.
[32] E.C.M. Hui, J.A. Wright, S.C.P. Yam, Calendar effects and real estate securities, J. Real Estate Finance Econ. 49 (1) (2014) 91–115.
[33] A. Cartea, S. Jaimungal, J. Ricci, Buy low, sell high: A high frequency trading perspective, SIAM J. Financial Math. 5 (1) (2014) 415–444.
[34] M. Herdegen, S. Herrmann, Strict local martingales and optimal investment in a Black–Scholes model with a bubble, Math. Finance 29 (1)
(2019) 285–328.
[35] C. Deremble, P. Seager, M. Potters, J.P. Bouchaud, Two centuries of trend following, 2014. arXiv. org.
[36] J. Du Toit, G. Peskir, Selling a stock at the ultimate maximum, Ann. Appl. Probab. 19 (2008) 983–1014.
[37] S.C.P. Yam, S.P. Yung, W. Zhou, Two rationales behind the buy-and-hold or sell-at-once strategy, J. Appl. Probab. 46 (2009) 651–668.
E.C.M. Hui and K.K.K. Chan / Physica A 534 (2019) 120800 15

[38] S.C.P. Yam, S.P. Yung, W. Zhou, A unified ‘bang–bang’ principle with respect to R-invariant performance benchmarks, Theory Probab. Appl. 57
(2) (2012) 405–414.
[39] S.C.P. Yam, S.P. Yung, W. Zhou, Optimal selling time in stock market over a finite time horizon, Acta Math. Appl. Sin. 28 (3) (2012) 557–570.
[40] W.K. Wong, J.A. Wright, S.C.P. Yam, S.P. Yung, A mixed sharpe ratio, Risk Decision Anal. 3 (2012) 37–65.
[41] E.C.M. Hui, S.C.P. Yam, S.W. Chen, Shiryaev-Zhou Index – a noble approach to benchmarking and analysis of real estate stocks, Int. J. Strateg.
Property Manage. 16 (2) (2012) 158–172.

You might also like