This commit is contained in:
dosangyoon
2021-10-17 00:38:36 +09:00
parent 7cf8b77580
commit f2fa13453d

View File

@@ -597,7 +597,7 @@ class HTS:
print("BUY", THIS_TIME, BUY_COUNT, bs_buy_price) print("BUY", THIS_TIME, BUY_COUNT, bs_buy_price)
if bs_sell_price > 0: if bs_sell_price > 0:
# 매도 주문을 기록다. # 매도 주문을 기록을 가져온다.
orderListToCancel = orderChecker.remove(OrderType.sell, ORDER_LIST) orderListToCancel = orderChecker.remove(OrderType.sell, ORDER_LIST)
# 매도 미체결을 모두 취소한다. # 매도 미체결을 모두 취소한다.
self.cancelOrderList(orderListToCancel) self.cancelOrderList(orderListToCancel)