Binypt: A Python Library for Cryptocurrency Data Retrieval and Processing
Overview
Binypt is a Python library designed for retrieving historical cryptocurrency price data from the Binance exchange. It allows you to specify trading pairs, time intervals, and date ranges to download and work with historical price data efficiently. This library is a helpful tool for anyone interested in analyzing or visualizing cryptocurrency price trends.
Features
- Retrieve historical cryptocurrency price data from Binance.
- Specify trading pairs, time intervals, and date ranges.
- Export data in various formats such as CSV, Excel, or Pickle.
- Added human readable dates to the chart.
Installation
You can install Binypt using pip
:
pip install binypt-lib
Usage
Here's a brief overview of how to use Binypt:
from binypt import Binypt
binypt = Binypt()
binypt.set_arguments("BTCUSDT", "1h", "01/09/2023-00:00:00", "10/09/2023-23:59:59")
binypt.retrieve_data()
binypt.export("crypto_data.csv")
binypt.add_human_readable_time()
binypt.set_verbosity(show_bar=True, show_log=True)
price_data = binypt.get_data()
Contributions
Contributions to this project are welcome. Feel free to submit bug reports, feature requests or pull requests!
Documentation
To deep dive in on how this library functions, please refer to the documentation