Skip to main content

Provide description

Project description

Python 3.7+ library for crypto.com/exchange API using asyncio and aiohttp

Docs Build Status Build Status Maintainability Test Coverage Requirements Status PyPI implementation PyPI pyversions PyPI license PyPI version fury.io PyPI download month Gitter

Documentation: https://cryptocom-exchange.rtfd.io

Exchange original API docs: https://exchange-docs.crypto.com

Description

pip install cryptocom-exchange

  • provides all methods to access crypto.com/exchange API (except for websockets temporary)
  • full test coverage on real exchange with real money
  • simple async methods with custom retries and timeouts

Please do not use secret keys, they used only for test purposes

Changelog

  • 0.7.2 - fixed listen_orders private account method, added test
  • 0.7.1 - fixed missing '.0' in order price and quantity (different in py3.7, py3.9)
  • 0.7 - major changes, Pair -> cro.pairs.CRO_USDT moved to more complex structure so we can use round and server information about pairs.
    • If you have errors, just use await account.sync_pairs() or await exchange.sync_pairs()
    • Added rounding per pair, all floats will be with right precisions
  • 0.6 - included changes from PR kudos to https://github.com/samueltayishere, fixed limit orders, fixed timeouts, fixed is_active order status
  • 0.5.1 - added symbols YFI, BAND, fixed test with limit orders
  • 0.5 - missing symbols MKR, UNI, possible refactoring for simple objects
  • 0.4.5 - fixed missing CELR balances
  • 0.4.4 - fixed missing QTUM, CELR coins
  • 0.4.3 - fixed missing fees_coin Coin enum
  • 0.4.2 - fixed supported pairs OMG and MANA
  • 0.4.1 - fixed cached_property for python 3.7
  • 0.4.0 - added OrderForceType and OrderExecType, refactored Order responses, splited private and market methods, added missing Pair and Coin, added Balance dataclass, public keys for tests passing
  • 0.3.4 - fixed balances listener, fixed pairs
  • 0.3.3 - fixed orderbook depth
  • 0.3.2 - added orderbook websocket method
  • 0.3.1 - fixed missing DAI pair
  • 0.3 - added websocket support for public endpoints and supports sign=True for private endpoints
  • 0.2.1 - fixed order_id in get_order func, still preparing for stable release
  • 0.2 - moved to new API v2, except for websockets

Donation

If this lib helped you achieve profits will be glad to receive some donation to continue support 💪

ERC20(CRO,USDT,ETH etc.): 0x348c268A563b0C809e4E21F4371E8cdFbD1f51bf

BTC: 3NxnzUbTDFrwCEChS4PMqXbxvESxkfU2UP

LTC: MK3DtnQaMs2eSDdTygF618xdQd7Q9y7Nr2

NEO: AdTApXpKjVh2YJUKuEHuWvoSdaSAzLakFF

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

cryptocom-exchange-0.7.2.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cryptocom_exchange-0.7.2-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file cryptocom-exchange-0.7.2.tar.gz.

File metadata

  • Download URL: cryptocom-exchange-0.7.2.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for cryptocom-exchange-0.7.2.tar.gz
Algorithm Hash digest
SHA256 c8b2fa613e300e4443e0fe266dcc9e33496bd1297ed2f9aa90999422f87f90a0
MD5 288e027a30a23ca563c80b4b255868e6
BLAKE2b-256 5f3aec4b6c7f47eef6a67b2c49b7f5b0623c90b70052f46b71bf3305c0be7c71

See more details on using hashes here.

File details

Details for the file cryptocom_exchange-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: cryptocom_exchange-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for cryptocom_exchange-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 91f2d466de8e1005e7c1eeaae1cc38437277c232d63404d8195bd3a601124ff9
MD5 4b27c00e96cfcae552a113828a45f810
BLAKE2b-256 39b8404fdaa040c944b9595425fa6ac8fcd5a345d1dd69fb81987499ef159ba5

See more details on using hashes here.

Supported by

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