diff --git a/Bithumb.py b/Bithumb.py index cd4f47f..7e862d1 100644 --- a/Bithumb.py +++ b/Bithumb.py @@ -446,7 +446,7 @@ class Bithumb(HTS): if len(data.index) > 10: today = datetime.today().strftime('%Y%m%d') log_filename = os.path.join(RESOURCE_PATH, 'analysis', 'bithumb', today + '.log') - if not isRealTime and self.exist_buy(ticker, log_filename): + if not isRealTime and not self.exist_buy(ticker, log_filename): if max(bsLine['buy'][len(bsLine['buy']) - 2:]) > 100: balance = self.getBalance(ticker) count = int(balance * (bsLine['buy_weight'][len(bsLine['buy_weight'])-1]/100))