init
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user