/crypto_metrics

A package to build metrics using crypto price datasets.

Primary LanguagePython

LinkedIn Contributors Forks Stargazers Issues GNU v3 License


Logo

Crypto Coin Metrics Transformation - Python Package

Python Package focused on transform crypto prices datasets extracted from Binance API.

View Test · Report Bug · Request Feature

About The Package

This is a small package to download the prices of cryptos using Binance API.

(back to top)

Built With

This project was builded with the next technologies.

(back to top)

Getting Started

Building

Follow the next steps:

  1. Setup the project:
    python setup.py sdist
  2. Build the package:
    python setup.py build
  3. Install the package
    python setup.py install
  4. Install the package using pip.
    pip install crypto_metrics

(back to top)

Intalling

Just need to use pip with git command:

pip install git+https://github.com/estebanvz/crypto_metrics.git

Usage

Get the keys from API Binance:

GET BINANCE API KEYS

You can use the package using the api_key and api_secret from binance API. Also you could download the package crypo_price to download data from Binance API. Crypto Price Package

import os
from decouple import config
from crypto_price import CryptoDataExtractor
from crypto_metrics import CryptoDataTransformation
API_KEY = config("API_KEY")
API_SECRET = config("API_SECRET")
extractor = CryptoDataExtractor()
extractor.from_binance(api_key=API_KEY,api_secret=API_SECRET,time_in_hours=24*10)
transformer = CryptoDataTransformation()
transformer.readDataset()

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

Esteban Vilca - @ds_estebanvz - esteban.wilfredo.g@gmail.com

Project Link: https://github.com/estebanvz/crypto_metrics

(back to top)