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: