Skip to main content

cryptocom exchange api client

Project description

cryptocom-python

Python SDK (sync and async) for Cryptocom with Rest and WS capabilities.

You can check Cryptocom's docs here: Docs

You can check the SDK docs here: SDK

This package derives from CCXT and allows you to call pretty much every endpoint by either using the unified CCXT API or calling the endpoints directly

Installation

pip install crypto-com-sdk

Usage

Async

from crypto_com_sdk import CryptocomAsync

async def main():
    instance = CryptocomAsync({})
    order = await instance.create_order(__EXAMPLE_SYMBOL__, "limit", "buy", 1, 100000)

Sync

from crypto_com_sdk import CryptocomSync

def main():
    instance = CryptocomSync({})
    order =  instance.create_order(__EXAMPLE_SYMBOL__, "limit", "buy", 1, 100000)

Websockets

from crypto_com_sdk import CryptocomWs

async def main():
    instance = CryptocomWs({})
    while True:
        orders = await instance.watch_orders(__EXAMPLE_SYMBOL__)

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

crypto_com_sdk-0.0.4.tar.gz (528.2 kB view details)

Uploaded Source

Built Distribution

crypto_com_sdk-0.0.4-py3-none-any.whl (654.9 kB view details)

Uploaded Python 3

File details

Details for the file crypto_com_sdk-0.0.4.tar.gz.

File metadata

  • Download URL: crypto_com_sdk-0.0.4.tar.gz
  • Upload date:
  • Size: 528.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for crypto_com_sdk-0.0.4.tar.gz
Algorithm Hash digest
SHA256 837646a313a8df2d568b4f7471353a56546e22437d1c0c77b93bde5549242c5a
MD5 684dbd428940bb1ee202085b19f3210d
BLAKE2b-256 371aed28adce3da1e9bc0077cb4d9ce7055ec9d2bbb37c84e02adf9d365379f0

See more details on using hashes here.

File details

Details for the file crypto_com_sdk-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: crypto_com_sdk-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 654.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for crypto_com_sdk-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 88c0dc7dedcee09b944f629bb7205ca728a6f61d51ffdd8310c49619bdaea15a
MD5 d4fc2e53db94c9b92ab3aa6e0345e1d7
BLAKE2b-256 18ccebf1e5c3ce04af6b6e998a2332fe8d93f90d3468cfa6ddca21ae6c13c5c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page