System Logs

Total: 2211074 Errors Live
Clear
Time Level Category Symbol Source Message
03-12 15:39:56 INFO trailing_stop SOXL trailing_stop_engine 🛡️ [SOXL] 反向保护触发: 亏损3.44%, 趋势强度30, 止损从$52.16收紧至$51.48 (收紧系数0.7)
03-12 15:39:56 INFO general trailing_stop_engine 🔄 TXN retry cooldown expired, proceeding with attempt 2
03-12 15:39:56 INFO order trailing_stop_engine [TEM] TS stays ACTIVE with pending exit order None, will re-check each cycle
03-12 15:39:56 WARN order trailing_stop_engine ⚠️ Trailing stop close order placed but no order_id returned
03-12 15:39:56 INFO order trailing_stop_engine ⚠️ TEM 仓位已不存在,止损单可能已触发成交,跳过重复平仓
03-12 15:39:55 INFO position tiger_client Getting positions for symbol: TEM
03-12 15:39:55 INFO order trailing_stop_engine ✅ TEM take_profit订单已取消: 42523128512269312
03-12 15:39:55 INFO order tiger_client Cancel order 42523128512269312 result: 42523128512269312
03-12 15:39:55 INFO order trailing_stop_engine 📋 TEM 存储的止盈订单ID 42523128512269312 不在挂单中,尝试类型匹配
03-12 15:39:55 INFO order tiger_client Retrieved 0 open orders for TEM
03-12 15:39:55 INFO order trailing_stop_engine ✅ TEM stop_loss订单已取消: 42523170196310016
03-12 15:39:55 INFO order tiger_client Cancel order 42523170196310016 result: 42523170196310016
03-12 15:39:55 INFO order trailing_stop_engine 📋 TEM 存储的止损订单ID 42523170196310016 不在挂单中,尝试类型匹配
03-12 15:39:55 INFO order tiger_client Retrieved 0 open orders for TEM
03-12 15:39:54 INFO order trailing_stop_engine 🔔 [PAPER] TEM stop breached and no OCA protection (no_active_oca_group), proceeding with software exit.
03-12 15:39:54 INFO order trailing_stop_engine [DIOD] TS stays ACTIVE with pending exit order 42523793044554752, will re-check each cycle
03-12 15:39:54 INFO order trailing_stop_engine 📋 Registered trailing stop close order 42523793044554752 as EXIT_TRAILING (Position #1851)
03-12 15:39:54 INFO order order_tracker_service 📋 Registered order 42523793044554752: DIOD exit_trailing (paper)
03-12 15:39:54 INFO order trailing_stop_engine 🔴 Tiger market order placed for DIOD: {'order_id': '42523793044554752', 'status': None}
03-12 15:39:53 INFO order trailing_stop_engine 📅 Market order: outside_rth=False, time_in_force=DAY
03-12 15:39:53 INFO position trailing_stop_engine 🔴 盘中时段 → 使用市价单: symbol=DIOD, side=BUY, quantity=40
03-12 15:39:53 INFO order trailing_stop_engine 🔴 Tiger close order: symbol=DIOD, side=BUY, quantity=40, trigger_price=61.955
03-12 15:39:53 INFO position trailing_stop_engine ✅ DIOD 确认仓位存在,方向=空仓,数量: 40
03-12 15:39:53 INFO position tiger_client Position: DIOD, Qty: -40, Cost: 61.095
03-12 15:39:53 INFO position tiger_client Getting positions for symbol: DIOD
03-12 15:39:53 INFO order trailing_stop_engine ✅ DIOD take_profit订单已取消: 42523338274521088
03-12 15:39:53 INFO order tiger_client Cancel order 42523338274521088 result: 42523338274521088
03-12 15:39:53 INFO order tiger_client Open order: 42523338274521088 - BUY 40 DIOD @ 59.94 - Status: OrderStatus.HELD - CanCancel: True
03-12 15:39:53 INFO order tiger_client Retrieved 1 open orders for DIOD
03-12 15:39:53 INFO order trailing_stop_engine ✅ DIOD stop_loss订单已取消: 42523792810460160
03-12 15:39:53 INFO order tiger_client Cancel order 42523792810460160 result: 42523792810460160
03-12 15:39:53 INFO order trailing_stop_engine 📋 DIOD 存储的止损订单ID 42523792810460160 不在挂单中,尝试类型匹配
03-12 15:39:53 INFO order tiger_client Open order: 42523338274521088 - BUY 40 DIOD @ 59.94 - Status: OrderStatus.HELD - CanCancel: True
03-12 15:39:53 INFO order tiger_client Retrieved 1 open orders for DIOD
03-12 15:39:52 ERROR order tiger_client Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在)
03-12 15:39:52 INFO order trailing_stop_engine 🔔 [PAPER] DIOD stop breached and no OCA protection (no_active_oca_group), proceeding with software exit.
03-12 15:39:52 INFO order trailing_stop_engine 📈 [PAPER] DIOD 反向保护止损修改成功: $61.66, 新订单ID=42523792810460160
03-12 15:39:52 INFO order trailing_stop_engine 📋 Marked OrderTracker 42523791246248960 as cancelled
03-12 15:39:52 INFO order trailing_stop_engine 📋 Created OrderTracker for stop loss order 42523792810460160
03-12 15:39:52 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42523791246248960 → 42523792810460160 for trade_id=10709
03-12 15:39:52 INFO order tiger_client ✅ Created new stop loss order 42523792810460160 at $61.66 (cancel+create)
03-12 15:39:52 INFO order tiger_client 📅 [Paper] Stop LIMIT order: outside_rth=False (trigger=$61.66, limit=$61.35)
03-12 15:39:51 ERROR order tiger_client Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在)
03-12 15:39:51 INFO order tiger_client ✅ Cancelled old stop loss order 42523791246248960
03-12 15:39:51 INFO order tiger_client Cancel order 42523791246248960 result: 42523791246248960
03-12 15:39:51 WARN order tiger_client ⚠️ Order 42523791246248960 cannot be modified (status=OrderStatus.EXPIRED), falling back to cancel+create
03-12 15:39:51 ERROR order tiger_client Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在)
03-12 15:39:50 INFO order tiger_client 📈 Modifying stop loss: DIOD order 42523791246248960 to $61.66
03-12 15:39:50 INFO order trailing_stop_engine 📋 DIOD 存储的止损订单ID 42523791246248960 不在挂单中,尝试类型匹配
03-12 15:39:50 INFO order tiger_client Open order: 42523338274521088 - BUY 40 DIOD @ 59.94 - Status: OrderStatus.HELD - CanCancel: True
03-12 15:39:50 INFO order tiger_client Retrieved 1 open orders for DIOD
03-12 15:39:50 INFO position trailing_stop_scheduler 📊 Tiger holdings cross-check (paper): {'ts_created': 0, 'missing_position': 2, 'external_created': 0}
03-12 15:39:50 INFO position trailing_stop_scheduler [TEM] Tiger holdings cross-check (paper): broker has short 1037.0 shares but no DB position. Starting grace period.
03-12 15:39:50 INFO position trailing_stop_scheduler [SMH] Tiger holdings cross-check (paper): broker has short 12.0 shares but no DB position. Starting grace period.
03-12 15:39:50 INFO order trailing_stop_scheduler 📊 Reconciliation: routed exit 42523791516780544 through OrderTracker → Position closed via add_exit_leg
03-12 15:39:50 INFO order discord_notifier Discord通知发送成功: 📦 Exit filled: TEM trailing_stop 1037@$50.04 P&L=$-90.72 (paper)
03-12 15:39:50 INFO order order_tracker_service ✅ Created ClosedPosition #2780 via _handle_exit_fill for TEM (created)
03-12 15:39:50 INFO order order_tracker_service 📦 Exit fill → TEM trailing_stop: 1037@$50.04, position=CLOSED
03-12 15:39:50 INFO order order_tracker_service 🎯 Deactivated TrailingStopPosition #3421 for TEM via exit_trailing fill (position fully closed)
03-12 15:39:50 INFO position position_service 📦 Position P_TEM_2026-03-12_1 CLOSED. P&L=$-51.20 (close_source=reconciliation)
03-12 15:39:50 INFO general position_service 📊 [P_TEM_2026-03-12_1] P&L: ours=$-51.20 vs Tiger=$-90.72 (using ours, Tiger uses different cost basis)
03-12 15:39:50 INFO position order_tracker_service 📋 Found Position #1840 via position_id (precise match)
03-12 15:39:50 INFO order order_tracker_service 📋 Order 42523791516780544 FILLED (source=reconciliation): TEM exit_trailing qty=1037 price=$50.04 pnl=$-90.72
03-12 15:39:50 INFO order tiger_client Retrieved 100 filled orders
03-12 15:39:50 INFO trailing_stop trailing_stop_engine 🛡️ [DIOD] 反向保护触发: 亏损1.41%, 趋势强度21, 止损从$62.03收紧至$61.66 (收紧系数0.6)
03-12 15:39:50 INFO order trailing_stop_engine 📈 [PAPER] ASX 反向保护止损修改成功: $21.16, 新订单ID=42523792532979712
03-12 15:39:50 INFO order trailing_stop_engine 📋 Marked OrderTracker 42523268257170432 as cancelled
03-12 15:39:50 INFO order trailing_stop_engine 📋 Created OrderTracker for stop loss order 42523792532979712
03-12 15:39:50 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42523268257170432 → 42523792532979712 for trade_id=10688
03-12 15:39:50 INFO order tiger_client ✅ Created new stop loss order 42523792532979712 at $21.16 (cancel+create)
03-12 15:39:50 INFO order tiger_client 📅 [Paper] Stop LIMIT order: outside_rth=False (trigger=$21.16, limit=$21.06)
03-12 15:39:49 INFO order tiger_client ✅ Cancelled old stop loss order 42523268257170432
03-12 15:39:49 INFO order tiger_client Cancel order 42523268257170432 result: 42523268257170432
03-12 15:39:49 WARN order tiger_client ⚠️ Order 42523268257170432 cannot be modified (status=OrderStatus.EXPIRED), falling back to cancel+create
03-12 15:39:49 INFO order tiger_client Getting filled orders from 2026-03-11 to 2026-03-12
03-12 15:39:48 INFO order tiger_client Retrieved 0 filled orders
03-12 15:39:48 INFO order tiger_client 📈 Modifying stop loss: ASX order 42523268257170432 to $21.16
03-12 15:39:48 INFO order trailing_stop_engine 📋 ASX 存储的止损订单ID 42523268257170432 不在挂单中,尝试类型匹配
03-12 15:39:48 INFO order tiger_client Open order: 42523267815065600 - BUY 120 ASX @ 19.89 - Status: OrderStatus.HELD - CanCancel: True
03-12 15:39:48 INFO order tiger_client Retrieved 1 open orders for ASX
03-12 15:39:48 INFO order tiger_client Getting filled orders from 2026-03-11 to 2026-03-12
03-12 15:39:48 INFO position trailing_stop_scheduler 📊 Exit closure verification: 5 confirmed closed, 0 reactivated (position still open)
03-12 15:39:48 INFO general trailing_stop_scheduler ⏭️ [ADI] TS #3415 skip reactivation: active TS #3443 already exists for paper
03-12 15:39:48 INFO trailing_stop trailing_stop_engine 🛡️ [ASX] 反向保护触发: 亏损0.88%, 趋势强度30, 止损从$21.27收紧至$21.16 (收紧系数0.7)
03-12 15:39:48 INFO general SOXL trailing_stop_engine 📊 Batch API refresh: 20/20 symbols updated: ['MSTR', 'HOOD', 'VST', 'ASX', 'ARM', 'AAL', 'NXPI', 'CRUS', 'TSLA', 'DIOD', 'TEM', 'MPWR', 'TXN', 'UMC', 'MRVL', 'ALAB', 'CRDO', 'SOXL', 'META', 'ADI']
03-12 15:39:47 INFO order trailing_stop_scheduler - TEM: trigger - No OCA protection (no_active_oca_group): Price $50.04 >= trailing stop $49.98
03-12 15:39:47 INFO sync trailing_stop_scheduler 🔄 Full sync complete: 1 actions taken
03-12 15:39:47 INFO order SOXL trailing_stop_engine 📈 [PAPER] SOXL 反向保护止损修改成功: $52.16, 新订单ID=42523792122987520
03-12 15:39:47 INFO order trailing_stop_engine 📋 Marked OrderTracker 42523607436511232 as cancelled
03-12 15:39:47 INFO order trailing_stop_engine 📋 Created OrderTracker for stop loss order 42523792122987520
03-12 15:39:47 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42523607436511232 → 42523792122987520 for trade_id=10771
03-12 15:39:47 INFO order tiger_client ✅ Created new stop loss order 42523792122987520 at $52.16 (cancel+create)
03-12 15:39:46 INFO general TSM trailing_stop_engine 📊 Batch API refresh: 3/3 symbols updated: ['SLB', 'ON', 'TSM']
03-12 15:39:46 INFO general AMD trailing_stop_engine 📊 Batch API refresh: 4/4 symbols updated: ['SLB', 'AMD', 'ON', 'TSM']
03-12 15:39:46 INFO order tiger_client 📅 [Paper] Stop LIMIT order: outside_rth=False (trigger=$52.16, limit=$51.9)
03-12 15:39:45 INFO order tiger_client ✅ Cancelled old stop loss order 42523607436511232
03-12 15:39:45 INFO order tiger_client Cancel order 42523607436511232 result: 42523607436511232
03-12 15:39:45 WARN order tiger_client ⚠️ Order 42523607436511232 cannot be modified (status=OrderStatus.EXPIRED), falling back to cancel+create
03-12 15:39:45 INFO order SOXL tiger_client 📈 Modifying stop loss: SOXL order 42523607436511232 to $52.16
03-12 15:39:45 INFO order SOXL trailing_stop_engine 📋 SOXL 存储的止损订单ID 42523607436511232 不在挂单中,尝试类型匹配