Trading API Wrappers
Python 3.6+ clients for popular Crypto Exchanges and other useful services.
Disclaimer: Still at an early stage of development. Rapidly evolving APIs.
Supported APIs:
Installation
Requirements
- Python 3.6+
To install, simply use poetry (or pip, of course):
$ poetry add trading-api-wrappers
Dev setup
$ poetry install
Rename .env.example to .env and configure your credentials (for tests)
Usage
Buda
Public API:
from trading_api_wrappers import Buda
client = Buda.Public()
Authenticated API:
from trading_api_wrappers import Buda
client = Buda.Auth(API_KEY, API_SECRET)
Buda API Doc: https://api.buda.com
Bitfinex
Public API:
from trading_api_wrappers import Bitfinex
client = Bitfinex.Public()
Authenticated API:
from trading_api_wrappers import Bitfinex
client = Bitfinex.Auth(API_KEY, API_SECRET)
Bitfinex API Doc: https://bitfinex.readme.io/v1/docs
Bitstamp
Public API:
from trading_api_wrappers import Bitstamp
client = Bitstamp.Public()
Authenticated API:
from trading_api_wrappers import Bitstamp
client = Bitstamp.Auth(API_KEY, API_SECRET, CUSTOMER_ID)
Bitstamp API Doc: https://www.bitstamp.net/api
Kraken
Public API:
from trading_api_wrappers import Kraken
client = Kraken.Public()
Authenticated API:
from trading_api_wrappers import Kraken
client = Kraken.Auth(API_KEY, API_SECRET)
Kraken API Doc: https://www.kraken.com/help/api
CoinDesk
from trading_api_wrappers import CoinDesk
client = CoinDesk()
CoinDesk API Doc: https://www.coindesk.com/api
CoinMarketCap
from trading_api_wrappers import CoinMarketCap
client = CoinMarketCap()
CoinMarketCap API Doc: https://coinmarketcap.com/api
CryptoMKT
Public API:
from trading_api_wrappers import CryptoMKT
client = CryptoMKT.Public()
Authenticated API:
from trading_api_wrappers import CryptoMKT
client = CryptoMKT.Auth(API_KEY, API_SECRET)
CryptoMKT API Doc: https://developers.cryptomkt.com
OpenExchangeRates
from trading_api_wrappers import OXR
client = OXR(APP_ID)
OpenExchangeRates API Doc: https://docs.openexchangerates.org
CurrencyLayer
from trading_api_wrappers import CurrencyLayer
client = CurrencyLayer(ACCESS_KEY)
CurrencyLayer API Doc: https://currencylayer.com/documentation
Licence
The MIT License
Copyright © 2017 Felipe Aránguiz | Sebastián Aránguiz
See LICENSE
Donations
Bitcoin:
186kDw9LFcPvup17YSrWZbFqdZzELUFad3
Ether:
0xeF38fA6c0a37A1BdB60CADd7f6e71F351F6d2583
Release files for trading-api-wrappers 0.18.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trading-api-wrappers-0.18.1.tar.gz | 37.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trading_api_wrappers-0.18.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 87.3 kB
Release files / trading-api-wrappers-0.18.1.tar.gz
| Download URL | trading-api-wrappers-0.18.1.tar.gz |
|---|---|
| Size | 37.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0866f1d843fcc2dac4be5a9c37708c3ab32f571cccc11f82c2788622f0b02e48
|
|
BLAKE2b-256 checksum How to use checksums |
e2f7b1f36f38370f888c884d2559514f74d8ce622553881e9b1338ef453f0a4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.2 Linux/5.10.43.3-microsoft-standard-WSL2
|
Release files / trading_api_wrappers-0.18.1-py3-none-any.whl
| Download URL | trading_api_wrappers-0.18.1-py3-none-any.whl |
|---|---|
| Size | 50.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d7f157c6b2a799cac293b13908573e7174cdd1dfd339c1bfe8bce1a8b5eed68
|
|
BLAKE2b-256 checksum How to use checksums |
a5a0733870258b7c9f108061ef9550ecef259eefbd07e2e286777d8e1a4f2ceb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.2 Linux/5.10.43.3-microsoft-standard-WSL2
|