Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

liqui.io api wrapper

Project description

# liqui

a minimal [liqui.io api](https://liqui.io/api) wrapper

## installation

```
pip install liqui
```

## usage

```python
from liqui import Liqui
from somewhere_else import key, secret

liqui = Liqui(key, secret)

# public api
liqui.info()
liqui.ticker('eth_btc')
liqui.depth('eth_btc')
liqui.trades('eth_btc')

# private api
liqui.get_info()
liqui.active_orders()
liqui.order_info(314159265)
liqui.cancel_order(271828182)
liqui.trade('eth_btc', 'sell', 0.13, 10)
liqui.trade_history()

# convenience methods
liqui.balances()
liqui.sell('eth_btc', 0.14, 10)
liqui.buy('eth_btc', 0.12, 10)
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for liqui, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size liqui-1.0.1.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page