
the spread, there exist many suggestions in the literature. The optimal threshold is defined
as the one that maximizes the overall profit. For a discussion we refer to Song and Zhang
(2013), Ngo and Pham (2016), and Liu et al. (2020), for instance. In general, the trading
strategy for in-sample evaluation works as follows:
Long the spread if spreadi
t≤µ−τfor i∈ {EG, J1, J2, . . .}
Unwind a long position at the first date when spreadi
t≥µfor i∈ {EG, J1, J2, . . .}
Short the spread if spreadi
t≥µ+τfor i∈ {EG, J1, J2, . . .}
Unwind a short position at the first date when spreadi
t≤µfor i∈ {EG, J1, J2, . . .}
If there is any open position until the end, the position is closed at the last trading
day.
Note that µis the mean of the spread and τthe threshold. ‘Long the spread’ has the
same meaning as buying one unit of the spread, which requires purchasing every cryptocur-
rency with a positive sign and short selling the cryptocurrencies with a negative sign as
indicated by the corresponding cointegrating vector. To unwind a long position, it is nec-
essary to sell the cryptocurrencies with a positive sign and buy back all cryptocurrencies
with a negative sign. ‘Short the spread’ just means short selling one unit of the spread
where one needs to short sell the cryptocurrencies with a positive sign and buy the cryp-
tocurrencies with a negative sign. Unwinding a short position requires buying back the
short cryptocurrency with a positive sign and selling the cryptocurrencies with a negative
sign. It should be noted that short selling only happens if one long or short the spread, as
defined before, but not when the position is closed since the cryptocurrencies are already in
the inventory. Furthermore, in this paper we use two different thresholds for the in-sample
trading strategy, i.e. τ∈ {σ, τ∗}, where σdenotes the standard deviation of the spread
and τ∗the optimal threshold based on a parametric approach. Generally, the total profit
is simply the number of trades times the profit of each trade. The number of trades can
be estimated if the distribution of spreadi
tfor i∈ {EG, J1, J2, . . .}is known. For the case
of spreadEG
tthis may often be approximately normal. Nevertheless, the distribution of
14