This commit is contained in:
dosangyoon
2022-02-07 03:38:15 +09:00
parent 3db4f6e72d
commit 93966cea1e
8 changed files with 76 additions and 38 deletions

View File

@@ -1019,7 +1019,7 @@ class HTS:
sell_price = int(jangoDic[code]['장부가'] / 10) * 10
# 만약 오후 1시 이전이라면 한 호가 (5원) 더 올려서 매도한다.
if datetime.now() < datetime.strptime(given_day + " 104000", '%Y%m%d %H%M%S'):
if lower != None:
if lower is not None:
if lower[len(lower)-2] < lower[len(lower)-1]:
sell_price += 5