Trading API Wrappers for Python 3.6.
Project description
Trading API Wrappers. Tested on Python 3.6
Supported APIs:
Dev setup
Install the libs
$ pip install -r requirements.txt
Rename .env.example to .env
Installation
$ pip install trading-api-wrappers
Usage
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
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
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
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
Built Distribution
Hashes for trading-api-wrappers-0.9.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c570c76c96211cc242d6982daedf2e8c68998caad2d3b97457ba0405dbe5971 |
|
MD5 | d2d9f62ff860fd36bb5c84d8968ea023 |
|
BLAKE2b-256 | 208f1a5247af1a61ec90982b5c0bbe8cd7d10c1c036a52c1ccf5ae0fdaf2ed47 |
Hashes for trading_api_wrappers-0.9.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fc4d4f0ac80239ad6c7f564f2681e516ebcb256bc065993787ad2bd732d84c7 |
|
MD5 | 216421ac0fbbbcc82db958310cdc84cf |
|
BLAKE2b-256 | 345debdfa4cbdc8767b0d7692488b61b8bf434bb5959c1aadf48b56db4f713ec |