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(BTC/USDC, "limit", "buy", 1, 100000)

Sync

from crypto_com_sdk import CryptocomSync

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

Websockets

from crypto_com_sdk import CryptocomWs

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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: crypto_com_sdk-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 c656df7b2dbe3a5db40b15b4414fc10fb0fd4b5153c1298bb1ebe18cefcb97e9
MD5 0926484af5fcfcc24c0fd20dd804d974
BLAKE2b-256 5023f872c925e35db2123b1e3a73a7820f6259e8033da2f17eb6871372b3b97d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crypto_com_sdk-0.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bc255aaeb9c0e7da866c64d94db26f9ccd17eb82b5b68bf8348de9e69a67e53b
MD5 75aa16e116b4e82c9ade6118c68b2f57
BLAKE2b-256 3b7298ecc70a7f04e1c74491d123d42b05dc42d30e858138544b615dc1cd174d

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