https://github.com/walkr/cryex
Clients for various cryptocurrency exchanges.
https://github.com/walkr/cryex
cryptocurrency kraken poloniex python
Last synced: about 2 months ago
JSON representation
Clients for various cryptocurrency exchanges.
- Host: GitHub
- URL: https://github.com/walkr/cryex
- Owner: walkr
- License: mit
- Created: 2016-02-14T10:21:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-30T03:20:09.000Z (almost 9 years ago)
- Last Synced: 2025-03-20T06:04:49.374Z (3 months ago)
- Topics: cryptocurrency, kraken, poloniex, python
- Language: Python
- Homepage:
- Size: 77.1 KB
- Stars: 4
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
# Cryex
Clients for various cryptocurrency exchanges.
[](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.