Skip to main content

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:

  1. Fork repo.
  2. Install Requirements: pip install -r requirements.txt.
  3. Make your changes.
  4. Run the test suite python -m unittest -v.
  5. Submit a pull request.

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

coinbaseadvanced-0.1.1.tar.gz (12.7 kB view details)

Uploaded Source

Built Distributions

coinbaseadvanced-0.1.1-py3.7.egg (32.9 kB view details)

Uploaded Source

coinbaseadvanced-0.1.1-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file coinbaseadvanced-0.1.1.tar.gz.

File metadata

  • Download URL: coinbaseadvanced-0.1.1.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.5

File hashes

Hashes for coinbaseadvanced-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a8e64586c86da3f24c632ea21c005b81e3062451bc66ecf3629265efaa86f017
MD5 f2c940fa1a7f87885587e12a56ad2e8d
BLAKE2b-256 558d78faaa64063ae3fe130f1344d49a0c689598f6cdedfe8f34425d087a280b

See more details on using hashes here.

File details

Details for the file coinbaseadvanced-0.1.1-py3.7.egg.

File metadata

  • Download URL: coinbaseadvanced-0.1.1-py3.7.egg
  • Upload date:
  • Size: 32.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.5

File hashes

Hashes for coinbaseadvanced-0.1.1-py3.7.egg
Algorithm Hash digest
SHA256 ffbee74748da95dcb187dd2193f56c158e1dbe99bff38da964f68f51bf9d04ea
MD5 f9280d317917058a2afd07f80f190007
BLAKE2b-256 51afdde4654b4642ab95b7bc2a914db87d9d78143e5166db8fd4e4e1202266fd

See more details on using hashes here.

File details

Details for the file coinbaseadvanced-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for coinbaseadvanced-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ac51a6722c71e3a2e404775859bd9fcfc8d5e678b0f1352c2252095bab64a89
MD5 e5a8b54b989bbb3101c1b709d6ed6f15
BLAKE2b-256 1a8dc6516ddf260625118d339b33f11089c9dcb82158e61efafabbc9cda5f526

See more details on using hashes here.

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