init
This commit is contained in:
@@ -125,7 +125,7 @@ class HTS_122630 (HTS):
|
||||
self.cancelOrderList(orderListToCancel)
|
||||
|
||||
# 매도 한다.
|
||||
self.getSellingPrice(THIS_TIME, self.stock_code, final_price, diff=0)
|
||||
self.getSellingPrice(THIS_TIME, self.stock_code, final_price, diff=5)
|
||||
|
||||
|
||||
# 로그 출력
|
||||
@@ -151,7 +151,7 @@ class HTS_122630 (HTS):
|
||||
result = self.getRealTime(self.stock_code, today, LAST_DATA)
|
||||
final_price = result["close"][len(result["close"]) - 1]
|
||||
|
||||
self.getSellingPrice(THIS_TIME, self.stock_code, final_price=0)
|
||||
self.getSellingPrice(THIS_TIME, self.stock_code, final_price=5)
|
||||
|
||||
final_sell_check = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user