coinbaseadvanced-0.2.0
توضیحات
Coinbase Advanced Trade API client library.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | coinbaseadvanced-0.2.0 |
| نام | coinbaseadvanced |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Camilo Quintas |
| ایمیل نویسنده | kmiloc89@gmail.com |
| آدرس صفحه اصلی | https://github.com/KmiQ/coinbase-advanced-python/ |
| آدرس اینترنتی | https://pypi.org/project/coinbaseadvanced/ |
| مجوز | MIT |
# Coinbase Advanced
Python library for the Coinbase Advanced Trade API.
## Features
- Support for all the [REST API endpoints](https://docs.cloud.coinbase.com/advanced-trade-api/docs/rest-api-overview) trough convenient methods.
- Automatic parsing of API responses into relevant Python objects.
- Support for [API Key](https://docs.cloud.coinbase.com/advanced-trade-api/docs/rest-api-auth) 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.
نیازمندی
| مقدار | نام |
|---|---|
| >=2.28.1 | requests |
| >=0.10.1 | requests-toolbelt |
| >=1.5.4 | typed-ast |
| >=4.4.0 | typing-extensions |
نحوه نصب
نصب پکیج whl coinbaseadvanced-0.2.0:
pip install coinbaseadvanced-0.2.0.whl
نصب پکیج tar.gz coinbaseadvanced-0.2.0:
pip install coinbaseadvanced-0.2.0.tar.gz