init
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user