krakenpy is tool in which we integrated kraken crypto exchange API
Project description
krakenpy
krakenpy is a python integration for kraken API. This package is using krakenex underneath, because krakenex only provides two methods query_private and query_public and it's really hard to guess the request params. Therefore, I have introduced Python Typing and dataclasses to readability.
Installation
pip install krakenpy
or
poetry add krakenpy
Usage
from krakenpy import Kraken, KrakenError
if __name__ == "__main__":
kraken = Kraken(
api_key="KRAKEN_API_KEY",
api_secret="KRAKEN_API_SECRET",
)
# Returns the User's account balance.
try:
print(kraken.get_balance())
except KrakenError as e:
print(e)
Authors
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 krakenpy-0.1.4.tar.gz.
File metadata
- Download URL: krakenpy-0.1.4.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.10.11 Linux/5.15.0-1037-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e97acdbcf525ea05766b9c7cf3de5b7ea4f6ecae854acd252ad7940b38ca3786
|
|
| MD5 |
094cb555dac07298b166d7cc87cef891
|
|
| BLAKE2b-256 |
41c4753f10a512d4a634537bcb74322ec1d32ebac3939ed14d0ca8990f7100c1
|
File details
Details for the file krakenpy-0.1.4-py3-none-any.whl.
File metadata
- Download URL: krakenpy-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.10.11 Linux/5.15.0-1037-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3eb347147c53eba853f0f47c0300b4b4778079a99f76781aa35c1db568be9687
|
|
| MD5 |
ec47d9d01cb92bba70547bfa4afe448b
|
|
| BLAKE2b-256 |
6926907aff1b6349261f806bafdebbd97b6bb0bb2ef5b9a463b59ac0e42d13fa
|