This commit is contained in:
dsyoon
2023-01-28 20:43:06 +09:00
parent ea759a474e
commit af152209a8
2 changed files with 11 additions and 10 deletions

View File

@@ -122,7 +122,7 @@ class HTS_DAILY (HTS):
# 다음 조건이면 매수한다.
if len(data.index) > 10 and max(bsLine['buy'][len(bsLine['buy']) - 1:]) > 1000:
if not self.orderChecker.exist(today, stock_code, hours=4):
if not self.orderChecker.exist(today, stock_code, hours=2):
last_index = len(bsLine['buy'])-1
if bsLine['buy'][last_index] > 0:
bs_buy_price = bsLine['buy'][last_index]