diff --git a/altrank.py b/altrank.py index 4378f7b..f090953 100755 --- a/altrank.py +++ b/altrank.py @@ -414,10 +414,12 @@ def find_pairs(thebot): base = thebot["pairs"][0].split("_")[0] exchange = thebot["account_name"] minvolume = thebot["min_volume_btc_24h"] + if not minvolume: + minvolume = 0.0 - logger.debug("Bot base currency: %s" % base) - logger.debug("Bot exchange: %s" % exchange) - logger.debug("Bot minimal 24h BTC volume: %s" % minvolume) + logger.info("Bot base currency: %s" % base) + logger.info("Bot exchange: %s" % exchange) + logger.info("Bot minimal 24h BTC volume: %s" % minvolume) # Start fresh newpairs = list() diff --git a/compound.py b/compound.py index 2b4cd20..c4ad7ea 100755 --- a/compound.py +++ b/compound.py @@ -241,7 +241,7 @@ def get_threecommas_deals(botid): if error: logger.error("Fetching deals failed with error: %s" % error) else: - logger.info("Fetched the last %s deals for this bot OK" % len(data)) + logger.info("Fetched the deals for this bot OK (%s deals)" % len(data)) return data diff --git a/galaxyscore.py b/galaxyscore.py index 4378f7b..f090953 100755 --- a/galaxyscore.py +++ b/galaxyscore.py @@ -414,10 +414,12 @@ def find_pairs(thebot): base = thebot["pairs"][0].split("_")[0] exchange = thebot["account_name"] minvolume = thebot["min_volume_btc_24h"] + if not minvolume: + minvolume = 0.0 - logger.debug("Bot base currency: %s" % base) - logger.debug("Bot exchange: %s" % exchange) - logger.debug("Bot minimal 24h BTC volume: %s" % minvolume) + logger.info("Bot base currency: %s" % base) + logger.info("Bot exchange: %s" % exchange) + logger.info("Bot minimal 24h BTC volume: %s" % minvolume) # Start fresh newpairs = list()