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')
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`
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')
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.21.tar.gz
(47.0 kB
view details)
Built Distribution
File details
Details for the file cryex-0.1.21.tar.gz
.
File metadata
- Download URL: cryex-0.1.21.tar.gz
- Upload date:
- Size: 47.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4188f26319fde3a6b576b4c78c726615d6e47b8cfe685b9bf1d5a8b20aa3cb13 |
|
MD5 | 9a180b4de665ce516605d9c17cf24e4a |
|
BLAKE2b-256 | 9d4ad1c19dd7c54de6eab94c76589dab6ae1735aeb4605c39e5a3a87884c2363 |
File details
Details for the file cryex-0.1.21-py2.py3-none-any.whl
.
File metadata
- Download URL: cryex-0.1.21-py2.py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f74c1d86ddea65bff136ea4d4a2f7c91313484c8766144cf70eceff067382bb9 |
|
MD5 | a676c16ae3faf5e1172cc31c69d674bc |
|
BLAKE2b-256 | 629760face4d1a78576421197f5847d7a61654431ec202e95bba648451d0630d |