Clients for Ethereum cryptocurrency exchanges
Project description
Clients for various cryptocurrency exchanges.
Exchanges supported:
Kraken
Poloniex
Features supported:
Get ticker
… more to come …
Usage:
from cryex import Poloniex, Kraken
# Public
client = Poloniex()
ticker_data = client.public.ticker('eth_btc')
trades = client.public.trades('eth_btc')
currencies = client.public.currencies()
# Private
client = Poloniex(key='your-key', secret='your-secret')
bal = client.private.balances()
bath_eth = client.private.balances('eth')
client.private.buy('eth_btc', price, amount)
print(ticker_data)
{ 'low24h': 0.0110211, 'last': 0.0121899, 'exchange': 'poloniex', 'volume24h': 1350859.34589662, 'high24h': 0.0140101, 'pair': 'eth_btc' }
FAQ:
Why are you using namedtuple objects for asks, bids and public trades? To save space.
History
0.1.0 (2016-1-22)
First release on PyPI.
0.1.2
Return ticker values as Decimal
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
cryex-0.1.10.tar.gz
(46.5 kB
view hashes)
Built Distribution
Close
Hashes for cryex-0.1.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5cc8dcdc6d8c2ba2966badacaf98d924e615440b375ea2b1f09a0cce168c294 |
|
MD5 | 8e40dc95f6620a18f62ad6d64de173f7 |
|
BLAKE2b-256 | 6f893c42345a7c36ebb8fac3d64a8bf6131eaf806856fbf23314f700830839c5 |