<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Cryptocurrencies short-term forecast: application of ARIMA, GARCH and SVR models</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Dovilė Kuizinienė</string-name>
          <email>dovile.kuiziniene@vdu.lt</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Aušra Varoneckienė</string-name>
          <email>ausra.varoneckiene@vdu.lt</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tomas Krilavičius</string-name>
          <email>tomas.krilavicius@vdu.lt</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Applied Informatics, Vytautas Magnus University</institution>
          ,
          <addr-line>Kaunas</addr-line>
          ,
          <country country="LT">Lithuania</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Applied Informatics, Vytautas Magnus University</institution>
          ,
          <addr-line>Kaunas</addr-line>
          ,
          <country country="LT">Lithuania</country>
          ,
          <institution>Baltic Institute of Advanced</institution>
          ,
          <addr-line>Technology</addr-line>
        </aff>
      </contrib-group>
      <fpage>70</fpage>
      <lpage>73</lpage>
      <abstract>
        <p>- Cryptocurrency are difficult to forecast due to it's globality and availability to everyone and every time. There is no Friday or Holidays effect, seasonality, market news and other aspects, which influence the course direction. It is the phenomena of the market and it is useful to spread forecast methods research to find out the best fitting model for this phenomenon. In this paper is presented short-term forecast of five different cryptocurrencies (Bitcoin, BitcoinCash, Ethereum, Litecoin, Ripple). Forecast methods split in two groups: 1) real value (ARIMA and SVR models) 2) volatility (GARCH and SVR models). The model's suitability is evaluated by RMSE and MAE. The best results for real value forecast were achieved using ARIMA, for volatility forecast - SVR. In further research it would be useful to analyze methods variety of Artificial Neural Networks and others connected models' modifications.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Keywords —
GARCH, SVR.</p>
      <p>Cryptocurrency, Bitcoin, forecast, ARIMA,</p>
    </sec>
    <sec id="sec-2">
      <title>I. INTRODUCTION</title>
      <p>
        Around a ago decade cryptocurrency was presented as a
new phenomenon on global financial markets. By providing
an alternative money and investment opportunity, they
function outside centralized financial institutions [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The
basic idea of cryptocurrency sustains of electronic payment
system based on cryptographic proof instead of trusted third
party [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Distributed or decentralized cryptocurrency system
allows its users transfers make faster, cheaper and secure,
without any intermediate. Scientists are interested in this new
cryptocurrency phenomena as well. Holub &amp; Johnsonkuri
(2018) analyzed 13.5 thousand research papers from 20
different databases (EBSCOhost, Elsevier, JSTOR, SSRN
and other) on Bitcoin and other cryptocurrency topics. This
fast-growing topic is across many disciplines: technical fields
(29.9%), economics (24.9%), regulation (17.1%), finance
(8.3%) and others [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Miau &amp; Yang (2017) estimated that
the number of literatures on Blockchain, Bitcoin and other
cryptocurrencies topics is still increasing over the year in
different disciplines [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Looking from financial perspective,
cryptocurrency literature review can be split in to several
main themes: factors valuation, analysis on returns,
forecasting, market speculation, market efficiency. It is
complicated to make forecast models for cryptocurrencies.
Cryptocurrencies are traded all over the world, 24 hours a
day, in more than 200 market places. Comparing the same
cryptocurrency at the same time in different market places,
the price may vary by a few or even several tens of dollars.
The main aim of this paper is to compere different forecast
models for short-run cryptocurrency: Bitcoin (BTC),
Bitcoin© 2019 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0)
Cash (BCH), Ethereum (ECH), Litecoin (LTC), Ripple
(XRP).
      </p>
    </sec>
    <sec id="sec-3">
      <title>II. LITERATURE REVIEW</title>
      <p>
        Forecast technics are being developed and applied in
order to make better decisions. In this article we discuss time
series forecast whose observations depends on the time. We
offer to split Time series forecast models in three deferent
groups, from each group shortly presented one model used in
further research:
1. Classic forecast methods (moving average (MA),
autoregressive models (AR), autoregressive moving
average (ARMA), autoregressive integrated moving
average (ARIMA) and others). These methods can be
split in data-driven forecasting methods (averaging or
smoothing), where there is no difference between a
predictor and a target, and sophisticated model-driven
forecasting methods (ARIMA) [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. An ARIMA(p, d,
q) is a model in which the time series has been
differenced d times, and the resulting values are
predicted from the previous p actual values and q
previous errors [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. The p, d, q values identifies ACF
and PACF plots.
      </p>
      <sec id="sec-3-1">
        <title>2. Volatility forecast methods (autoregressive</title>
        <p>
          conditional heteroskedasticity (ARCH), generalized
autoregressive conditional heteroskedasticity
(GARCH) and others). These methods are different
from classic because it fits for non-stationary time
series, where mean and variance changes over time.
GARCH statistical model which includes not only the
variation of error, but also the variance itself. It’s
ARMA variation of the model for the variance
variable.
3. Advanced forecast methods (Support Vector
Machines for Regression (SVR), Artificial Neural
Networks (ANNs)). These artificial intelligence
methods are easier to use, do not include assumption
constraints such as linearity, normal distribution and a
specific observation number and produce more
accurate forecasts [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. The main idea behind SVR is
to minimize error in hyperplane, knowing error
tolerance rate and by using support vectors. Forecast
results depend on the proper selection of the
hyperparameters (kernel, degree of deviations (C) and
support vector used (ε)) [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. Thera are many different
flavours of ANNs, and there are very interesting, but
in this stage we investigate only very basic models,
like in [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. However we plan to investigate
performance of ANNs in future.
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>III. DATA AND RESEARCH METODOLOGY</title>
      <p>We have chosen five cryptocurrencies with highest trading
volume: Bitcoin (BTC),</p>
      <p>
        Bitcoin-Cash (BCH), Ethereum
(ECH), Litecoin (LTC), Ripple (XRP), for period from 1st of
June to 30th of September 2018. Period was selected due to
availability download data from coindesk website [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. The
periods of cryptocurrency and dollar course is 5 minutes;
hence we have 35136 different values for one cryptocurrency.
During the period 68 records of data were missing (excluding
Bitcoin), for 5 – 10 min. period. The missing values were
replaced by the previous one. Table 1 and fig. 1 shows
cryptocurrencies rate statistics of the period.
normalization is used to compere data results between
different cryptocurrencies, as in:
 
=
x
x −x
−x
where xnew – new value, xi – real value, xmin – minimum value
of x sample, xmax – maximum value of x sample.
      </p>
      <p>
        GARCH and SVR methods were used for the second
forecast group. Variable of interest is counted, as in:
  =   −  −1
  −1
where y – interest, t – time, x – real value [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ].
coefficients, as in:
      </p>
      <p>Research results are evaluated by RMSE and MAE
(1)
(2)</p>
      <p>1 
= √ ∑</p>
      <p>
        =1(  −   )2
= 1 ∑
  =1 |  −   |
(3)
(4)
where ft – forecast expected value, at – real value [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
These measures of error were chosen due to possibility to
compare results with other authors research. RMSE and MAE
coefficients are calculated for test sample and 3 forecast
samples: 1 step forward, 1 hour forward (12 steps) and 1 day
forward (288 steps).
      </p>
      <sec id="sec-4-1">
        <title>Limitations:</title>
        <p>The basic version of model is analyzed. The chosen
models’ coefficients are used to all cryptocurrencies the same.
Only in GARCH
model ARFIMA
hypothesis for
highfrequency
components
coefficients vary
for different
cryptocurrencies.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>IV. RESULTS</title>
      <sec id="sec-5-1">
        <title>A. Real value forecast (ARIMA and SVR)</title>
        <p>
          ARIMA. Assumption of stationarity can be evaluated
with visual inspection by autocorrelation function (ACF) and
partial autocorrelation (PACF) plots [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] and by using
        </p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Augmented</title>
    </sec>
    <sec id="sec-7">
      <title>Dickey-Fuller (ADF) test [6].</title>
    </sec>
    <sec id="sec-8">
      <title>We rejected</title>
      <p>
        hypothesis of stationarity, because of trend in fig. 1 and ADF
test results (p-value &gt;0.5 (from all cryptocurrencies)). So,
differencing order is equal 1. The parameters of p (stands of
AR model) and q (stands of MA model) depends ACF and
PACF plots. ACF and PACF plots are the same for ARIMA
models: 110, 011 or 111. These models were checked by
Akaike Information Criteria (AIC) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] and the best results
showed, that the best model for most cryptocurrencies –
ARIMA(1,1,1). The ARIMA and SVR results are presented in
out the best ARFIMA model by AIC and BIC criteria’s results
and Ljung-Box test confirmation (table 2). The ARFIMA
model is compound GARCH method part for mean model
calculations.
      </p>
      <p>SVR. Due to limited speed resources was used the same
basic linear regression based SVR model (kernel = 2, C = 3
and ε=0.1). SVR model on Bitcoin volatility presented in fig.
3. The GARCH and SVR forecast results are presented in
table 4.</p>
      <sec id="sec-8-1">
        <title>B. Volatility foracast (GARCH and SVR)</title>
        <p>GARCH. In research is used GARCH (1,1) model, also
known as basic GARCH. For each cryptocurrency we found</p>
        <p>SVR
GARCH</p>
        <p>SVR</p>
        <p>BTC
0.008
1.764
0.008
0.955</p>
      </sec>
    </sec>
    <sec id="sec-9">
      <title>V. CONCLUSIONS</title>
      <p>Globalization and market availability let us to trade in
cryptocurrencies every day at any time. Cryptocurrencies is
difficult to forecast due to complexity of the involved
parties, low regulation and other reasons. The main aim of
this research was to try different forecast models and find
out one, most suitable for cryptocurrency. Five
cryptocurrencies (BTC, BCH, ECH, LTC, XRP) were
selected due to their market capitalization and spread
availability to buy or sell in different market places. These
cryptocurrencies were analyzed for period from the 1st of
June to the 30th of September 2018. The strategy was to
start from the simple models. Analyses was performed on
(1) real values (ARIMA and SVR) and (2) volatility
(GARCH and SVR). Performance was evaluated using
RMSE and MAE for test sample and 3 forecast samples: 1
step forward, 1 hour forward (12 steps) and 1 day forward
(288 steps).</p>
      <p>The main results are:
1) The best results in real value forecast were achieved
using ARIMA for ETH.</p>
      <p>2) The best results for volatility forecast were achieved
using SVR for BTC.</p>
      <p>
        3) If we compare this analysis with Peng and others
(2017) research, this analysis GARCH (1,1) results are
better due to the intensity of the data (5 minutes not 1 day)
and test sample length (1 day not 1 months). But Peng and
others analyzed 9 different GARCH methods and the best
results received by combined the traditional GARCH
model with Support Vector Regression (SVR-GARCH)
[
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
      </p>
      <p>In future research we are planning to investigate
performance of SVR-Garch, and different ANN (especially
Deep Learning, e.g. LSTM) models.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>P.</given-names>
            <surname>Ciaian</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Rajcaniova and d</article-title>
          . Kancs,
          <article-title>"Virtual relationships: Short- and long-run evidence from BitCoin and altcoin markets,"</article-title>
          <source>Journal of International Financial Markets Institutions and Money</source>
          ,, vol.
          <volume>52</volume>
          (C), p.
          <fpage>173</fpage>
          -
          <lpage>195</lpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>S.</given-names>
            <surname>Nakamoto</surname>
          </string-name>
          ,
          <article-title>"Bitcoin: A Peer-to-Peer Electronic Cash System,"</article-title>
          <year>2008</year>
          . [Online].
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M. J. J.</given-names>
            <surname>Holub</surname>
          </string-name>
          ,
          <article-title>"Bitcoin research across disciplines,"</article-title>
          <source>Information Society</source>
          , Vols.
          <volume>34</volume>
          :
          <issue>2</issue>
          ,
          <issue>1</issue>
          , pp.
          <fpage>14</fpage>
          -
          <lpage>126</lpage>
          ,,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>S. Y. J.</given-names>
            <surname>Miau</surname>
          </string-name>
          ,
          <article-title>"Bibliometrics-based evaluation of the Blockchain research</article-title>
          trend: 2008 - March
          <year>2017</year>
          .,
          <article-title>"</article-title>
          <source>Technology Analysis &amp; Strategic Management</source>
          , vol.
          <volume>30</volume>
          :
          <issue>9</issue>
          , pp.
          <fpage>1029</fpage>
          -
          <lpage>1045</lpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>V.</given-names>
            <surname>Katu</surname>
          </string-name>
          and
          <string-name>
            <given-names>B.</given-names>
            <surname>Deshpande</surname>
          </string-name>
          , "Chapter 10 - Time Series Forecasting,
          <article-title>" in Predictive Analytics and Data Mining, Elsevier Inc</article-title>
          . ,
          <year>2015</year>
          , pp.
          <fpage>305</fpage>
          -
          <lpage>327</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J.</given-names>
            <surname>Mount</surname>
          </string-name>
          and
          <string-name>
            <given-names>N.</given-names>
            <surname>Zumel</surname>
          </string-name>
          ,
          <source>Exploring Data Science, Manning Publications</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>A. C.H.</surname>
          </string-name>
          and
          <string-name>
            <given-names>E.</given-names>
            <surname>Eǧrioǧlu</surname>
          </string-name>
          , Advanced Time Series Forecasting Methods,
          <source>ProQuest Ebook Central</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>B.</given-names>
            <surname>Ojemakinde</surname>
          </string-name>
          ,
          <article-title>"Support Vector Regression for NonStationary Time Series,"</article-title>
          <source>Master's Thesis</source>
          , University of Tennessee,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>N.</given-names>
            <surname>Ahmed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Atiya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. E.</given-names>
            <surname>Gayar</surname>
          </string-name>
          and
          <string-name>
            <given-names>H.</given-names>
            <surname>El-Shishiny</surname>
          </string-name>
          ,
          <article-title>"AN EMPIRICAL COMPARISON OF MACHINE LEARNING,"</article-title>
          <source>Econometric Reviews</source>
          , vol.
          <volume>29</volume>
          , no.
          <fpage>0747</fpage>
          -
          <lpage>4938</lpage>
          , p.
          <volume>29</volume>
          (
          <issue>5-6</issue>
          ):
          <fpage>594</fpage>
          -
          <lpage>621</lpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>coindesk</surname>
          </string-name>
          ,
          <year>2018</year>
          . [Online]. Available: https://www.coindesk.com/.
          <source>[Accessed 30 09</source>
          <year>2018</year>
          ].
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <article-title>"ARCH/GARCH Models,"</article-title>
          <source>The Pennsylvania</source>
          State University,
          <year>2018</year>
          . [Online].
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>N. R.</surname>
          </string-name>
          , Fuqua School of Business Duke University,
          <year>2018</year>
          . [Online].
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Peng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. H. M.</given-names>
            <surname>Albuquerque</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. J. A.</given-names>
            <surname>Padula</surname>
          </string-name>
          and
          <string-name>
            <given-names>M. R.</given-names>
            <surname>Montenegro</surname>
          </string-name>
          ,
          <article-title>"The best of two worlds: Forecasting high frequency volatility for cryptocurrencies and traditional currencies with support vector regression.," Expert Systems with</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <source>[14] Applications</source>
          , vol.
          <volume>97</volume>
          , p.
          <fpage>177</fpage>
          -
          <lpage>192</lpage>
          ,
          <year>2017</year>
          . Capizzi,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Sciuto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. L.</given-names>
            ,
            <surname>Napoli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            , &amp;
            <surname>Tramontana</surname>
          </string-name>
          ,
          <string-name>
            <surname>E.</surname>
          </string-name>
          (
          <year>2017</year>
          ).
          <article-title>Advanced and adaptive dispatch for smart grids by means of predictive models</article-title>
          . IEEE
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <source>[15] Transactions on Smart Grid</source>
          ,
          <volume>9</volume>
          (
          <issue>6</issue>
          ), p.
          <fpage>6684</fpage>
          -
          <lpage>6691</lpage>
          . Napoli,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Pappalardo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Tina</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. M.</given-names>
            , &amp;
            <surname>Tramontana</surname>
          </string-name>
          ,
          <string-name>
            <surname>E.</surname>
          </string-name>
          (
          <year>2015</year>
          ).
          <article-title>Cooperative strategy for optimal management of smart grids by wavelet rnns and cloud computing</article-title>
          .
          <source>IEEE transactions on neural networks and learning systems</source>
          ,
          <volume>27</volume>
          (
          <issue>8</issue>
          ),
          <fpage>1672</fpage>
          -
          <lpage>1685</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>