This commit is contained in:
dosangyoon
2022-09-05 10:03:53 +09:00
parent c4042df89c
commit 19a98701bd
2 changed files with 3 additions and 3 deletions

View File

@@ -125,7 +125,7 @@ class HTS_122630 (HTS):
self.cancelOrderList(orderListToCancel)
# 매도 한다.
self.getSellingPrice(THIS_TIME, self.stock_code, final_price, diff=10)
self.getSellingPrice(THIS_TIME, self.stock_code, final_price, diff=0)
# 로그 출력

View File

@@ -127,7 +127,7 @@ class HTS_252670 (HTS):
self.cancelOrderList(orderListToCancel)
# 매도한다.
self.getSellingPrice(THIS_TIME, self.stock_code, final_price, diff=5)
self.getSellingPrice(THIS_TIME, self.stock_code, final_price, diff=0)
# 로그 출력
print("TIMECHECK: %s, price: %d, avg3: %.2f, avg5: %.2f, avg10: %.2f, slow_k: %.2f, open: %d, high: %d, low: %d" %
@@ -151,7 +151,7 @@ class HTS_252670 (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)
self.getSellingPrice(THIS_TIME, self.stock_code, final_price=0)
final_sell_check = True