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.3.tar.gz (528.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: crypto_com_sdk-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 cb36fa7e32802bf843f4e6f1f2f14a2c570b0c32c9226ca17d5509b2a3314ffe
MD5 db9d666465c30e95405aac14d307970e
BLAKE2b-256 8f940d56490d3233983e5f68c00a212254ba7fbc90e4f7e3bd528c51424f5c3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crypto_com_sdk-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4be60fdf334de1f4d18c16633a532488890e0dfea75391ec5fdf640301c9ebe7
MD5 d8316bfd7245f383ec6902bf8f96b918
BLAKE2b-256 aec9d6afecf77b52e4d0065edaba439b97eb9290efbfb529da13cef0f09139dc

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