A library for interacting with the Kraken Spot API
Project description
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 | ✅ |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kraken-spot-1.0.0.tar.gz.
File metadata
- Download URL: kraken-spot-1.0.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.10.1 Darwin/21.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a039c3fcf9caab69ea01b9c2c8d32da0af531bd54513e79c446ea5e6d78db47a
|
|
| MD5 |
cf6020f45778408237b7fa04c87433de
|
|
| BLAKE2b-256 |
24098ba5a837868e8cc4b937149dba61074e6a1f251318ad73315d524755e97f
|
File details
Details for the file kraken_spot-1.0.0-py3-none-any.whl.
File metadata
- Download URL: kraken_spot-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.10.1 Darwin/21.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbfa7d9cc1eb64c73f6bacab594558344bcf412811c1cb92af0818fc468506cf
|
|
| MD5 |
88a4df39ed43393eed12e9d55bba102c
|
|
| BLAKE2b-256 |
b60f4f7a5e61faa3ca313c7e3dd2f9a45321e2c96269a6d201b87ab00038e25f
|