Coinbase Advanced Trade API client library.
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.2.0.tar.gz
(13.9 kB
view details)
Built Distribution
File details
Details for the file coinbaseadvanced-0.2.0.tar.gz
.
File metadata
- Download URL: coinbaseadvanced-0.2.0.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d901d617432dff46264f8722e218be6828098c0e4f104228be8854a7811dc89 |
|
MD5 | e86b78e5c203bbbe2ce01b43f3dd5047 |
|
BLAKE2b-256 | ce12e8b439ea09b0fe90f6f815023ba28ea0395132180f0ecaa1850d725e60a2 |
File details
Details for the file coinbaseadvanced-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: coinbaseadvanced-0.2.0-py3-none-any.whl
- Upload date:
- Size: 16.1 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 | 48c45b8f5ca3a19384c74e9344a9e46dfb51eec3758415d9bd59c384af59060d |
|
MD5 | d0d86f3f03f6e6c6664ce0f5cc675faa |
|
BLAKE2b-256 | f9fa1b923ac457a88a22033e307eb5beae6f9921a261b9fb3ca6f4390e1e408c |