System Logs

Total: 766202 Errors Live
Clear
Time Level Category Symbol Source Message
03-04 13:06:20 INFO order trailing_stop_engine 🔔 [PAPER] AOSL stop breached and no OCA protection (no_active_oca_group), proceeding with software exit.
03-04 13:06:16 INFO general trailing_stop_engine 📊 Batch API refresh: 2/2 symbols updated: ['CRUS', 'AOSL']
03-04 13:06:04 WARN websocket trailing_stop_scheduler 🔄 Auto re-subscribed symbols with stale WebSocket data: ['DIOD']
03-04 13:06:04 WARN websocket tiger_push_client Push client not connected, cannot subscribe quotes
03-04 13:06:04 INFO order trailing_stop_scheduler - AOSL: trigger - No OCA protection (no_active_oca_group): Price $20.49 >= broker stop $20.29
03-04 13:06:04 INFO general trailing_stop_scheduler 🔄 Fast check: 1 actions taken
03-04 13:05:53 INFO order trailing_stop_engine [AOSL] TS stays ACTIVE with pending exit order None, will re-check each cycle
03-04 13:05:42 WARN order trailing_stop_engine ⚠️ Trailing stop close order placed but no order_id returned
03-04 13:05:42 INFO order trailing_stop_engine 🔴 Tiger limit order placed for AOSL: {'order_id': None, 'status': None}
03-04 13:05:41 INFO order trailing_stop_engine 📅 Limit order: outside_rth=True, time_in_force=DAY (Paper)
03-04 13:05:41 INFO position trailing_stop_engine 🔴 盘前盘后 → 使用限价单: symbol=AOSL, side=BUY, quantity=292, limit=$20.59
03-04 13:05:41 INFO order trailing_stop_engine 🔴 Tiger close order: symbol=AOSL, side=BUY, quantity=292, trigger_price=20.49
03-04 13:05:41 INFO position trailing_stop_engine ✅ AOSL 确认仓位存在,方向=空仓,数量: 292
03-04 13:05:41 INFO position tiger_client Position: AOSL, Qty: -292, Cost: 20.492
03-04 13:05:40 INFO position tiger_client Getting positions for symbol: AOSL
03-04 13:05:40 INFO order trailing_stop_engine ✅ AOSL take_profit订单已取消: 42431930812466176
03-04 13:05:40 INFO order tiger_client Cancel order 42431930812466176 result: 42431930812466176
03-04 13:05:39 INFO order trailing_stop_engine 📋 AOSL 止盈订单ID已更新: -> 42431930812466176
03-04 13:05:39 INFO order tiger_client Open order: 42431930812466176 - BUY 292 AOSL @ 20.59 - Status: OrderStatus.HELD - CanCancel: True
03-04 13:05:39 INFO order tiger_client Retrieved 1 open orders for AOSL
03-04 13:05:39 INFO order tiger_client Open order: 42431930812466176 - BUY 292 AOSL @ 20.59 - Status: OrderStatus.HELD - CanCancel: True
03-04 13:05:39 INFO order tiger_client Retrieved 1 open orders for AOSL
03-04 13:05:32 INFO position tiger_client Position: OKLO, Qty: 242, Cost: 63.6323
03-04 13:05:32 INFO position tiger_client Position: NA, Qty: 729, Cost: 3.0059
03-04 13:05:32 INFO position tiger_client Position: DIOD, Qty: -73, Cost: 67.8311
03-04 13:05:32 INFO position tiger_client Position: CRUS, Qty: -168, Cost: 138.5857
03-04 13:05:32 INFO position tiger_client Position: AOSL, Qty: -292, Cost: 20.492
03-04 13:05:31 INFO position tiger_client Getting positions for symbol: all
03-04 13:05:27 INFO position QCML tiger_client Position: QCML, Qty: 1500, Cost: 22.2802
03-04 13:05:27 INFO position ORCX tiger_client Position: ORCX, Qty: 1900, Cost: 16.7397
03-04 13:05:26 INFO position MSTU tiger_client Position: MSTU, Qty: 1000, Cost: 5.1016
03-04 13:05:26 INFO position CLSK tiger_client Position: CLSK, Qty: 100, Cost: 15.593
03-04 13:05:25 INFO position tiger_client Getting positions for symbol: all
03-04 13:05:21 INFO order trailing_stop_engine 🔔 [PAPER] AOSL stop breached and no OCA protection (no_active_oca_group), proceeding with software exit.
03-04 13:05:20 INFO general trailing_stop_engine 📊 Batch API refresh: 4/4 symbols updated: ['CRUS', 'AOSL', 'DIOD', 'OKLO']
03-04 13:05:19 INFO position holdings_sync Holdings sync [paper]: 0 new, 5 updated, 0 removed, 5 total
03-04 13:05:12 INFO position tiger_client Position: OKLO, Qty: 242, Cost: 63.6323
03-04 13:05:12 INFO position tiger_client Position: NA, Qty: 729, Cost: 3.0059
03-04 13:05:11 INFO position tiger_client Position: DIOD, Qty: -73, Cost: 67.8311
03-04 13:05:11 INFO position tiger_client Position: CRUS, Qty: -168, Cost: 138.5857
03-04 13:05:11 INFO position tiger_client Position: AOSL, Qty: -292, Cost: 20.492
03-04 13:05:10 INFO position tiger_client Getting positions for symbol: all
03-04 13:05:05 INFO position holdings_sync Holdings sync [real]: 0 new, 4 updated, 0 removed, 4 total
03-04 13:05:04 ERROR order tiger_client Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在)
03-04 13:05:02 INFO position QCML tiger_client Position: QCML, Qty: 1500, Cost: 22.2802
03-04 13:05:02 INFO position ORCX tiger_client Position: ORCX, Qty: 1900, Cost: 16.7397
03-04 13:05:02 INFO position MSTU tiger_client Position: MSTU, Qty: 1000, Cost: 5.1016
03-04 13:05:00 INFO position CLSK tiger_client Position: CLSK, Qty: 100, Cost: 15.593
03-04 13:04:59 INFO position tiger_client Getting positions for symbol: all
03-04 13:04:55 INFO order order_tracker_service 🧹 Cleaned up 4 stale overnight OCA protection orders
03-04 13:04:54 INFO order order_tracker_service 🧹 Auto-cancelled stale OCA order: ALGM take_profit (tiger_order=42421437749265408, created=2026-03-03 14:44:45.711987, reason=no OPEN position found for symbol, broker_status=cancelled)
03-04 13:04:53 INFO order tiger_client Order 42421437749265408 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=72, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True
03-04 13:04:53 INFO order tiger_client Order 42421437749265408 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-04 13:04:51 INFO order order_tracker_service 🧹 Auto-cancelled stale OCA order: ALGM take_profit (tiger_order=42424196603446272, created=2026-03-03 20:35:34.112346, reason=no OPEN position found for symbol, broker_status=cancelled)
03-04 13:04:51 INFO order tiger_client Order 42424196603446272 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=112, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True
03-04 13:04:51 INFO order tiger_client Order 42424196603446272 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-04 13:04:47 INFO order order_tracker_service 🧹 Auto-cancelled stale OCA order: ALGM take_profit (tiger_order=42421827418063872, created=2026-03-03 15:34:18.657832, reason=no OPEN position found for symbol, broker_status=cancelled)
03-04 13:04:46 INFO order tiger_client Order 42421827418063872 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=72, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True
03-04 13:04:46 INFO order tiger_client Order 42421827418063872 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-04 13:04:42 INFO order order_tracker_service 🧹 Auto-cancelled stale OCA order: ALGM take_profit (tiger_order=42422786075920384, created=2026-03-03 17:36:12.634229, reason=no OPEN position found for symbol, broker_status=cancelled)
03-04 13:04:41 INFO order tiger_client Order 42422786075920384 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=71, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True
03-04 13:04:41 INFO order tiger_client Order 42422786075920384 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-04 13:04:33 ERROR order tiger_client Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在)
03-04 13:04:04 INFO order trailing_stop_scheduler 📊 Reconciliation: routed exit 42431837083009024 through OrderTracker → Position closed via add_exit_leg
03-04 13:04:02 INFO order discord_notifier Discord通知发送成功: 📦 Exit filled: ALGM stop_loss 187@$34.99 P&L=$-49.44 (paper)
03-04 13:03:58 INFO order order_tracker_service ✅ Created ClosedPosition #2325 via _handle_exit_fill for ALGM (created)
03-04 13:03:54 INFO order order_tracker_service 📦 Exit fill → ALGM stop_loss: 187@$34.99, position=CLOSED
03-04 13:03:53 INFO position position_service 📦 Position P_ALGM_2026-03-03_4 CLOSED. P&L=$-40.45 (close_source=reconciliation)
03-04 13:03:53 INFO general position_service 📊 [P_ALGM_2026-03-03_4] P&L: ours=$-40.45 vs Tiger=$-49.44 (using ours, Tiger uses different cost basis)
03-04 13:03:52 INFO position order_tracker_service 📋 Found Position #1428 via position_id (precise match)
03-04 13:03:52 INFO order order_tracker_service 📋 Order 42431837083009024 FILLED (source=reconciliation): ALGM stop_loss qty=187 price=$34.99 pnl=$-49.44
03-04 13:03:51 INFO order trailing_stop_scheduler 📊 Reconciliation: registered OrderTracker for exit 42431837083009024 (ALGM, stop_loss)
03-04 13:03:51 INFO order order_tracker_service 📋 Registered order 42431837083009024: ALGM stop_loss (paper)
03-04 13:03:48 INFO order tiger_client Retrieved 100 filled orders
03-04 13:03:44 INFO order tiger_client Getting filled orders from 2026-03-03 to 2026-03-04
03-04 13:03:37 INFO order trailing_stop_scheduler 📊 Skipping exit order 42424485783273473 for ALAB: exit_time=2026-03-03 21:12:19 < position opened_at=2026-03-03 23:04:45.036788 (old lifecycle fill)
03-04 13:03:36 INFO order tiger_client Retrieved 7 filled orders
03-04 13:03:34 INFO order tiger_client Getting filled orders from 2026-03-03 to 2026-03-04
03-04 13:03:29 INFO position trailing_stop_scheduler 📊 Exit closure verification: 1 confirmed closed, 0 reactivated (position still open)
03-04 13:03:28 INFO position tiger_client Position: OKLO, Qty: 242, Cost: 63.6323
03-04 13:03:28 INFO position tiger_client Position: NA, Qty: 729, Cost: 3.0059
03-04 13:03:28 INFO position tiger_client Position: DIOD, Qty: -73, Cost: 67.8311
03-04 13:03:28 INFO position tiger_client Position: CRUS, Qty: -168, Cost: 138.5857
03-04 13:03:28 INFO position tiger_client Position: AOSL, Qty: -292, Cost: 20.492
03-04 13:03:27 INFO position tiger_client Getting positions for symbol: all
03-04 13:03:22 INFO position QCML tiger_client Position: QCML, Qty: 1500, Cost: 22.2802
03-04 13:03:22 INFO position ORCX tiger_client Position: ORCX, Qty: 1900, Cost: 16.7397
03-04 13:03:22 INFO position MSTU tiger_client Position: MSTU, Qty: 1000, Cost: 5.1016
03-04 13:03:22 INFO position CLSK tiger_client Position: CLSK, Qty: 100, Cost: 15.593
03-04 13:03:20 INFO position tiger_client Getting positions for symbol: all
03-04 13:01:49 INFO position MSTU trailing_stop_scheduler [MSTU] Old triggered TS#3008 (triggered 2026-03-03 19:58:06.937996) belongs to previous lifecycle, current OPEN position created 2026-03-03 23:04:56.642231 — allowing re-creation
03-04 13:01:14 INFO position trailing_stop_scheduler [NA] Old triggered TS#2961 (triggered 2026-03-03 01:02:24.966075) belongs to previous lifecycle, current OPEN position created 2026-03-03 14:57:38.242269 — allowing re-creation
03-04 13:00:03 INFO position MSTU trailing_stop_scheduler [MSTU] Old triggered TS#3008 (triggered 2026-03-03 19:58:06.937996) belongs to previous lifecycle, current OPEN position created 2026-03-03 23:04:56.642231 — allowing re-creation
03-04 12:59:51 INFO position holdings_sync Holdings sync [paper]: 0 new, 5 updated, 0 removed, 5 total
03-04 12:59:47 INFO position tiger_client Position: OKLO, Qty: 242, Cost: 63.6323
03-04 12:59:47 INFO position tiger_client Position: NA, Qty: 729, Cost: 3.0059
03-04 12:59:47 INFO position tiger_client Position: DIOD, Qty: -73, Cost: 67.8311
03-04 12:59:47 INFO position tiger_client Position: CRUS, Qty: -168, Cost: 138.5857
03-04 12:59:47 INFO position tiger_client Position: AOSL, Qty: -292, Cost: 20.492
03-04 12:59:46 INFO position tiger_client Getting positions for symbol: all