A cryptocurrency trading library for Python with current support for Binance and Bittrex.
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.
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
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()
For further details on py-crypto's usage, please refer to its documentation.
This project is licensed under the terms of the MIT license and can be viewed here.
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|