This commit is contained in:
dsyoon
2023-02-06 22:18:01 +09:00
parent a87d453519
commit 6af08b0f52

View File

@@ -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: