Skip to main content

kraken.com cryptocurrency exchange API

Project description

# Installation

`pip install asynckraken`

PyPI package [https://pypi.python.org/pypi/asynckraken](https://pypi.python.org/pypi/asynckraken)

# Usage


```python
import aiohttp
import asyncio

from asynckraken import Client

async def main():
client = Client(key='api_key', secret='api_secret')
result_public = await client.query_public('Depth', {'pair': 'XETHZEUR'})
print(result_public)
result_private = await client.query_private('Balance')
print(result_private)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```

# Development

Run with async python console: `docker-compose run shell`

Tests: `docker-compose run tests`

Full tests with type checking: `docker-compose run full_tests`


# Attribution


Core code is licensed under LGPLv3. See ``LICENSE.txt``.

Thanks for veox for writting [https://github.com/veox/python3-krakenex](python3-krakenex). I was using that code as example.

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

asynckraken-0.1.5.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file asynckraken-0.1.5.tar.gz.

File metadata

File hashes

Hashes for asynckraken-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5b4fb2800cf210d5afdf81b1aeedd120b312c57f95a2600ffe439f33db2c9b22
MD5 ef8188e492cbfd62ee0248400ec86470
BLAKE2b-256 5ab72ab9976a20fbd5a61a1704925285ce63941a256ed5eb6b1cb2bc53b9913d

See more details on using hashes here.

Supported by

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