This commit is contained in:
dsyoon
2023-12-12 13:09:45 +09:00
parent f5e31b7025
commit 8076a34c48

View File

@@ -454,7 +454,10 @@ class HTS_etf(HTS):
if (int(THIS_TIME.strftime("%M")) % 50 == 0 or int(THIS_TIME.strftime("%M")) % 20 == 0):
self.bot.alarm_live(self.stock_code, self.stock_name)
#self.bot.alarm_live(self.stock_code, self.stock_name)
self.bot.sendMsg("Alive... {} ({}) avg: {:.2f}, close: {:.2f}".format(self.stock_code,
self.stock_name,
buy_avg, data['close'][-1]))
time.sleep(60)
THIS_TIME = datetime.now()