This commit is contained in:
dsyoon
2023-10-16 13:01:25 +09:00
parent 7aa86c9de7
commit 1255dc1772
4 changed files with 4 additions and 4 deletions

View File

@@ -195,7 +195,7 @@ class HTS_etf(HTS):
print("TIMECHECK: %s, code: %s, buy: %d, sell: %d, open: %d, high: %d, low: %d, macd: %.2f" %
(str(THIS_TIME), self.stock_code, bs_buy_price, bs_sell_price, data["open"][0], data["high"][0], data["low"][0], data["macd"][0]))
if int(THIS_TIME.strftime("%M")) % 10 == 0:
if int(THIS_TIME.strftime("%M")) % 50 == 0:
self.slackBot.post_live_to_slack(self.stock_code, self.stock_name)
time.sleep(60)