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)
```
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
liqui-0.1.0.tar.gz
(1.9 kB
view details)
File details
Details for the file liqui-0.1.0.tar.gz
.
File metadata
- Download URL: liqui-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da1b51aaee709fc967fbc481a9ac7476e1bc8e724020f8271041a3642ce6b461 |
|
MD5 | 787d3215a14402c19993cafbe4f88b75 |
|
BLAKE2b-256 | 73bcaf01223f0cff7429fad99dde08d7ce745d82e1fea5879587f5add3fe64e2 |