Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

This is a tool for CryptoCoin Exchange api

Project description

Build Status Coverage Status

cryptojp == Python client for cryptocoin exchanges

Description

  • cryptojp is a python client for crypto coin trade.

HOW TO install

pip install cryptojp

or

pip install git+https://github.com/airking05/cryptojp

Development Status

  Bitflyer Coincheck Btcbox Quoine Kraken Hitbtc Binance
ticker()
markets()
board()  
order()  
balance()    

next binance,poloniex…

HOW TO USE

Ticker

>>> from exchanges import NewExchange
>>> APIKEY = "aaaaaaaaaaaaaa"
>>> SECRET_KEY = "bbbbbbbbbbbbbb"

>>> bitflyer=NewExchange("bitflyer", API_KEY, SECRET_KEY)
>>> bitflyer.markets()
('BTC_JPY', 'FX_BTC_JPY', 'ETH_BTC', 'BCH_BTC', 'BTCJPY05JAN2018', 'BTCJPY12JAN2018')

>>> for market in bitflyer.markets():
...     print(bitflyer.ticker(market))
...
Ticker(timestamp='2018-01-04T10:54:01.677', last=1779000.0, bid=1779000.0, ask=1779099.0, high=None, low=None, volume=99020.50507241)
Ticker(timestamp='2018-01-04T10:54:01.24', last=1779013.0, bid=1779001.0, ask=1779099.0, high=None, low=None, volume=99019.20607241)
Ticker(timestamp='2018-01-04T10:54:01.303', last=1779013.0, bid=1779001.0, ask=1779099.0, high=None, low=None, volume=99019.33707241)
Ticker(timestamp='2018-01-04T10:54:01.677', last=1779000.0, bid=1779000.0, ask=1779099.0, high=None, low=None, volume=99019.83707241)
Ticker(timestamp='2018-01-04T10:54:02.163', last=1779000.0, bid=1779000.0, ask=1779099.0, high=None, low=None, volume=99019.73707241)
Ticker(timestamp='2018-01-04T10:54:02.367', last=1779000.0, bid=1779000.0, ask=1779099.0, high=None, low=None, volume=99020.77707241)

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
cryptojp-0.6.13-py2.py3-none-any.whl (18.2 kB) Copy SHA256 hash SHA256 Wheel py2.py3

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