This commit is contained in:
dsyoon
2021-09-29 09:12:32 +09:00
parent 7fec0a390b
commit df51b42a6d

View File

@@ -739,6 +739,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[len(lower)-2] < lower[len(lower)-1]:
sell_price += 5