This commit is contained in:
dsyoon
2023-10-16 10:52:44 +09:00
parent 8bb8e8b09a
commit 90b3327716
4 changed files with 62 additions and 37 deletions

View File

@@ -145,7 +145,7 @@ class HTS_etf(HTS):
# 미체결 기록을 가져와서 10분 이상 된 매수 주문을 취소 한다.
ORDER_LIST = self.requestOrderList()
orderListToCancel = self.orderChecker.cancel(today, "A" + stock_code, ORDER_LIST, mins=10)
orderListToCancel = self.orderChecker.cancel(today, "A" + stock_code, ORDER_LIST, mins=30)
if len(orderListToCancel) > 0:
self.cancelOrderList(orderListToCancel)