Skip to main content

Websocket Client and interface for Blockchain.com Exchange

Project description

Blockchain.com Exchange python client

PyPi Python

This is a sample python client to connect to the Blockchain.com Exchange.

In order to use the authenticated channels you will need to create an account on the exchange and generate an API secret. You can then either pass the API secret to the client or you can store it as an enviroment variable BCEX_API_SECRET.

To obtain access to staging environment, request to our support center needs to be made.

The best starting place is to look at some of the examples

Code formatting

Install the python package pre-commit. This should probably be done in a non-virtualenv specific manner (i.e. using pipsi)

pipsi install pre-commit

pipsi install black

After the repo has cloned run pre-commit install in the cloned directory. This will install the code formatting hooks

To install blacken in your editor please see instructions [https://github.com/ambv/black]

For documentation use NumPy style [https://numpydoc.readthedocs.io/en/latest/format.html]

Where possible also type annotate code [https://docs.python.org/3/library/typing.html#module-typing]

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

bcex-1.0.1.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

bcex-1.0.1-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file bcex-1.0.1.tar.gz.

File metadata

  • Download URL: bcex-1.0.1.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for bcex-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a3f3c01a570bb6ff3d6a2ff3c78611a15b8bac39cbcfa5b45c441fd967b1704f
MD5 795ce0b7554982dafbead5296d58a7fd
BLAKE2b-256 2e8544922d01f3db72539c584b2d216b1b27bca999646e677069e61b8b76d479

See more details on using hashes here.

File details

Details for the file bcex-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: bcex-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for bcex-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea13bcca54e5d9afc6b0b76734bbd759cb85263ed8b6c1acbc3ead4abdc6c897
MD5 1eee20d49eceb88d5d26651134408f3d
BLAKE2b-256 547845d2cde16f1448266c2d79178312942570cf8b907807e90d86b2401407e4

See more details on using hashes here.

Supported by

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