The Python Package open-crypto: A Cryptocurrency Data Collector
Volume 21, Issue 1 (2023), pp. 127–144
Pub. online: 10 August 2022
Type: Computing In Data Science
Open Access
Received
14 April 2022
14 April 2022
Accepted
3 July 2022
3 July 2022
Published
10 August 2022
10 August 2022
Abstract
This paper introduces the package open-crypto for free-of-charge and systematic cryptocurrency data collecting. The package supports several methods to request (1) static data, (2) real-time data and (3) historical data. It allows to retrieve data from over 100 of the most popular and liquid exchanges world-wide. New exchanges can easily be added with the help of provided templates or updated with build-in functions from the project repository. The package is available on GitHub and the Python package index (PyPi). The data is stored in a relational SQL database and therefore accessible from many different programming languages. We provide a hands-on and illustrations for each data type, explanations on the received data and also demonstrate the usability from R and Matlab. Academic research heavily relies on costly or confidential data, however, open data projects are becoming increasingly important. This project is mainly motivated to contribute to openly accessible software and free data in the cryptocurrency markets to improve transparency and reproducibility in research and any other disciplines.
Supplementary material
Supplementary MaterialWe provide several additional information in the supplementary materials, regarding (1) further information on the installation process, (2) troubleshooting list, (3) requesting real-time data, (4) exchanges and endpoints, (5) cross-software usability from R and Matlab and (6) connectivity to server-based database management systems.