init
This commit is contained in:
@@ -739,8 +739,9 @@ 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[len(lower)-2] < lower[len(lower)-1]:
|
||||
sell_price += 5
|
||||
if lower != None:
|
||||
if lower[len(lower)-2] < lower[len(lower)-1]:
|
||||
sell_price += 5
|
||||
|
||||
if last_number in [0, 1, 2]:
|
||||
# 장부가의 마지막 자리수가 0,1,2 라면 (2090, 2091, 2092 -> 2095 에 매도)
|
||||
|
||||
Reference in New Issue
Block a user