Kraken Spot
A Python library for interacting with the Kraken Spot REST API.
Quick Start
Install from source of via pip
pip install kraken-spot
from kraken_spot import DefaultClient
client = DefaultClient()
client.get_account_balance()
The default client will attempt to configure the client with api keys from environment variables. Both KRAKEN_API_KEY and KRAKEN_PRIVATE_KEY needs to be set.
OTP Authentication
If the API key has 2FA enabled, you will need to provide a one time password with your call.
client.set_otp(123456)
client.get_account_balance()
The OTP is reset after each request.
Features
The following endpoints are currently supported;
| Endpoint Set | Supported |
|---|---|
| Market Data | ✅ |
| User Data | ✅ |
| User Trading | ✅ (except batch orders) |
| User Funding | ✅ |
| User staking | ✅ |
| Websocket Authentication | ✅ |
Release files for kraken-spot 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kraken-spot-1.0.0.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kraken_spot-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.0 kB
Release files / kraken-spot-1.0.0.tar.gz
| Download URL | kraken-spot-1.0.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a039c3fcf9caab69ea01b9c2c8d32da0af531bd54513e79c446ea5e6d78db47a
|
|
BLAKE2b-256 checksum How to use checksums |
24098ba5a837868e8cc4b937149dba61074e6a1f251318ad73315d524755e97f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.10.1 Darwin/21.5.0
|
Release files / kraken_spot-1.0.0-py3-none-any.whl
| Download URL | kraken_spot-1.0.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bbfa7d9cc1eb64c73f6bacab594558344bcf412811c1cb92af0818fc468506cf
|
|
BLAKE2b-256 checksum How to use checksums |
b60f4f7a5e61faa3ca313c7e3dd2f9a45321e2c96269a6d201b87ab00038e25f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.10.1 Darwin/21.5.0
|