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 hashes)
Built Distribution
Close
Hashes for coinbaseadvanced-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffb8745b74c5ffbcfa50f17e42a8ec11527b1b8dbc931bc91a5bf8b548ec9c90 |
|
MD5 | 7ad14b390712062edeb7e6e4dc862887 |
|
BLAKE2b-256 | d3ff6125271b1419ace35c1acc2f6179d57d65fef891f84e32fda60158b9dc89 |