Skip to main content

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


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.4.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

krakenpy-0.1.4-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

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