Skip to main content

A cryptocurrency trading library for Python with current support for Binance and Bittrex.

Project description

py-crypto

PyPI version

About

py-crypto is an open-source, cryptocurrency trading library for Python. This library is ideal for developers who wish to be able to interact with API endpoints of multiple cryptocurrency exchanges at once without wanting to write code specific to each. Simply specify which exchange you would like to interact with by name, along with your API credentials, as shown in the Example section below. Currently, the library offers API support for the following exchanges: Binance and Bittrex.

Installation

The source code is currently hosted on GitHub at https://github.com/gokulk04/py-crypto

The latest released version is also available for download via pip:

pip install py-crypto

Example

import pycrypto.client as pyc

BINANCE_API_KEY = "MY_BINANCE_API_KEY"
BINANCE_API_SECRET = "MY_BINANCE_API_SECRET"

binance = pyc.Client(pyc.Exchange.BINANCE, BINANCE_API_KEY, BINANCE_API_SECRET)

binance.get_all_balances()

Documentation

For further details on py-crypto's usage, please refer to its documentation.

License

This project is licensed under the terms of the MIT license and can be viewed here.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
py_crypto-0.0.4-py2-none-any.whl (10.3 kB) Copy SHA256 hash SHA256 Wheel py2
py-crypto-0.0.4.tar.gz (5.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page