feat(execution): AccountOrderWorker로 매수·매도 주문 직렬화

전략별 tick/scan 매도 락 대신 계좌 단일 PriorityQueue로 place를 B-full 직렬화한다.
틱매도 only_code 필터와 inflight 중복 enqueue 방지로 REST 폭주를 줄인다.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Your Name
2026-08-28 16:45:26 +09:00
parent ffe84a9375
commit bc2b1b642c
15 changed files with 541 additions and 207 deletions

View File

@@ -163,7 +163,7 @@ class DbBandStrategy(BaseStrategy):
self.logger.error("DBBAND check_buy 오류 %s: %s", code, e)
return None
def check_sell_signals(self) -> List[Dict]:
def check_sell_signals(self, only_code: Optional[str] = None) -> List[Dict]:
if not self.holdings or bbe is None:
return []