Skip to main content

Library to download data charts from Binance

Project description

Binypt: A Python Library for Cryptocurrency Data Retrieval and Processing

PyPI - Version PyPI - License PyPI - Status

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

# Initialize Binypt
binypt = Binypt()

# Set data retrieval parameters
binypt.set_arguments("BTCUSDT", "1h", "01/09/2023-00:00:00", "10/09/2023-23:59:59")

# Fetch cryptocurrency price data
binypt.retrieve_data()

# Export data to a CSV file
binypt.export("crypto_data.csv")

# Add human-readable timestamps
binypt.add_human_readable_time()

# Show progress bar and log messages
binypt.set_verbosity(show_bar=True, show_log=True)

# Access the data as a Pandas DataFrame
price_data = binypt.get_data()

# You can now perform various data analysis or visualization tasks with the price_data DataFrame

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


Generated by ChatGPT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

binypt_lib-2.3.7.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

binypt_lib-2.3.7-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file binypt_lib-2.3.7.tar.gz.

File metadata

  • Download URL: binypt_lib-2.3.7.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-39-generic

File hashes

Hashes for binypt_lib-2.3.7.tar.gz
Algorithm Hash digest
SHA256 b77659221e03fee4be8355a78549ccd7942e3e3469ac74a58962fc816e31ff38
MD5 228e130c7798959319174c86adc1915e
BLAKE2b-256 a41e6571117800e028bd575a9fcdc6e4a10d265f1b23d5b64ee3d0beae8bf16b

See more details on using hashes here.

File details

Details for the file binypt_lib-2.3.7-py3-none-any.whl.

File metadata

  • Download URL: binypt_lib-2.3.7-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-39-generic

File hashes

Hashes for binypt_lib-2.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 84b6a0ddf2ee47e7846c6d771fa92e84944a17c061ef3fecfc1f9f5fad2b0687
MD5 aa314079c5341c047e13e9ccbd7defd3
BLAKE2b-256 430c1bf16e7afeee3ac5cabdd0512b2d70ed165aa68e7ff098e50e15104b159e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page