From 1277fc34f9ee4a1699cff9ea590fd5e74d6c3a24 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Thu, 14 Dec 2023 12:39:19 +0900 Subject: [PATCH] init --- HTS_etf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/HTS_etf.py b/HTS_etf.py index 2857126..4cae156 100644 --- a/HTS_etf.py +++ b/HTS_etf.py @@ -485,7 +485,8 @@ class HTS_etf(HTS): if len(orderListToCancel) > 0: self.cancelOrderList(orderListToCancel) """ - if (int(THIS_TIME.strftime("%M")) % 50 == 0 or int(THIS_TIME.strftime("%M")) % 20 == 0): + + if ((int(THIS_TIME.strftime("%M")) == 4) and 0 <= int(THIS_TIME.strftime("%S")) <= 59): #self.bot.alarm_live(stock_code, stock_name) vm = psutil.virtual_memory() vm_item = dict()