Skip to content

delta575/trading-api-wrappers

Repository files navigation

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.

PyPI - License PyPI - Python Version PyPI PyPI - Status Updates

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

PyPI - License FOSSA Status

The MIT License

Copyright © 2017 Felipe Aránguiz | Sebastián Aránguiz

See LICENSE

FOSSA Status

Donations

Bitcoin:

186kDw9LFcPvup17YSrWZbFqdZzELUFad3

Ether:

0xeF38fA6c0a37A1BdB60CADd7f6e71F351F6d2583

About

Python API wrappers for cryptocurrency exchanges

Resources

License

Stars

Watchers

Forks

Packages

No packages published