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
usage
from coinex import CoinEx
from somewhere_else import access_id, secret
coinex = CoinEx(access_id, secret)
# public API
coinex.market_list()
coinex.market_ticker('BTCBCH')
coinex.market_depth('BTCBCH')
coinex.market_deals('BTCBCH')
# private API
coinex.balance()
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.2.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for coinex.py-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a066b7abce11ebdd091f6abb381536f655fa6fee78478584cf6e0e4fdec9f6e1 |
|
MD5 | d1ee43d925545e33f6742b6c23dc8aee |
|
BLAKE2b-256 | b5e02d55b352c5e5f810f59df94c13a0cb3d1ca33df13e93be4a1b2827e9057a |