Skip to main content

kraken.com cryptocurrency exchange API

Project description

Latest Travis continuous integration build Join the chat at https://gitter.im/python3-krakenex/Lobby

krakenex

Kraken.com exchange API, Python 3 package.

This package is intentionally as lean as possible, and only provides a minimal interface to the Kraken cryptocurrency exchange.

Intended for developers, not traders.

Documentation

View the latest or stable online at ReadTheDocs.

The code is documented in docstrings, and can be viewed with a text editor.

You can also generate your own with, e.g., make html in doc. This requires sphinx and its rtd theme.

For the most up-to-date list of public/private Kraken API methods, see their API documentation.

Examples

A few package use examples are available in the examples directory.

Installation

This package requires Python 3.3 or later. The module will be called krakenex.

A PyPI package is available.

For the user

Using pip:

# install from PyPI
pip install --user krakenex
# ... or local clone of git repo
pip install --user .

Using standard-library setuptools:

# install from local clone of git repo
python ./setup.py install --user

Attribution

“Core” code is licensed under LGPLv3. See LICENSE.txt and LICENSE-GPLv3.txt.

Examples are licensed under the Simplified BSD license. See examples/LICENSE.txt.

Payward’s PHP API, Alan McIntyre’s BTC-e API, and ScriptProdigy’s Cryptsy Python API were used as examples when writing the original python2-krakenex package. It was then ported to Python 3.

Software that uses krakenex

Development notes

Do not annoy the Kraken with tests

Be aware that some tests may be making queries to the Kraken API server.

If you intend to do development on this package, and have tests enabled on Travis CI, be sure to limit concurrent jobs to 1, and enable all possible auto-cancellations.

(Better yet, don’t rely on public infrastructure, but run the tests locally first.)

No Python 2

This package will never support Python 2. There will be no changes made to enable compatibility with Python 2. Python 3.0 was released in 2008, before Bitcoin was.

There is no reason to support Python 2 except for compatibility with systems from the pre-blockchain era.

The fact that some GNU/Linux distributions still ship with Python 2 as the default seems unfortunate to me. However, I will not support this madness with my precious time.

If you have a valid reason to use Python 2, see python2-krakenex. Be warned, though, that it is unmaintained.

Project details


Download files

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

Source Distribution

krakenex-1.0.0.tar.gz (35.1 kB view details)

Uploaded Source

File details

Details for the file krakenex-1.0.0.tar.gz.

File metadata

  • Download URL: krakenex-1.0.0.tar.gz
  • Upload date:
  • Size: 35.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for krakenex-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5c2e9339695d0bc7fe7df912b4e87e14da6076d05ab41e99f9e8741a2905f5ab
MD5 f4cafc5b5e150db304a95dac95f33691
BLAKE2b-256 2283ee6c656733b5faee3b9db6d6169c63e31f7cd5206c7ca2dca55f453eb8e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page