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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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