From 6af08b0f52de08934eda57b07da334132464b733 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Mon, 6 Feb 2023 22:18:01 +0900 Subject: [PATCH] init --- HTS_stocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTS_stocks.py b/HTS_stocks.py index 5c1eb43..08da25d 100644 --- a/HTS_stocks.py +++ b/HTS_stocks.py @@ -142,7 +142,7 @@ class HTS_Stocks (HTS): # 다음 조건이면 매수한다. if len(data) > 10 and max(bsLine['buy'][len(bsLine['buy']) - 1:]) > 1000: - if not self.orderChecker.exist(today, "A" + stock_code, hours=2): + if not self.orderChecker.exist(today, "A" + stock_code, hours=9): last_index = len(bsLine['buy'])-1 if bsLine['buy'][last_index] > 0: