System Logs

Total: 2240924 Errors Live
Clear
Time Level Category Symbol Source Message
03-12 16:19:33 WARN order trailing_stop_engine ⚠️ Trailing stop close order placed but no order_id returned
03-12 16:19:33 INFO order AMD trailing_stop_engine ⚠️ AMD 仓位已不存在,止损单可能已触发成交,跳过重复平仓
03-12 16:19:33 INFO position AMD tiger_client Getting positions for symbol: AMD
03-12 16:19:33 INFO order AMD trailing_stop_engine ✅ AMD take_profit订单已取消: 42523489877903361
03-12 16:19:33 INFO order tiger_client Cancel order 42523489877903361 result: 42523489877903361
03-12 16:19:33 INFO order AMD trailing_stop_engine 📋 AMD 存储的止盈订单ID 42523489877903361 不在挂单中,尝试类型匹配
03-12 16:19:33 INFO order AMD tiger_client Retrieved 0 open orders for AMD
03-12 16:19:33 INFO order AMD trailing_stop_engine ✅ AMD stop_loss订单已取消: 42523986720080896
03-12 16:19:33 INFO order tiger_client Cancel order 42523986720080896 result: 42523986720080896
03-12 16:19:32 INFO order AMD trailing_stop_engine 📋 AMD 存储的止损订单ID 42523986720080896 不在挂单中,尝试类型匹配
03-12 16:19:32 INFO order AMD tiger_client Retrieved 0 open orders for AMD
03-12 16:19:32 INFO general trailing_stop_engine 🔄 SOXX retry cooldown expired, proceeding with attempt 2
03-12 16:19:32 INFO order AMD trailing_stop_engine [AMD] 取消旧退出订单 42524104218134528
03-12 16:19:32 INFO order tiger_client Cancel order 42524104218134528 result: 42524104218134528
03-12 16:19:32 INFO general AMD trailing_stop_engine 📊 Batch API refresh: 18/19 symbols updated: ['PI', 'AAPU', 'AMD', 'IR', 'TSM', 'MS', 'PONY', 'SWKS', 'SLAB', 'VSTL', 'HUBB', 'MSFT', 'ANET', 'GS', 'INTC', 'NVDA', 'QCOM', 'APH']
03-12 16:19:32 INFO general AAPL trailing_stop_engine 🔄 AAPL retry cooldown expired, proceeding with attempt 2
03-12 16:19:31 INFO order AMD trailing_stop_engine 🔔 [PAPER] AMD stop breached and no OCA protection (no_active_oca_group), proceeding with software exit.
03-12 16:19:31 INFO order trailing_stop_engine [MPWR] TS stays ACTIVE with pending exit order None, will re-check each cycle
03-12 16:19:31 WARN order trailing_stop_engine ⚠️ Trailing stop close order placed but no order_id returned
03-12 16:19:31 INFO order trailing_stop_engine ⚠️ MPWR 仓位已不存在,止损单可能已触发成交,跳过重复平仓
03-12 16:19:31 INFO position tiger_client Getting positions for symbol: MPWR
03-12 16:19:31 INFO order trailing_stop_engine ✅ MPWR take_profit订单已取消: 42523320687412224
03-12 16:19:31 INFO order tiger_client Cancel order 42523320687412224 result: 42523320687412224
03-12 16:19:30 INFO order trailing_stop_engine 📋 MPWR 存储的止盈订单ID 42523320687412224 不在挂单中,尝试类型匹配
03-12 16:19:30 INFO general AMD trailing_stop_engine 📊 Batch API refresh: 21/22 symbols updated: ['PI', 'AMD', 'AAPU', 'IR', 'PONY', 'SWKS', 'TSM', 'MS', 'ON', 'SLAB', 'VSTL', 'MSFT', 'ANET', 'GS', 'INTC', 'NVDA', 'QCOM', 'HUBB', 'GOOG', 'AAPL', 'APH']
03-12 16:19:30 INFO order tiger_client Retrieved 0 open orders for MPWR
03-12 16:19:30 INFO order trailing_stop_engine ✅ MPWR stop_loss订单已取消: 42524104351695872
03-12 16:19:30 INFO order tiger_client Cancel order 42524104351695872 result: 42524104351695872
03-12 16:19:30 INFO order trailing_stop_engine 📋 MPWR 存储的止损订单ID 42524104351695872 不在挂单中,尝试类型匹配
03-12 16:19:30 INFO order tiger_client Retrieved 0 open orders for MPWR
03-12 16:19:30 INFO position AMD trailing_stop_engine 📊 Added exit leg to Position for external close: AMD (exit=$198.87, PnL=$-24.24)
03-12 16:19:30 INFO general position_service 📊 [P_AMD_2026-03-12_3] P&L: ours=$8.31 vs Tiger=$-24.24 (using ours, Tiger uses different cost basis)
03-12 16:19:30 INFO position AMD trailing_stop_engine 🛑 Auto-deactivated AMD (paper): position closed externally
03-12 16:19:30 INFO position trailing_stop_engine 📊 Added exit leg to Position for external close: MPWR (exit=$1028.71, PnL=$5.27)
03-12 16:19:30 INFO position position_service 📦 Position P_MPWR_2026-03-12_4 CLOSED. P&L=$26.99 (close_source=None)
03-12 16:19:30 INFO general position_service 📊 [P_MPWR_2026-03-12_4] P&L: ours=$26.99 vs Tiger=$5.27 (using ours, Tiger uses different cost basis)
03-12 16:19:30 INFO position trailing_stop_engine 🛑 Auto-deactivated MPWR (paper): position closed externally
03-12 16:19:30 INFO trailing_stop trailing_stop_scheduler 🔄 Full sync: Processing 29 active trailing stop positions (API verification)
03-12 16:19:30 INFO position tiger_client Position: WST, Qty: -152, Cost: 232.4439
03-12 16:19:30 INFO position tiger_client Position: VST, Qty: 64, Cost: 160.6856
03-12 16:19:30 INFO position tiger_client Position: TXN, Qty: -70, Cost: 191.5499
03-12 16:19:30 INFO position TSM tiger_client Position: TSM, Qty: -14, Cost: 339.4428
03-12 16:19:30 INFO position tiger_client Position: TSLA, Qty: -23, Cost: 397.0504
03-12 16:19:30 INFO position tiger_client Position: TSEM, Qty: 29, Cost: 122.5128
03-12 16:19:30 INFO position tiger_client Position: SOXX, Qty: -16, Cost: 331.215
03-12 16:19:30 INFO position tiger_client Position: SMH, Qty: -14, Cost: 389.8689
03-12 16:19:30 INFO position tiger_client Position: SLB, Qty: -216, Cost: 45.4294
03-12 16:19:30 INFO position QCOM tiger_client Position: QCOM, Qty: -59, Cost: 132.3685
03-12 16:19:30 INFO position tiger_client Position: ON, Qty: -161, Cost: 58.1935
03-12 16:19:30 INFO position tiger_client Position: OKLO, Qty: -41, Cost: 60.4268
03-12 16:19:30 INFO position tiger_client Position: MSTR, Qty: -24, Cost: 135.5146
03-12 16:19:30 INFO position tiger_client Position: META, Qty: -10, Cost: 642.315
03-12 16:19:30 INFO position tiger_client Position: MCHP, Qty: -120, Cost: 62.7783
03-12 16:19:30 INFO position LSCC tiger_client Position: LSCC, Qty: -28, Cost: 86.3979
03-12 16:19:30 INFO position tiger_client Position: HOOD, Qty: -36, Cost: 75.9367
03-12 16:19:30 INFO position GOOG tiger_client Position: GOOG, Qty: -8, Cost: 302.3249
03-12 16:19:30 INFO position tiger_client Position: ENTG, Qty: -132, Cost: 109.7945
03-12 16:19:30 INFO position tiger_client Position: CRUS, Qty: -36, Cost: 132.4508
03-12 16:19:30 INFO position COIN tiger_client Position: COIN, Qty: 195, Cost: 196.1379
03-12 16:19:30 INFO position tiger_client Position: CIFR, Qty: -339, Cost: 13.568
03-12 16:19:30 INFO position tiger_client Position: ASX, Qty: -118, Cost: 21.0646
03-12 16:19:30 INFO position tiger_client Position: ARM, Qty: -22, Cost: 115.752
03-12 16:19:30 INFO position tiger_client Position: ALAB, Qty: -382, Cost: 119.3315
03-12 16:19:30 INFO position tiger_client Position: ADI, Qty: -24, Cost: 307.2233
03-12 16:19:30 INFO position AAPL tiger_client Position: AAPL, Qty: 10, Cost: 255.623
03-12 16:19:30 INFO position tiger_client Position: AAL, Qty: -712, Cost: 10.6832
03-12 16:19:29 INFO order trailing_stop_engine [MPWR] 取消旧退出订单 42524103931084800
03-12 16:19:29 INFO order tiger_client Cancel order 42524103931084800 result: 42524103931084800
03-12 16:19:29 INFO position tiger_client Getting positions for symbol: all
03-12 16:19:29 INFO position SOXL tiger_client Position: SOXL, Qty: -96, Cost: 51.386
03-12 16:19:29 INFO position QCML tiger_client Position: QCML, Qty: 1500, Cost: 22.2802
03-12 16:19:29 INFO position ORCX tiger_client Position: ORCX, Qty: 1900, Cost: 16.7397
03-12 16:19:29 INFO position CLSK tiger_client Position: CLSK, Qty: 100, Cost: 15.593
03-12 16:19:29 INFO order trailing_stop_engine 🔔 [PAPER] MPWR stop breached and no OCA protection (no_active_oca_group), proceeding with software exit.
03-12 16:19:29 INFO order trailing_stop_engine 📈 [PAPER] MPWR 反向保护止损修改成功: $1029.25, 新订单ID=42524104351695872
03-12 16:19:29 INFO order trailing_stop_engine 📋 Marked OrderTracker 42524103521092608 as cancelled
03-12 16:19:29 INFO order trailing_stop_engine 📋 Created OrderTracker for stop loss order 42524104351695872
03-12 16:19:29 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42524103521092608 → 42524104351695872 for trade_id=10705
03-12 16:19:29 INFO order tiger_client ✅ Created new stop loss order 42524104351695872 at $1029.25 (cancel+create)
03-12 16:19:29 INFO position tiger_client Getting positions for symbol: all
03-12 16:19:29 INFO order tiger_client 📅 [Paper] Stop LIMIT order: outside_rth=False (trigger=$1029.25, limit=$1024.11)
03-12 16:19:28 INFO order AMD trailing_stop_scheduler - AMD: trigger - No OCA protection (no_active_oca_group): Price $199.63 >= broker stop $198.23
03-12 16:19:28 INFO order trailing_stop_scheduler - MPWR: trigger - No OCA protection (no_active_oca_group): Price $1042.21 >= broker stop $1029.61
03-12 16:19:28 INFO general trailing_stop_scheduler 🔄 Fast check: 2 actions taken
03-12 16:19:28 INFO order AMD trailing_stop_engine [AMD] TS stays ACTIVE with pending exit order 42524104218134528, will re-check each cycle
03-12 16:19:28 INFO order tiger_client ✅ Cancelled old stop loss order 42524103521092608
03-12 16:19:28 INFO order tiger_client Cancel order 42524103521092608 result: 42524103521092608
03-12 16:19:28 WARN order tiger_client ⚠️ Order 42524103521092608 cannot be modified (status=OrderStatus.EXPIRED), falling back to cancel+create
03-12 16:19:28 INFO order trailing_stop_engine 📋 Registered trailing stop close order 42524104218134528 as EXIT_TRAILING (Position #1855)
03-12 16:19:28 INFO order AMD order_tracker_service 📋 Registered order 42524104218134528: AMD exit_trailing (paper)
03-12 16:19:28 INFO order AMD trailing_stop_engine 🔴 Tiger market order placed for AMD: {'order_id': '42524104218134528', 'status': None}
03-12 16:19:28 INFO order trailing_stop_engine 📅 Market order: outside_rth=False, time_in_force=DAY
03-12 16:19:28 INFO position AMD trailing_stop_engine 🔴 盘中时段 → 使用市价单: symbol=AMD, side=BUY, quantity=20
03-12 16:19:28 INFO order AMD trailing_stop_engine 🔴 Tiger close order: symbol=AMD, side=BUY, quantity=20, trigger_price=199.63
03-12 16:19:28 INFO position AMD trailing_stop_engine ✅ AMD 确认仓位存在,方向=空仓,数量: 20
03-12 16:19:28 INFO position AMD tiger_client Position: AMD, Qty: -20, Cost: 199.4695
03-12 16:19:27 INFO order tiger_client 📈 Modifying stop loss: MPWR order 42524103521092608 to $1029.25
03-12 16:19:27 INFO order trailing_stop_engine 📋 MPWR 存储的止损订单ID 42524103521092608 不在挂单中,尝试类型匹配
03-12 16:19:27 INFO order tiger_client Retrieved 0 open orders for MPWR
03-12 16:19:27 INFO position AMD tiger_client Getting positions for symbol: AMD