System Logs

Total: 972153 Errors Live
Clear
Time Level Category Symbol Source Message
03-03 21:31:05 INFO order trailing_stop_scheduler 🔧 Backfill: no matching exit data found for 72 positions
03-03 21:30:57 INFO order trailing_stop_scheduler 🔧 Backfill: found 72 closed positions missing exit data
03-03 21:30:56 INFO general root 📊 Database log handler initialized
03-03 21:30:38 INFO order tiger_client Order 42424401663755264 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=21, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True
03-03 21:30:37 INFO order tiger_client Order 42424401663755264 available attributes: ['account', 'action', 'active', 'adjust_limit', 'algo_params', 'algo_strategy', 'attr_desc', 'attr_list', 'aux_price', 'avg_fill_price', 'can_modify', 'charges', 'combo_type', 'combo_type_desc', 'commission', 'contract', 'contract_legs', 'discount', 'expire_time', 'external_id', 'filled', 'filled_cash_amount', 'filled_scale', 'gst', 'id', 'is_open', 'is_partially_filled', 'latest_price', 'limit_price', 'liquidation', 'order_id', 'order_legs', 'order_time', 'order_type', 'orders', 'outside_rth', 'parent_id', 'percent_offset', 'quantity', 'quantity_scale', 'realized_pnl', 'reason', 'refund_cash_amount', 'remaining', 'secret_key', 'source', 'status', 'sub_ids', 'time_in_force', 'to_dict', 'total_cash_amount', 'trade_time', 'trading_session_type', 'trail_stop_price', 'trailing_percent', 'update_time', 'user_mark']
03-03 21:30:16 INFO order trailing_stop_scheduler - SKYT: trigger - No OCA protection (no_active_oca_group): Price $29.77 <= broker stop $29.82
03-03 21:30:16 INFO general trailing_stop_scheduler 🔄 Fast check: 1 actions taken
03-03 21:29:32 INFO general trailing_stop_engine 🔄 SYNA retry cooldown expired, proceeding with attempt 2
03-03 21:29:14 INFO order trailing_stop_engine [SKYT] TS stays ACTIVE with pending exit order None, will re-check each cycle
03-03 21:29:03 WARN order trailing_stop_engine ⚠️ Trailing stop close order placed but no order_id returned
03-03 21:29:03 INFO order trailing_stop_engine 🔴 Tiger limit order placed for SKYT: {'order_id': None, 'status': None}
03-03 21:29:02 INFO order trailing_stop_engine 📅 Limit order: outside_rth=True, time_in_force=DAY (Paper)
03-03 21:29:02 INFO position trailing_stop_engine 🔴 盘前盘后 → 使用限价单: symbol=SKYT, side=SELL, quantity=84, limit=$29.62
03-03 21:29:02 INFO order trailing_stop_engine 🔴 Tiger close order: symbol=SKYT, side=SELL, quantity=84, trigger_price=29.77
03-03 21:29:02 INFO position trailing_stop_engine ✅ SKYT 确认仓位存在,方向=多仓,数量: 84
03-03 21:29:02 INFO position tiger_client Position: SKYT, Qty: 84, Cost: 29.8955
03-03 21:29:01 INFO position tiger_client Getting positions for symbol: SKYT
03-03 21:29:01 INFO order trailing_stop_engine ✅ SKYT take_profit订单已取消: 42422752162087936
03-03 21:29:01 INFO order tiger_client Cancel order 42422752162087936 result: 42422752162087936
03-03 21:29:00 INFO order trailing_stop_engine 📋 SKYT 存储的止盈订单ID 42422752162087936 不在挂单中,尝试类型匹配
03-03 21:29:00 INFO order tiger_client Retrieved 0 open orders for SKYT
03-03 21:28:58 INFO order trailing_stop_engine ✅ SKYT stop_loss订单已取消: 42424592251356160
03-03 21:28:58 INFO order tiger_client Cancel order 42424592251356160 result: 42424592251356160
03-03 21:28:55 INFO order tiger_client Open order: 42424592251356160 - SELL 84 SKYT @ 29.67 - Status: OrderStatus.HELD - CanCancel: True
03-03 21:28:55 INFO order tiger_client Retrieved 1 open orders for SKYT
03-03 21:28:33 INFO position tiger_client Position: TSEM, Qty: -98, Cost: 127.5822
03-03 21:28:33 INFO position tiger_client Position: SYNA, Qty: -64, Cost: 77.4013
03-03 21:28:33 INFO position tiger_client Position: SKYT, Qty: 84, Cost: 29.8955
03-03 21:28:33 INFO position tiger_client Position: NA, Qty: 729, Cost: 3.0059
03-03 21:28:33 INFO position tiger_client Position: DIOD, Qty: -73, Cost: 67.8311
03-03 21:28:33 INFO position tiger_client Position: CRUS, Qty: -168, Cost: 138.5857
03-03 21:28:33 INFO position COIN tiger_client Position: COIN, Qty: 52, Cost: 185.5544
03-03 21:28:33 INFO position tiger_client Position: AOSL, Qty: -292, Cost: 20.492
03-03 21:28:33 INFO position tiger_client Position: ALGM, Qty: -187, Cost: 34.7416
03-03 21:28:33 INFO position tiger_client Position: ALAB, Qty: -27, Cost: 110.4289
03-03 21:28:32 INFO position tiger_client Getting positions for symbol: all
03-03 21:28:24 INFO position QCML tiger_client Position: QCML, Qty: 1500, Cost: 22.2802
03-03 21:28:24 INFO position ORCX tiger_client Position: ORCX, Qty: 1900, Cost: 16.7397
03-03 21:28:24 INFO position MSTU tiger_client Position: MSTU, Qty: 1000, Cost: 5.1016
03-03 21:28:24 INFO position CLSK tiger_client Position: CLSK, Qty: 100, Cost: 15.593
03-03 21:28:24 INFO position tiger_client Position: ALAB, Qty: 2, Cost: 111.07
03-03 21:28:22 INFO position tiger_client Getting positions for symbol: all
03-03 21:28:21 INFO order trailing_stop_engine 🔔 [PAPER] SKYT stop breached and no OCA protection (no_active_oca_group), proceeding with software exit.
03-03 21:28:21 INFO order trailing_stop_engine 📈 [PAPER] SKYT 反向保护止损修改成功: $29.82, 新订单ID=42424592251356160
03-03 21:28:21 INFO order trailing_stop_engine 📋 Updated OrderTracker 42424592251356160 prices: stop=$29.82 limit=$29.67
03-03 21:28:21 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42424592251356160 → 42424592251356160 for trade_id=9613
03-03 21:28:21 INFO order tiger_client ✅ Modified stop loss order 42424592251356160 to $29.82 (direct modify)
03-03 21:28:19 INFO order tiger_client 📈 Modifying stop loss: SKYT order 42424592251356160 to $29.82
03-03 21:28:19 INFO order tiger_client Open order: 42424592251356160 - SELL 84 SKYT @ 29.61 - Status: OrderStatus.HELD - CanCancel: True
03-03 21:28:19 INFO order tiger_client Retrieved 1 open orders for SKYT
03-03 21:28:09 INFO trailing_stop trailing_stop_engine 🛡️ [SKYT] 反向保护触发: 亏损0.42%, 趋势强度8, 止损从$29.76收紧至$29.82 (收紧系数0.6)
03-03 21:28:03 INFO general trailing_stop_engine 🔄 SKYT retry cooldown expired, proceeding with attempt 2
03-03 21:28:02 INFO general COIN trailing_stop_engine 📊 Batch API refresh: 7/7 symbols updated: ['SKYT', 'AOSL', 'ALAB', 'DIOD', 'ALGM', 'SYNA', 'COIN']
03-03 21:27:03 INFO position holdings_sync Holdings sync [paper]: 0 new, 10 updated, 0 removed, 10 total
03-03 21:26:43 INFO position tiger_client Position: TSEM, Qty: -98, Cost: 127.5822
03-03 21:26:43 INFO position tiger_client Position: SYNA, Qty: -64, Cost: 77.4013
03-03 21:26:42 INFO position tiger_client Position: SKYT, Qty: 84, Cost: 29.8955
03-03 21:26:42 INFO position tiger_client Position: NA, Qty: 729, Cost: 3.0059
03-03 21:26:42 INFO position tiger_client Position: DIOD, Qty: -73, Cost: 67.8311
03-03 21:26:42 INFO position tiger_client Position: CRUS, Qty: -168, Cost: 138.5857
03-03 21:26:42 INFO position COIN tiger_client Position: COIN, Qty: 52, Cost: 185.5544
03-03 21:26:42 INFO position tiger_client Position: AOSL, Qty: -292, Cost: 20.492
03-03 21:26:42 INFO position tiger_client Position: ALGM, Qty: -187, Cost: 34.7416
03-03 21:26:42 INFO position tiger_client Position: ALAB, Qty: -27, Cost: 110.4289
03-03 21:26:39 INFO general trailing_stop_engine 🔄 SYNA retry cooldown expired, proceeding with attempt 2
03-03 21:26:35 INFO position tiger_client Getting positions for symbol: all
03-03 21:26:24 INFO position holdings_sync Holdings sync [real]: 0 new, 5 updated, 0 removed, 5 total
03-03 21:26:21 INFO position QCML tiger_client Position: QCML, Qty: 1500, Cost: 22.2802
03-03 21:26:21 INFO position ORCX tiger_client Position: ORCX, Qty: 1900, Cost: 16.7397
03-03 21:26:21 INFO position MSTU tiger_client Position: MSTU, Qty: 1000, Cost: 5.1016
03-03 21:26:21 INFO position CLSK tiger_client Position: CLSK, Qty: 100, Cost: 15.593
03-03 21:26:21 INFO position tiger_client Position: ALAB, Qty: 2, Cost: 111.07
03-03 21:26:20 INFO position tiger_client Getting positions for symbol: all
03-03 21:25:59 INFO order trailing_stop_engine 📈 [PAPER] SKYT 反向保护止损修改成功: $29.76, 新订单ID=42424592251356160
03-03 21:25:56 INFO order trailing_stop_engine 📋 Marked OrderTracker 42423879658768384 as cancelled
03-03 21:25:55 INFO order trailing_stop_engine 📋 Created OrderTracker for stop loss order 42424592251356160
03-03 21:25:54 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42423879658768384 → 42424592251356160 for trade_id=9613
03-03 21:25:53 INFO order tiger_client ✅ Created new stop loss order 42424592251356160 at $29.76 (cancel+create)
03-03 21:25:51 INFO order tiger_client 📅 [Paper] Stop LIMIT order: outside_rth=False (trigger=$29.76, limit=$29.61)
03-03 21:25:51 INFO order tiger_client ✅ Cancelled old stop loss order 42423879658768384
03-03 21:25:51 INFO order tiger_client Cancel order 42423879658768384 result: 42423879658768384
03-03 21:25:50 WARN order tiger_client ⚠️ Order 42423879658768384 cannot be modified (status=OrderStatus.FILLED), falling back to cancel+create
03-03 21:25:46 INFO order tiger_client 📈 Modifying stop loss: SKYT order 42423879658768384 to $29.76
03-03 21:25:46 INFO order trailing_stop_engine 📋 SKYT 存储的止损订单ID 42423879658768384 不在挂单中,尝试类型匹配
03-03 21:25:46 INFO order tiger_client Retrieved 0 open orders for SKYT
03-03 21:25:32 INFO trailing_stop trailing_stop_engine 🛡️ [SKYT] 反向保护触发: 亏损0.42%, 趋势强度8, 止损从$29.68收紧至$29.76 (收紧系数0.6)
03-03 21:25:20 INFO general trailing_stop_engine 🔄 SKYT retry cooldown expired, proceeding with attempt 2
03-03 21:25:20 INFO general COIN trailing_stop_engine 📊 Batch API refresh: 8/8 symbols updated: ['SKYT', 'AOSL', 'ALAB', 'DIOD', 'SYNA', 'COIN', 'TSEM', 'CRUS']
03-03 21:23:32 INFO general trailing_stop_engine 🔄 SYNA retry cooldown expired, proceeding with attempt 2
03-03 21:23:20 INFO general trailing_stop_engine 🔄 SKYT retry cooldown expired, proceeding with attempt 2
03-03 21:23:20 INFO general COIN trailing_stop_engine 📊 Batch API refresh: 9/9 symbols updated: ['SKYT', 'AOSL', 'SYNA', 'COIN', 'TSEM', 'CRUS', 'ALAB', 'DIOD', 'ALGM']
03-03 21:22:40 INFO order tiger_client Order 42424401663755264 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=21, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True
03-03 21:22:40 INFO order tiger_client Order 42424401663755264 available attributes: ['account', 'action', 'active', 'adjust_limit', 'algo_params', 'algo_strategy', 'attr_desc', 'attr_list', 'aux_price', 'avg_fill_price', 'can_modify', 'charges', 'combo_type', 'combo_type_desc', 'commission', 'contract', 'contract_legs', 'discount', 'expire_time', 'external_id', 'filled', 'filled_cash_amount', 'filled_scale', 'gst', 'id', 'is_open', 'is_partially_filled', 'latest_price', 'limit_price', 'liquidation', 'order_id', 'order_legs', 'order_time', 'order_type', 'orders', 'outside_rth', 'parent_id', 'percent_offset', 'quantity', 'quantity_scale', 'realized_pnl', 'reason', 'refund_cash_amount', 'remaining', 'secret_key', 'source', 'status', 'sub_ids', 'time_in_force', 'to_dict', 'total_cash_amount', 'trade_time', 'trading_session_type', 'trail_stop_price', 'trailing_percent', 'update_time', 'user_mark']
03-03 21:21:09 INFO general trailing_stop_engine 🔄 SYNA retry cooldown expired, proceeding with attempt 2
03-03 21:21:08 INFO position holdings_sync Holdings sync [paper]: 0 new, 10 updated, 0 removed, 10 total
03-03 21:20:50 INFO position tiger_client Position: TSEM, Qty: -98, Cost: 127.5822
03-03 21:20:50 INFO position tiger_client Position: SYNA, Qty: -64, Cost: 77.4013
03-03 21:20:50 INFO position tiger_client Position: SKYT, Qty: 84, Cost: 29.8955
03-03 21:20:50 INFO position tiger_client Position: NA, Qty: 729, Cost: 3.0059
03-03 21:20:50 INFO position tiger_client Position: DIOD, Qty: -73, Cost: 67.8311