Exchange Market Liquidity Prediction with the K-Nearest Neighbor Approach: Crypto vs. Fiat Currencies

In this paper, we compare the predictions on the market liquidity in crypto and fiat currencies between two traditional time series methods, the autoregressive moving average (ARMA) and the generalized autoregressive conditional heteroskedasticity (GARCH), and the machine learning algorithm called t...

Full description

Bibliographic Details
Main Authors: Klender Cortez, Martha del Pilar Rodríguez-García, Samuel Mongrut
Format: Article
Language:English
Published: MDPI AG 2021-12-01
Series:Mathematics
Subjects:
Online Access:https://www.mdpi.com/2227-7390/9/1/56
id doaj-d3b7dc6ee6084facac2cb0cf78ad9114
record_format Article
spelling doaj-d3b7dc6ee6084facac2cb0cf78ad91142020-12-30T00:04:35ZengMDPI AGMathematics2227-73902021-12-019565610.3390/math9010056Exchange Market Liquidity Prediction with the K-Nearest Neighbor Approach: Crypto vs. Fiat CurrenciesKlender Cortez0Martha del Pilar Rodríguez-García1Samuel Mongrut2Facultad de Contaduria Publica y Administracion, Universidad Autonoma de Nuevo Leon, San Nicolás de los Garza 66451, MexicoFacultad de Contaduria Publica y Administracion, Universidad Autonoma de Nuevo Leon, San Nicolás de los Garza 66451, MexicoEGADE Business School, Tecnologico de Monterrey, San Pedro Garza García 66269, MexicoIn this paper, we compare the predictions on the market liquidity in crypto and fiat currencies between two traditional time series methods, the autoregressive moving average (ARMA) and the generalized autoregressive conditional heteroskedasticity (GARCH), and the machine learning algorithm called the k-nearest neighbor (KNN) approach. We measure market liquidity as the log rates of bid-ask spreads in a sample of three cryptocurrencies (Bitcoin, Ethereum, and Ripple) and 16 major fiat currencies from 9 February 2018 to 8 February 2019. We find that the KNN approach is better suited for capturing the market liquidity in a cryptocurrency in the short-term than the ARMA and GARCH models maybe due to the complexity of the microstructure of the market. Considering traditional time series models, we find that ARMA models perform well when estimating the liquidity of fiat currencies in developed markets, whereas GARCH models do the same for fiat currencies in emerging markets. Nevertheless, our results show that the KNN approach can better predict the log rates of the bid-ask spreads of crypto and fiat currencies than ARMA and GARCH models.https://www.mdpi.com/2227-7390/9/1/56Bitcoindigital moneyEthereuminvestor behaviorRippletime series analysis
collection DOAJ
language English
format Article
sources DOAJ
author Klender Cortez
Martha del Pilar Rodríguez-García
Samuel Mongrut
spellingShingle Klender Cortez
Martha del Pilar Rodríguez-García
Samuel Mongrut
Exchange Market Liquidity Prediction with the K-Nearest Neighbor Approach: Crypto vs. Fiat Currencies
Mathematics
Bitcoin
digital money
Ethereum
investor behavior
Ripple
time series analysis
author_facet Klender Cortez
Martha del Pilar Rodríguez-García
Samuel Mongrut
author_sort Klender Cortez
title Exchange Market Liquidity Prediction with the K-Nearest Neighbor Approach: Crypto vs. Fiat Currencies
title_short Exchange Market Liquidity Prediction with the K-Nearest Neighbor Approach: Crypto vs. Fiat Currencies
title_full Exchange Market Liquidity Prediction with the K-Nearest Neighbor Approach: Crypto vs. Fiat Currencies
title_fullStr Exchange Market Liquidity Prediction with the K-Nearest Neighbor Approach: Crypto vs. Fiat Currencies
title_full_unstemmed Exchange Market Liquidity Prediction with the K-Nearest Neighbor Approach: Crypto vs. Fiat Currencies
title_sort exchange market liquidity prediction with the k-nearest neighbor approach: crypto vs. fiat currencies
publisher MDPI AG
series Mathematics
issn 2227-7390
publishDate 2021-12-01
description In this paper, we compare the predictions on the market liquidity in crypto and fiat currencies between two traditional time series methods, the autoregressive moving average (ARMA) and the generalized autoregressive conditional heteroskedasticity (GARCH), and the machine learning algorithm called the k-nearest neighbor (KNN) approach. We measure market liquidity as the log rates of bid-ask spreads in a sample of three cryptocurrencies (Bitcoin, Ethereum, and Ripple) and 16 major fiat currencies from 9 February 2018 to 8 February 2019. We find that the KNN approach is better suited for capturing the market liquidity in a cryptocurrency in the short-term than the ARMA and GARCH models maybe due to the complexity of the microstructure of the market. Considering traditional time series models, we find that ARMA models perform well when estimating the liquidity of fiat currencies in developed markets, whereas GARCH models do the same for fiat currencies in emerging markets. Nevertheless, our results show that the KNN approach can better predict the log rates of the bid-ask spreads of crypto and fiat currencies than ARMA and GARCH models.
topic Bitcoin
digital money
Ethereum
investor behavior
Ripple
time series analysis
url https://www.mdpi.com/2227-7390/9/1/56
work_keys_str_mv AT klendercortez exchangemarketliquiditypredictionwiththeknearestneighborapproachcryptovsfiatcurrencies
AT marthadelpilarrodriguezgarcia exchangemarketliquiditypredictionwiththeknearestneighborapproachcryptovsfiatcurrencies
AT samuelmongrut exchangemarketliquiditypredictionwiththeknearestneighborapproachcryptovsfiatcurrencies
_version_ 1724367267126312960