pycccl is a library which aims to standardize access to information provided by multiple exchanges sites.
Each exchange has a specific API with different methods to access basic information. Using pycccl you have access to all supported exchanges in the same way.
Note
On the future, this library will also talk with private API methods in order to execute actions that requires authentication.
This project uses python3. So in order to use this software please install python3 into your environment beforehand.
Installing via git source code:
$ git clone https://github.com/beraldoleal/pycccl.git
After cloning, the installation process is done by standard setuptools install procedure:
$ cd pycccl
$ sudo python3 setup.py install
If you prefer, you can install via pip command:
$ sudo pip3 install pycccl
See how it is easy to get a token price at a specific exchange:
>>> from pycccl.exchanges.poloniex import Poloniex
>>> polo = Poloniex()
2017-12-17 14:22:04.690598 [Poloniex] INFO: Creating component
>>> polo.get_last_price('BTC', 'USDT')
18500.00000104
All exchanges classes has implemented the following methods: get_24highest(), get_24lowest(), get_24volume(), get_last_price(), get_ticker().
Note
A detalied documentation API of this library will be released soon.
For now, we have support to: bitbay, bitfinex, bitstamp, blinktrade, cexio, liqui, poloniex, yobit and Binance.
For a complete list of authors, please open AUTHORS.rst
file.
Please feel free to open an issue or submit a PR for this project. Also let me know if you have interest on a specific exchange support.
This software is under MIT-License. For more information please read
LICENSE
file.