From f6f3cd6ef214fd3701a58cae2d9669df8ba76fd5 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Wed, 10 Aug 2022 11:42:30 +0900 Subject: [PATCH] init --- HTS_122630.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTS_122630.py b/HTS_122630.py index e3b9192..7d23f29 100644 --- a/HTS_122630.py +++ b/HTS_122630.py @@ -37,7 +37,7 @@ class HTS_122630 (HTS): if jangoDic[code]['매도가능'] > 0: max_price = max(jangoDic[code]['장부가'], final_price) if code == "A"+stock_code: - sell_price = (int(max_price+5) - int(max_price+5) % 5) + 10 + sell_price = (int(max_price+5) - int(max_price+5) % 5) + 5 if log_time.strftime('%H%M') < "1430": orderNum = self.requestOrder(OrderType.sell, stock_code, jangoDic[code]['매도가능'], sell_price) print("ORDER_SELL", stock_code, log_time.strftime('%Y%m%d %H%M%S'), jangoDic[code]['매도가능'], sell_price)