Skip to main content

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 Poloniex
ticker()
markets()
board()
order()
balance()
is_excuted()                

next binance…

HOW TO USE

Ticker

from exchanges import NewExchange

APIKEY = "aaaaaaaaaaaaaa"
SECRET_KEY = "bbbbbbbbbbbbbb"

binance = NewExchange("binance", APIKEY, SECRET_KEY)
poloniex = NewExchange("poloniex", APIKEY, SECRET_KEY)


bitflyer=NewExchange("bitflyer", APIKEY, SECRET_KEY)
print(bitflyer.markets())

('BTC_JPY', 'FX_BTC_JPY', 'ETH_BTC', 'BCH_BTC', 'BTCJPY05JAN2018', 'BTCJPY12JAN2018')

tick = bitflyer.ticker("btc_jpy")
print(tick)

Ticker(timestamp='2018-01-04T10:54:01.677', last=1779000.0, bid=1779000.0, ask=1779099.0, high=None, low=None, volume=99020.50507241)

print(tick.last)

 1779000.0

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 cryptojp, version 0.7.0
Filename, size File type Python version Upload date Hashes
Filename, size cryptojp-0.7.0-py2.py3-none-any.whl (19.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page