This commit is contained in:
dsyoon
2023-10-19 21:19:49 +09:00
parent a0328566e9
commit 389b3c13ad
4 changed files with 4 additions and 0 deletions

View File

@@ -208,6 +208,7 @@ class HTS_etf(HTS):
if (int(THIS_TIME.strftime("%M")) % 50 == 0 or int(THIS_TIME.strftime("%M")) % 20 == 0):
self.slackBot.post_live_to_slack(self.stock_code, self.stock_name, data["close"][len(data["close"])-1], data["macd"][len(data["macd"])-1])
logFp.flush()
time.sleep(60)
THIS_TIME = datetime.now()