Welcome to python-allcoin v0.0.1

https://img.shields.io/pypi/v/python-allcoin.svg https://img.shields.io/pypi/l/python-allcoin.svg https://img.shields.io/travis/sammchardy/python-allcoin.svg https://img.shields.io/coveralls/sammchardy/python-allcoin.svg https://img.shields.io/pypi/wheel/python-allcoin.svg https://img.shields.io/pypi/pyversions/python-allcoin.svg

This is an unofficial Python wrapper for the Allcoin exchanges REST API v1. I am in no way affiliated with Allcoin, use at your own risk.

Source code
Blog with examples


  • Implementation of all REST endpoints
  • Simple handling of authentication
  • Response exception handling

Quick Start

Register an account with Allcoin.

To use signed account methods you are required to verify to create a Transaction Password and then create an API Key and apply appropriate permissions.

pip install python-allcoin
from allcoin.client import Client
client = Client(api_key, api_secret)

# get market depth
depth = client.get_order_book('eth_btc', size=50)

# get symbol klines
klines = client.get_klines('eth_btc', '1day')

# place a buy order
transaction = client.create_buy_order('eth_btc', '0.01', '1000')

# get list of open orders
orders = client.get_open_orders('eth_btc')

# cancel an order
orders = client.cancel_order('eth_btc', '1235')

# get order info
orders = client.get_order('eth_btc', '1235')

For more check out the documentation.