Skip to content

krakenpy is tool or sdk in which we integrated kraken crypto exchange API. It's very simple to use and integrate. **Please Contribute**.

Notifications You must be signed in to change notification settings

Sheikhharis50/krakenpy

Repository files navigation

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

About

krakenpy is tool or sdk in which we integrated kraken crypto exchange API. It's very simple to use and integrate. **Please Contribute**.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages