1. Nik Cubrilovic
  2. cexbot

Commits

Nik Cubrilovic  committed 5040d84

0.0.6

  • Participants
  • Parent commits b5c5f41
  • Branches master

Comments (0)

Files changed (3)

File VERSION

View file
  • Ignore whitespace
-0.0.5d1
+0.0.6d1

File cexbot/__init__.py

View file
  • Ignore whitespace
 import sys
 import os
 
-VERSION = (0, 0, 5, 'dev', 1)
+VERSION = (0, 0, 6, 'dev', 1)
 
 __clsname__ = 'cexbot'
 __author__ = 'Nik Cubrilovic <nikcub@gmail.com>'

File cexbot/cexapi.py

View file
  • Ignore whitespace
   def buy_balance(self, balance_threshold=0.0001):
     balance = self.get_balance()
     if not balance:
-      logging.debug("Balance error")
       return False
     if balance < balance_threshold:
-      logging.debug("Balance %s less then threshold %s" % (balance, balance_threshold))
       return False
     price = self.get_market_quote()
     if not price:
-      logging.debug('orice error')
+      logging.error('price error')
       return False
     price = float(price)
     balance = float(balance)