Coinbase Advanced Trade API client library.
Reason this release was yanked:
Contains some critical bugs.
Project description
Coinbase Advanced
Python library for the Coinbase Advanced Trade API.
Features
- Support for all the REST API endpoints trough convenient methods.
- Automatic parsing of API responses into relevant Python objects.
- Support for API Key authentication.
Example
from coinbaseadvanced.client import CoinbaseAdvancedTradeAPIClient
# Creating the client.
client = CoinbaseAdvancedTradeAPIClient(api_key='apikeyhere', secret_key='yoursecrethere')
# Listing accounts.
accounts_page = client.list_accounts()
print(accounts_page.size)
# Creating a limit order.
order_created = client.create_limit_order(client_order_id="lknalksdj89asdkl", product_id="ALGO-USD", side=Side.BUY, limit_price=".19", base_size=5)
Installation
pip install coinbaseadvanced
Contributing/Development
Any and all contributions are welcome! The process is simple:
- Fork repo.
- Install Requirements:
pip install -r requirements.txt
. - Make your changes.
- Run the test suite
python -m unittest -v
. - Submit a pull request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
coinbaseadvanced-0.1.0.tar.gz
(12.4 kB
view details)
Built Distribution
File details
Details for the file coinbaseadvanced-0.1.0.tar.gz
.
File metadata
- Download URL: coinbaseadvanced-0.1.0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae655df16b0c45e0935f0087c8e74ad3880b4e8ee89d563c90fcc5c9f52e3fca |
|
MD5 | 9ba8394c5918f36ca771e2f6a8550fa6 |
|
BLAKE2b-256 | b09e2bb35c959df24627edf3b555ac50dd4ebf15f52737e3ff59f35ff94503e7 |
File details
Details for the file coinbaseadvanced-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: coinbaseadvanced-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffb8745b74c5ffbcfa50f17e42a8ec11527b1b8dbc931bc91a5bf8b548ec9c90 |
|
MD5 | 7ad14b390712062edeb7e6e4dc862887 |
|
BLAKE2b-256 | d3ff6125271b1419ace35c1acc2f6179d57d65fef891f84e32fda60158b9dc89 |