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
krakenpy-0.1.3.tar.gz
(3.5 kB
view details)
Built Distribution
File details
Details for the file krakenpy-0.1.3.tar.gz
.
File metadata
- Download URL: krakenpy-0.1.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.10.10 Darwin/22.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de2d293c557a30fe9105740ed54193a93e683a3dc923dd7c91ad04886124c768 |
|
MD5 | 9469e4b4b4d0523bf6d9bee89b563d89 |
|
BLAKE2b-256 | 0a457144a1e02444469fe3b160ddc32a9bf85133ea63c28bbdbf3881cde7a883 |
File details
Details for the file krakenpy-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: krakenpy-0.1.3-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.10 Darwin/22.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a4c9f6eb364e51c89e9315df384e7f982b41f9271d66358b9284b9036b647e0 |
|
MD5 | ce121fa624649f273bb70fc26f7570a8 |
|
BLAKE2b-256 | cc2d55ebce87161ce6f6935d8dd532090e90eb62a0c269bd9e4a405c51ed7802 |