Skip to content
Allcoin REST API python implementation
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
allcoin formatting fixes Mar 7, 2018
docs Update title Mar 7, 2018
tests
.travis.yml
DISTRIBUTION
LICENSE Initial commit Mar 7, 2018
README.rst
requirements.txt
setup.cfg
setup.py formatting fixes Mar 7, 2018
test-requirements.txt Add first version Mar 7, 2018
tox.ini

README.rst

Welcome to python-allcoin v0.0.1

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.

PyPi
https://pypi.python.org/pypi/python-allcoin
Source code
https://github.com/sammchardy/python-allcoin
Documentation
https://python-allcoin.readthedocs.io/en/latest/
Blog with examples
https://sammchardy.github.io

Features

  • 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.

Donate

If this library helped you out feel free to donate.

  • ETH: 0xD7a7fDdCfA687073d7cC93E9E51829a727f9fE70
  • NEO: AVJB4ZgN7VgSUtArCt94y7ZYT6d5NDfpBo
  • LTC: LPC5vw9ajR1YndE1hYVeo3kJ9LdHjcRCUZ
  • BTC: 1Dknp6L6oRZrHDECRedihPzx2sSfmvEBys

Other Exchanges

If you use Binance check out my python-binance library.

If you use Kucoin check out my python-kucoin library.

If you use Quoinex or Qryptos check out my python-quoine library.

If you use IDEX check out my python-idex library.

If you use BigONE check out my python-bigone library.

https://analytics-pixel.appspot.com/UA-111417213-1/github/python-allcoin?pixel

You can’t perform that action at this time.