Clients for Ethereum cryptocurrency exchanges
Project description
# Cryex
Clients for various cryptocurrency exchanges.
[![Build Status](https://travis-ci.org/walkr/cryex.svg?branch=master)](https://travis-ci.org/walkr/cryex)
### Exchanges supported:
* Kraken
* Poloniex
### Features supported:
* Get ticker
* ... more to come ...
### Usage:
```python
from cryex import Poloniex, Kraken
# Public
client = Poloniex()
ticker_data = client.public.ticker('eth_btc')
trades = client.public.trades('eth_btc')
# 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`
Clients for various cryptocurrency exchanges.
[![Build Status](https://travis-ci.org/walkr/cryex.svg?branch=master)](https://travis-ci.org/walkr/cryex)
### Exchanges supported:
* Kraken
* Poloniex
### Features supported:
* Get ticker
* ... more to come ...
### Usage:
```python
from cryex import Poloniex, Kraken
# Public
client = Poloniex()
ticker_data = client.public.ticker('eth_btc')
trades = client.public.trades('eth_btc')
# 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.6.tar.gz
(45.4 kB
view hashes)
Built Distribution
Close
Hashes for cryex-0.1.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b17ba2bbc58ffb396753d5c671f71e0daae0aebfd62d13367b5fae81890c699e |
|
MD5 | 7a2eaac5e2d81db53a17cc4ae9b48d8e |
|
BLAKE2b-256 | 63a3528d56b38d49b077986389fd019a4b1372b7b90728c45367478c5beb1000 |