빗썸2 bithumb 거래소][ 모든 코인 10초마다 데이터가져오기 bithumb 거래소][ 모든 코인 10초마다 데이터가져오기 ''' write by kyoung chip , jang ''' import threading import urllib2 import locale import json import time import datetime locale.setlocale(locale.LC_ALL, '') class Cbithumb : def __init__(self ): self.url = "" def setUrl( self, url ) : self.url = url def toStr( self , f ) : s = str( format( float( f ),',' ) ) i = s.split(".") return "\%s" % i[0] def coin( self ).. 2017. 10. 2. bithumb 거래소][ 이더리움 10초마다 opening price값 가져오기 bithumb 거래소][ 이더리움 10초마다 opening price값 가져오기 1. timer.py import threading import sys import locale from xcoin_api_client import * import pprint locale.setlocale(locale.LC_ALL, '') class Cbithumb : def __init__(self) : print("Bithumb Public API URI('/public/ticker') Request..."); self.api_key = "api_connect_key"; self.api_secret = "api_secret_key"; self.api = XCoinAPI( self.api_key, self.api_secr.. 2017. 9. 14. 이전 1 다음