Skip to main content

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]

Metadata

Release files for bcex 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bcex 1.0.1
File Size Uploaded
bcex-1.0.1.tar.gz 19.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bcex 1.0.1
File Interpreter ABI Platform
bcex-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 42.1 kB

Release files / bcex-1.0.1.tar.gz

Download URL bcex-1.0.1.tar.gz
Size 19.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a3f3c01a570bb6ff3d6a2ff3c78611a15b8bac39cbcfa5b45c441fd967b1704f
BLAKE2b-256 checksum
How to use checksums
2e8544922d01f3db72539c584b2d216b1b27bca999646e677069e61b8b76d479
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / bcex-1.0.1-py3-none-any.whl

Download URL bcex-1.0.1-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea13bcca54e5d9afc6b0b76734bbd759cb85263ed8b6c1acbc3ead4abdc6c897
BLAKE2b-256 checksum
How to use checksums
547845d2cde16f1448266c2d79178312942570cf8b907807e90d86b2401407e4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page