Professional Documents
Culture Documents
Abstract— Crptocurrency is a digital or virtual currency Abu Bakar et al. (2017) explains the process of bitcoin
that uses cryptography for security, transfer process and cryptocurrency transaction procedure was started with the
storage in ledger. This paper is to validate the correlation User A transfer digital currency to User B. The
between exchange rate changes and trading volume transaction needs to go through the blockchain path. A
changes. Data selected for this study is hourly data blockchain is an open, distributed ledger that
starting from 4 November 2017 until 7 November 2017. can record transactions between two parties efficiently
Methodology implemented in this study started with and in a verifiable and permanent way (Reid and
normality diagnostics and followed by correlation Harrigan, 2013). A transaction is a transfer of bitcoin
diagnostic. In this study, Pearson correlation calculation value that is broadcast to the network and collected into
is implemented to evaluate the association between two blocks. A transaction typically references previous
variables namely exchange rate and trading volume. transaction outputs as new transaction inputs and
Pearson's correlation coefficient (r) is a measure of the dedicates all input bitcoin values to new outputs (Miers,
strength of the association between the two variables. et al., 2013). Ledger is open to all users in the networks,
Result shows the coefficient of association is 0.123. and all users refer to one public ledger of transaction
Therefore, this study proved that the association between chain (Moore and Christin, 2013).
exchange rate changes and trading volume changes is Cryptocurrency make it easier to transfer funds between
very weak association. This value occurred because there two parties in a transaction; these transfers are facilitated
is high volatility in hourly data and existence of outliers. using public and private keys for security purposes. These
The significant of this finding will help investors to fund transfers are done with minimal processing fees,
recognize the relationship between trading volume and allowing users to avoid the steep fees charged by most
exchange rate. Therefore, it will help investors to make banks and financial institutions for wire transfers.
better decision in developing investment portfolio. Cryptocurrency defines an electronic coin as a chain of
Keywords— Bitcoin, Volatility, Correlation, Exchange digital signatures (Okamoto, 1995). Each owner transfers
rate, Trading volume. the coin to the next by digitally signing a hash of the
previous transaction and the public key of the next owner
I. INTRODUCTION and adding these to the end of the coin. A payee can
Bitcoin cryptocurrency is defined as a digital currency in verify the signatures to verify the chain of ownership.
which encryption techniques are used to regulate the Bitcoin miners help keep the Bitcoin network secure by
generation of units of currency. Bitcoin cryptocurrency approving transactions (Kroll et al., 2013). Mining is an
involve with a complex process with the bitcoin important and integral part of Bitcoin that ensures fairness
cryptocurrency in which encryption techniques are used while keeping the Bitcoin network stable, safe and secure
to regulate the generation of units of currency. Then the (Ron and Shamir, 2013).
system will verify the transfer of funds, operating Innovation in cryptocurrency was increasing popularity
independently from central bank. It is, however, not and the Bitcoin are expected to be a medium of exchange
subject to regulation by central banks, does not enjoy the between the buyer and seller. Therefore, this study was
backing of goods or services with intrinsic value (Rees, performed to investigate the bitcoin transaction.
2014). Specifically, this study will validate the correlation
T 1
mV
a1 , a2 , a3 ,..., an Y2 E Y 2 E Y
2
m V V m
T 1 1 1/ 2
m m1 , m2 , m3 ,..., mn
T
Y E Y 2 E Y
2
Element in Equation (8) is represented as:
m1 , m2 , m3 ,..., mn are the expected values of the order Covariance of population is expressed as next equation,
statistics of independent and identically distributed E X X Y Y
random variables sampled from the standard normal
distribution E X E X Y E Y
3.4 Pearson correlation diagnostics E XY X E Y Y E X E X E Y
The Pearson product-moment correlation coefficientis a
measure of the strength of a linear association between E XY E X E Y E X E Y E X E Y
two variables and is denoted by r. The Pearson product- E XY E X E Y
moment correlation develops a line of best fit through the Therefore, Equation (14) can be represented as:
data of two variables. Then, the Pearson correlation E XY E X E Y
coefficient, r, indicates how well the data points fit this X ,Y
E X E X E Y 2 E Y
2 2 2
modeling line.
Consider the Pearson product-moment correlation Then, the equation for sample is derived. Sample
coefficient of two n-dimensional vectors X ={X1, Pearson's correlation coefficient is commonly represented
X2,...,Xn} and Y = {Y1,Y2,...,Yn}. Pearson correlation is by the letter r. Consider the sample of dataset x =
states as the ratio between the covariance of X and Y and {x1,...,xn} containing n values and another dataset y =
the product of their standard deviations. Pearson's {y1,...,yn} containing n values then that formula for r is:
correlation coefficient when applied to a population is cov( x, y )
commonly represented by below equation: rx , y
sx s y
n 1
n
x x y
i i y
1 n
xi yi xi y xyi x y
sample cov x, y i 1 n 1 i 1
n 1
1 n n n n
Therefore, Equation (16) can be written as:
n 1 i 1
xi yi xi y yi x x
i 1 i 1 i 1
y
Then, mathematical equation for r can be expressed in
1 n
terms of uncentered moments. Mean of sample,
n n
xi yi nx y ny x nx
n 1 i 1
y
x i y i
1 n
x i 1
n ,
y
n
i 1 xi yi 2nx y nx
n 1 i 1
y
1 n
xi yi nx
Variance of sample,
y
n 1 i 1
[ xi ]2 2 xi x x 2
1 n 1 n
sx2 xi x
2
n 1 i 1 n 1 i 1 n n
1 n xi yi
1 n
xi yi n i 1n
n 1 i 1
i 1
n
xi nx x
2
n 1 i 1
2
n
n
n
xi
1 n n yi
1
i i 1n
x
2
n xi yi
n 1 i 1
xi i 1
n
n 1 i 1 i 1
1 n n n
n
2
n xi yi xi yi
n xi
n n 1 i 1 i 1 i 1
xi n
1 i 1
2
n 1 i 1
Therefore, Equation (18) can be represented as:
n n n
n n xi yi xi yi
n
2
1 i 1
n xi xi
i 1 i 1
2
rx , y
n n 1 i 1 i 1 n n
2
n n
2
n xi xi n yi yi
2 2
1 n i 1 i 1 i 1 i 1
s y2 yi y
2
n 1 i 1
1 n n
2
n yi yi
IV. RESULT AND DISCUSSIONS
2
n xi xi
volume.
sx
2
Frequency
7700 15
Exchange rate
7600
Exchange rate (USD / Bitcoin)
10
7500
7400 5
7300 0
-2 -1 0 1 2
7200
Changes of exchange rate (%)
7100
Fig. 3: Histogram of exchange rate changes
7000 Normal Probability Plot of Exchange Rate Changes (%)
mean = -0.0301 standard deviation = 0.79764
6900
0 24 48 72 96 Percentiles
4 Nov. 5 Nov. 6 Nov. 7 Nov. Reference Line
99.5
2017 2017 2017 2017
Observation period (hour) 95
Normal Percentiles
Fig. 1: Dynamic behavior of exchange rate (USD/Bitcoin) 70
3 40
Percentage of changes for exchange rate
1
1
0.01
0 -3 -2 -1 0 1 2 3
Changes of exchange rate (%)
-1
Fig. 4: Normal probability plot of exchange rate changes
-2 Table 1: Normality test using Shapiro-Wilk
Shapiro-Wilk test
-3
0 4 Nov. 24
5 Nov.
48 6 Nov. 72 7 Nov.
96 Statistics Degree of Probability
2017 2017 2017 2017 freedom value
Observation period (hour)
Exchange
Fig. 2: Percentage of changes for exchange rate 0.988 96 0.567
rate changes
The maximum value is 2.3168 on 4 November 2017, 3.2 Normality characteristics of trading volume data
10:00. Mean of the data distribution is -0.0301 and This section describes the normality checking for trading
standard deviation is 0.79764. volume data. Data selected in this study involving data of
Next, this study validates the normality characteristics trading volume starting from 4 November 2017, 0:00
finding using histogram, normal probability plot and until 7 November 2017, 24:00. The minimum value of
statistical test. Figure 3 shows the histogram of exchange trading volume is 1.860x109 USD on 5 November 2017,
rate changes. The distribution of exchange rate changes 18:00. Meanwhile, the maximum value of trading volume
follows the normal distribution line. Figure 4 is normal is 2.998 x109 USD on 4 November 2017, 10:00.
probability plot of exchange rate changes in percentages. Then, this study calculated the percentage of changes in
Data distribution is near to normal distribution line. the trading volume. Figure 6 shows the percentage of
Therefore, the data distribution is follow normal trading volume changes. The analysis shows the
distribution. maximum value is 9.8619 on 6 November 2017, 13:00.
Then, this study validated the normality using Shapiro- Meanwhile, the minimum value is -6.4298 on 4
Wilk normality test. Table 1 shows the Shapiro-Wilk November 2017, 17:00. Mean of the data distribution for
normality statistical test. The p-value is 0.567. Therefore, changes of trading volume is -0.38392. In addition, the
the data distribution is follow normal distribution. standard deviation of data distribution for trading volume
changes is 2.82637.
9 30
Trading volume (USD)
2.8x10
9 25
Frequency
2.6x10
9 20
2.4x10
9
15
2.2x10
10
9
2.0x10
5
9
1.8x10
0
1.6x10
9 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12
0 24 48 72 96 Changes of trading volume (%)
4 Nov. 5 Nov. 6 Nov. 7 Nov.
2017 2017 2017 2017 Fig. 7: Histogram of trading volume changes
Observation period (hour) Normal Probability Plot of Trading Volume Changes (%)
mean = -0.38392 standard deviation = 2.82637
Fig. 5: Dynamic behavior of total trading volume (USD)
Percentiles
Reference Line
99.5
12
Percentage of changes for trading volume
95
Normal Percentiles
Trading volume changes
10
70
8 40
6 10
4 1
2
0.01
0 -10 -5 0 5 10
Trading volume changes (%)
-2
-4 Fig. 8: Normal percentiles for trading volume changes
-6 Table 2: Normality test using Shapiro-Wilk
-8 Shapiro-Wilk test
0 24 48 6 Nov.
72 7 Nov. 96 Statistics Degree of Probability
4 Nov. 5 Nov.
2017 2017 2017 2017
freedom value
Observation period (hour)
Trading
Fig. 6: Percentage of changes in trading volume volume 0.959 96 0.004
Next, this study performed normality test diagnostics to changes
evaluate the data distribution of changes for trading
3.3 Correlation diagnostics of exchange rate changes
volume data. This study implemented graphical approach
with trading volume changes
and numerical statistical test approach to validate the
This section describes the correlation analysis between
normality of data distribution.
exchange rate changes with trading volume changes.
Figure 7 shows the histogram for trading volume changes
Analysis that implemented in this section is using Pearson
in percentage. The distribution is near to normal line. correlation method.
However, there are outliers in right side of normal First, this study validated the correlation using graphical
distribution. Figure 8 shows the normal percentiles plot
method namely scatter plot between two variables. Figure
for trading volume changes. The distribution of data is
9 shows the scatterplot graph between trading volume
near to reference line. Figure 8 indicates the present of
changes and exchange rate changes.
outliers. Next, this study validates the association between trading
Table 2 shows the numerical prove of normality statistical volume changes and exchange rate changes using Pearson
test using Shapiro-Wilk approach. Probability value is
correlation analysis. Table 2 shows the Pearson
0.004. Therefore, data distribution is deviate from normal
correlation diagnostics. Result shows the Pearson
distribution. The presence of the outliers contributes to
correlation is 0.123 that indicates very weak positive
the non-normal distribution of data. correlation. Significant value is larger than 0.05, this
concludes there is no significant correlation between
trading volume changes and exchange rate changes.
Number of REFERENCES
96
observations (N) [1] Abu Bakar, N. and Rosbi, S. (2017), Autoregressive
Integrated Moving Average (ARIMA) Model for
Forecasting Cryptocurrency Exchange Rate in High
V. CONCLUSION
Volatility Environment: A New Insight of Bitcoin
This objective of this study is to develop robust Pearson
Transaction, International Journal of Advanced
correlation diagnostics between trading volume changes
Engineering Research and Science, Vol. 4 (11), pp.
and exchange rate changes. Data selected in this study are
130-137
collected hourly starting from 4 November 2017, 0:00
[2] Abu Bakar, N. and Rosbi, S. (2017), High Volatility
until 7 November 2017, 24:00.Main findings of this study
Detection Method Using Statistical Process Control
are described as below.
for Cryptocurrency Exchange Rate: A Case Study of
(a) In this study , two variables of data is collected
Bitcoin, The International Journal of Engineering
namely exchange rate (USD/Bitcoin) and total
and Science, Vol. 6 (11), pp. 39-48
trading volume (USD).Both of the variables are
[3] Abu Bakar, N., Rosbi, S. and Uzaki, K. (2017),
collected in hourly starting from 4 November 2017,
Cryptocurrency Framework Diagnostics from Islamic
0:00 until 7 November, 24:00.
Finance Perspective: A New Insight of Bitcoin
(b) This study calculated the percentages of exchange
System Transaction, International Journal of
rate changes with respect to previous observation
Management Science and Business Administration,
period. The maximum value is 2.3168 on 4
Vol. 4(1), pp. 19-28
November 2017, 10:00. Mean of the data distribution
[4] Christopher, C.M. (2014), Whack-a-mole: why
is -0.0301 and standard deviation is 0.79764.
prosecuting digital currency exchanges won’t stop
(c) This study validated the normality of exchange rate
online laundering, Lewis and Clark Law Review,
changes using Shapiro-Wilk normality test. Shapiro-
Vol. 1(1).
Wilk normality statistical test shows the p-value is
[5] Rees, M. (2014), Bitcoin to earth: don’t look now,
0.567. Therefore, the data distribution is follow
but your paradigm is shifting”, Bitcoin Magazine,
normal distribution.
available at: