Skip to main content

Command-line client for the Kraken exchange

Project description

Command-line client for the Kraken exchange

Installation

WARNING: This software is currently in development.

DO NOT USE for production!

You should install it in a virtualenv.

Step 1: Create a virtualenv

pyvenv ~/.venv/clikraken

And activate it:

source ~/.venv/clikraken/bin/activate

Step 2: Install dependencies

clikraken depends on two external modules:

  • arrow, for better handling of date and time

  • python3-krakenex, for the low-level interface with the Kraken API

Somehow you need to install the two dependencies manually before installing clikraken. I haven’t been successfull in making the dependency system of pip work consistently yet with python3-krakenex being only available as a Git repository.

Install arrow in the activated virtualenv:

pip install arrow

Install python3-krakenex in the activated virtualenv:

pip install -e "git+https://github.com/veox/python3-krakenex.git@33b758f1f56257a35da85b0b14eb9cb1afb7b045#egg=krakenex-0.0.6"

Step 3: Install clikraken

# make sure you have installed arrow and krakenex before!
pip install --pre clikraken

Step 4: Add your API key in the $HOME/.config/kraken.key file

You will need it to perform private queries to the Kraken API.

keykeykeykeykeykeykeykeykeykeykeykeykeykeykeykeykeykeykey
secretsecretsecretsecretsecretsecretsecretsecretsecretsecretsecretsecretsecretsecretsecret

Usage

First activate the virtualenv:

source ~/.venv/clikraken/bin/activate

Get help:

clikraken --help

Upgrade

In the activated virtualenv:

pip install -U --no-deps --pre clikraken

--no-deps is currently needed because trying to upgrade the dependency krakenex fails, because it is not available on PyPi, only as a Git repository.

Attribution

clikraken code is licensed under the Apache license, Version 2.0. See the LICENSE file. For the full text, see here.

Dependencies

  • python3-krakenex code is licensed under the LGPLv3 license.

  • Arrow code is licensed under is licensed under the Apache License, Version 2.0.

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

clikraken-0.0.1.dev19.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clikraken-0.0.1.dev19-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file clikraken-0.0.1.dev19.tar.gz.

File metadata

File hashes

Hashes for clikraken-0.0.1.dev19.tar.gz
Algorithm Hash digest
SHA256 7bd1a0fa20c68b9b351a58e0e10dd90a6d86e416d6066ca552b08903ba74d7e3
MD5 11d1e93069b1f42564f8d66a55bc1bac
BLAKE2b-256 a2c3568191308efbd1d19d480588067ca6a20cba3849e8ba6e9f614f889a2efc

See more details on using hashes here.

File details

Details for the file clikraken-0.0.1.dev19-py3-none-any.whl.

File metadata

File hashes

Hashes for clikraken-0.0.1.dev19-py3-none-any.whl
Algorithm Hash digest
SHA256 eeff0863d83bfc69eff10108bfcd7106e4fcf78f1fde8f17b74b3cc34783f073
MD5 8f96bcfdac8ecc5e4cd032a3f236db72
BLAKE2b-256 53f6021c87c7102f2020e99ffc80f06b278cb5a4233ac9d85344cf4cd757c53f

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