coinex.com API wrapper
Project description
coinex
A minimal coinex.com API wrapper. Some of the functions accept additional arguments, see the API documentation for those.
installation
pip install coinex.py
usage
from coinex.coinex import CoinEx
from somewhere_else import access_id, secret
coinex = CoinEx(access_id, secret)
# public API
coinex.market_list()
coinex.market_ticker('BCHBTC')
coinex.market_depth('BCHBTC')
coinex.market_deals('BCHBTC')
# private API
coinex.balance_info()
coinex.balance_coin_withdraw_list()
coinex.balance_coin_withdraw('BCH', 'qzjtuuc9nafvfhmwt47z84awltp9gmx7wyma3kvy9v', 0.001)
coinex.balance_coin_withdraw_list(coin_withdraw_id=2465345342)
coinex.balance_coin_withdraw_cancel(coin_withdraw_id=2465345342)
coinex.order_limit('CETBCH', 'sell', 100.0, 10.0)
coinex.order_market('CETBCH', 'buy', 1.0)
coinex.order_ioc('CETBCH', 'sell', 100.0, 10.0)
coinex.order_pending('CETBCH')
coinex.order_finished('CETBCH')
coinex.order_status('CETBCH', 2465345342)
coinex.order_deals(2465345342)
coinex.order_user_deals('CETBCH')
coinex.order_pending_cancel('CETBCH', 2465345342)
coinex.order_mining_difficulty()
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
coinex.py-1.0.4.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coinex.py-1.0.4.tar.gz.
File metadata
- Download URL: coinex.py-1.0.4.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d05b047a18570f75afa047a15a2fe9430b22fae2e18633d51a3c609ae102a2eb
|
|
| MD5 |
2681ebd549ef1a325e4eecf4242a340f
|
|
| BLAKE2b-256 |
387897aa7dd39691f36848ae90480659a723a3a3f5d2b1f26f86e8194d85b6fa
|
File details
Details for the file coinex.py-1.0.4-py3-none-any.whl.
File metadata
- Download URL: coinex.py-1.0.4-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73f592b5a7be6e23d66b69666c8f22c460f1ca169d40da55490a03dd84b7016e
|
|
| MD5 |
3d2b41a0f55dc3c8db0c7c20fc318192
|
|
| BLAKE2b-256 |
f7c18439ac1152108acc9640dc396e50d69395689e7914cf3f8eb87abb0c2899
|