From 4d166a17f8d94f55a29d2abe0f81a22dddf765fe Mon Sep 17 00:00:00 2001 From: dsyoon Date: Wed, 10 Aug 2022 11:54:25 +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 7d23f29..e3b9192 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) + 5 + sell_price = (int(max_price+5) - int(max_price+5) % 5) + 10 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)