diff --git a/Cryptsy.py b/Cryptsy.py index 32f63e1..5bdf90e 100755 --- a/Cryptsy.py +++ b/Cryptsy.py @@ -33,7 +33,7 @@ def api_query(self, method, req={}): return json.loads(ret.read()) else: req['method'] = method - req['nonce'] = int(time.time()) + req['nonce'] = int(time.time()*1000) post_data = urllib.urlencode(req) sign = hmac.new(self.Secret, post_data, hashlib.sha512).hexdigest()