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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: crypto_com_sdk-0.0.5.tar.gz
  • Upload date:
  • Size: 528.3 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.5.tar.gz
Algorithm Hash digest
SHA256 3938422df37123e3a214582126f41b52fd74a4a5f41994e8e5b313d30ab34ed1
MD5 7a7a028725b5594bf43a069bec320f66
BLAKE2b-256 20640f3b19db93d3422c8601680ee49baac649a507af32c4912d1369eebebef0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crypto_com_sdk-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a43d7704cd05d0d1749c2b3e9655eb63dfdaaed74de1192346df26b2aa2c6dee
MD5 883786a618baac05dd9aec903b6ee7fb
BLAKE2b-256 928ea371aace22eb436a3e3a44d04c0a2c4dd853099ef7108625fed4632b8492

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