|
@@ -156,8 +156,8 @@ class MarketMonitor:
|
|
|
try:
|
|
|
loop_count = 0
|
|
|
while self._monitoring_active:
|
|
|
- # 🆕 PHASE 2: Check active trades for pending stop loss activation first (highest priority)
|
|
|
- await self._activate_pending_stop_losses_from_active_trades()
|
|
|
+ # 🆕 PHASE 4: Check trades table for pending stop loss activation first (highest priority)
|
|
|
+ await self._activate_pending_stop_losses_from_trades()
|
|
|
|
|
|
await self._check_order_fills()
|
|
|
await self._check_price_alarms()
|