System Logs

Total: 1721957 Errors Live
Clear
Time Level Category Symbol Source Message
03-09 08:00:55 INFO position ORCX tiger_push_client 📋 Position update received: account: "50904193" symbol: "ORCX" identifier: "ORCX" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: 1900 averageCost: 16.7396789 latestPrice: 9.54 marketValue: 18126 unrealizedPnl: -13679.3900001 timestamp: 1773043255035 positionQty: 1900 salableQty: 1900
03-09 08:00:55 INFO position CLSK tiger_push_client 📋 Position update received: account: "50904193" symbol: "CLSK" identifier: "CLSK" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: 100 averageCost: 15.59304 latestPrice: 9.05 marketValue: 905 unrealizedPnl: -654.304 timestamp: 1773043255035 positionQty: 100 salableQty: 100
03-09 08:00:55 INFO position tiger_client Position: HOOD, Qty: -229, Cost: 77.0763
03-09 08:00:55 INFO order order_tracker_service 🧹 Cleaned up 1 stale overnight OCA protection orders
03-09 08:00:55 INFO order order_tracker_service 🧹 Auto-cancelled stale OCA order: REMX take_profit (tiger_order=42455358937366529, created=2026-03-06 14:38:03.850135, reason=no OPEN position found for symbol, broker_status=cancelled)
03-09 08:00:54 INFO order tiger_client Order 42455358937366529 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=44, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True
03-09 08:00:54 INFO order tiger_client Order 42455358937366529 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-09 08:00:54 INFO general trailing_stop_engine 📊 Batch API refresh: 3/3 symbols updated: ['ASTS', 'ORCL', 'GLXY']
03-09 08:00:54 INFO position tiger_client Getting positions for symbol: HOOD
03-09 08:00:54 ERROR order tiger_client Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在)
03-09 08:00:54 INFO order tiger_client Order 42486207248354304 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=59, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True
03-09 08:00:54 INFO order tiger_client Order 42486207248354304 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-09 08:00:53 INFO position trailing_stop_scheduler 📊 Tiger holdings cross-check (paper): {'ts_created': 0, 'missing_position': 3, 'external_created': 0}
03-09 08:00:53 INFO position trailing_stop_scheduler [REMX] Tiger holdings cross-check (paper): broker has short 163.0 shares but no DB position. Starting grace period.
03-09 08:00:53 INFO position GOOG trailing_stop_scheduler [GOOG] Tiger holdings cross-check (paper): broker has short 26.0 shares but no DB position. Starting grace period.
03-09 08:00:53 INFO position trailing_stop_scheduler [CONL] Tiger holdings cross-check (paper): broker has long 458.0 shares but no DB position. Starting grace period.
03-09 08:00:53 INFO sync trailing_stop_scheduler 📊 Reconciliation (paper): entries=1, exits=3, updated=0, linked=3, ts_deactivated=0
03-09 08:00:53 INFO order trailing_stop_scheduler 📊 Created EntrySignalRecord for HOOD order 42486204251130880
03-09 08:00:53 INFO order tiger_client Order 42486203573486592 Tiger data: avgFillPrice=197.22, filledQuantity=18, totalQuantity=52, realizedPnl=0, commission=3.01, reason=, order_type=LMT, outside_rth=True
03-09 08:00:53 INFO order tiger_client Order 42486203573486592 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-09 08:00:53 INFO order trailing_stop_scheduler 📊 Reconciliation: routed exit 42486204257551360 through OrderTracker → Position closed via add_exit_leg
03-09 08:00:53 INFO order GOOG discord_notifier Discord通知发送成功: 📦 Exit filled: GOOG take_profit 26@$292.45 P&L=$166.98 (paper)
03-09 08:00:53 INFO order GOOG order_tracker_service ✅ Created ClosedPosition #2528 via _handle_exit_fill for GOOG (created)
03-09 08:00:53 INFO order GOOG order_tracker_service 📦 Exit fill → GOOG take_profit: 26@$292.45, position=CLOSED
03-09 08:00:53 INFO position position_service 📦 Position P_GOOG_2026-03-05_2 CLOSED. P&L=$175.98 (close_source=reconciliation)
03-09 08:00:53 INFO general position_service 📊 [P_GOOG_2026-03-05_2] P&L: ours=$175.98 vs Tiger=$166.98 (using ours, Tiger uses different cost basis)
03-09 08:00:53 INFO position order_tracker_service 📋 Found Position #1525 via position_id (precise match)
03-09 08:00:53 INFO order GOOG order_tracker_service 📋 Order 42486204257551360 FILLED (source=reconciliation): GOOG take_profit qty=26 price=$292.45 pnl=$166.98
03-09 08:00:53 INFO order GOOG trailing_stop_scheduler 📊 Reconciliation: registered OrderTracker for exit 42486204257551360 (GOOG, take_profit)
03-09 08:00:53 INFO order GOOG order_tracker_service 📋 Registered order 42486204257551360: GOOG take_profit (paper)
03-09 08:00:53 INFO trailing_stop trailing_stop_scheduler 📊 Created ClosedPosition #2527: REMX stop_loss @ $92.53, P&L=$-75.34, linked 1 entries
03-09 08:00:53 INFO order trailing_stop_scheduler 📊 Reconciliation: routed exit 42486204580512768 through OrderTracker → Position closed via add_exit_leg
03-09 08:00:53 WARN order order_tracker_service ⚠️ No Position (open or recently-closed) found for exit fill: REMX/paper (side=short, role=stop_loss, ts_id=None)
03-09 08:00:53 INFO order order_tracker_service 📋 Order 42486204580512768 FILLED (source=reconciliation): REMX stop_loss qty=163 price=$92.53 pnl=$-75.34
03-09 08:00:53 INFO order trailing_stop_scheduler 📊 Reconciliation: registered OrderTracker for exit 42486204580512768 (REMX, stop_loss)
03-09 08:00:53 INFO order order_tracker_service 📋 Registered order 42486204580512768: REMX stop_loss (paper)
03-09 08:00:53 INFO trailing_stop trailing_stop_scheduler 📊 Created ClosedPosition #2526: CONL stop_loss @ $8.83, P&L=$-508.14, linked 1 entries
03-09 08:00:53 INFO order trailing_stop_scheduler 📊 Reconciliation: routed exit 42486207434998784 through OrderTracker → Position closed via add_exit_leg
03-09 08:00:53 WARN order order_tracker_service ⚠️ No Position (open or recently-closed) found for exit fill: CONL/paper (side=long, role=stop_loss, ts_id=None)
03-09 08:00:53 INFO order order_tracker_service 📋 Order 42486207434998784 FILLED (source=reconciliation): CONL stop_loss qty=248 price=$8.83 pnl=$-508.14
03-09 08:00:53 INFO order trailing_stop_scheduler 📊 Reconciliation: registered OrderTracker for exit 42486207434998784 (CONL, stop_loss)
03-09 08:00:53 INFO order order_tracker_service 📋 Registered order 42486207434998784: CONL stop_loss (paper)
03-09 08:00:53 INFO trailing_stop trailing_stop_scheduler 📊 Created ClosedPosition #2525: CONL stop_loss @ $8.93, P&L=$-409.74, linked 1 entries
03-09 08:00:53 INFO order trailing_stop_scheduler 📊 Reconciliation: routed exit 42486203867218944 through OrderTracker → Position closed via add_exit_leg
03-09 08:00:53 WARN order order_tracker_service ⚠️ No Position (open or recently-closed) found for exit fill: CONL/paper (side=long, role=stop_loss, ts_id=None)
03-09 08:00:53 INFO order order_tracker_service 📋 Order 42486203867218944 FILLED (source=reconciliation): CONL stop_loss qty=210 price=$8.93 pnl=$-409.74
03-09 08:00:53 INFO order trailing_stop_scheduler 📊 Reconciliation: registered OrderTracker for exit 42486203867218944 (CONL, stop_loss)
03-09 08:00:53 INFO order order_tracker_service 📋 Registered order 42486203867218944: CONL stop_loss (paper)
03-09 08:00:53 INFO order tiger_client Retrieved 5 filled orders
03-09 08:00:52 INFO order tiger_client Getting filled orders from 2026-03-08 to 2026-03-09
03-09 08:00:52 INFO order tiger_client Order 42483622568938496 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=80, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True
03-09 08:00:52 INFO order tiger_client Order 42483622568938496 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-09 08:00:52 INFO order tiger_client Retrieved 0 filled orders
03-09 08:00:52 INFO order tiger_client Getting filled orders from 2026-03-08 to 2026-03-09
03-09 08:00:51 INFO position trailing_stop_scheduler - CONL: deactivate - Position not found in Tiger API
03-09 08:00:51 INFO position trailing_stop_scheduler - REMX: deactivate - Position not found in Tiger API
03-09 08:00:51 INFO sync trailing_stop_scheduler 🔄 Full sync complete: 2 actions taken
03-09 08:00:51 ERROR order trailing_stop_engine 阶梯止损调整失败: 没有找到止损订单且创建失败: 止损价$77.08必须大于最新价$77.09(买入止损)
03-09 08:00:51 ERROR order trailing_stop_engine ⚠️ [PAPER] HOOD 没有找到止损订单且创建失败: 止损价$77.08必须大于最新价$77.09(买入止损)
03-09 08:00:51 ERROR error tiger_client ❌ STP_LMT validation failed: BUY stop $77.08 <= latest $77.09 for HOOD, broker will reject
03-09 08:00:51 WARN order trailing_stop_engine ⚠️ [PAPER] HOOD 没有找到止损订单,尝试创建新止损订单
03-09 08:00:51 INFO order tiger_client Retrieved 0 open orders for HOOD
03-09 08:00:50 INFO position QCML tiger_push_client 📋 Position update received: account: "50904193" symbol: "QCML" identifier: "QCML" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: 1500 averageCost: 22.2802334 latestPrice: 13.0754 marketValue: 19613.1 unrealizedPnl: -13807.2501092 timestamp: 1773043250034 positionQty: 1500 salableQty: 1500
03-09 08:00:50 INFO position ORCX tiger_push_client 📋 Position update received: account: "50904193" symbol: "ORCX" identifier: "ORCX" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: 1900 averageCost: 16.7396789 latestPrice: 9.54 marketValue: 18126 unrealizedPnl: -13679.3900001 timestamp: 1773043250034 positionQty: 1900 salableQty: 1900
03-09 08:00:50 INFO position CLSK tiger_push_client 📋 Position update received: account: "50904193" symbol: "CLSK" identifier: "CLSK" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: 100 averageCost: 15.59304 latestPrice: 9.05 marketValue: 905 unrealizedPnl: -654.304 timestamp: 1773043250034 positionQty: 100 salableQty: 100
03-09 08:00:50 INFO position trailing_stop_engine 📊 Syncing quantity for HOOD: 99.0 -> 229
03-09 08:00:50 INFO sync trailing_stop_engine 📊 Syncing avg cost for HOOD: 77.09 -> 77.08
03-09 08:00:49 INFO general trailing_stop_engine 🔄 ASTS retry cooldown expired, proceeding with attempt 2
03-09 08:00:49 INFO general trailing_stop_engine 🔄 ASX retry cooldown expired, proceeding with attempt 2
03-09 08:00:48 INFO position trailing_stop_engine 📊 Added exit leg to Position for external close: CONL (exit=$10.87, PnL=$5.45)
03-09 08:00:48 INFO position position_service 📦 Position P_CONL_2026-03-05_1 CLOSED. P&L=$5.45 (close_source=None)
03-09 08:00:48 INFO position trailing_stop_engine 🛑 Auto-deactivated CONL (paper): position closed externally
03-09 08:00:48 INFO position trailing_stop_engine 📊 Added exit leg to Position for external close: REMX (exit=$92.09, PnL=$12.88)
03-09 08:00:48 INFO position position_service 📦 Position P_REMX_2026-03-06_1 CLOSED. P&L=$12.05 (close_source=None)
03-09 08:00:48 INFO general position_service 📊 [P_REMX_2026-03-06_1] P&L: ours=$12.05 vs Tiger=$12.88 (using ours, Tiger uses different cost basis)
03-09 08:00:48 INFO position trailing_stop_engine 🛑 Auto-deactivated REMX (paper): position closed externally
03-09 08:00:48 INFO trailing_stop trailing_stop_scheduler 🔄 Full sync: Processing 12 active trailing stop positions (API verification)
03-09 08:00:48 INFO position tiger_client Position: WDC, Qty: -87, Cost: 251.2891
03-09 08:00:48 INFO position tiger_client Position: VSH, Qty: -536, Cost: 16.7091
03-09 08:00:48 INFO position tiger_client Position: TSLL, Qty: -1462, Cost: 14.198
03-09 08:00:48 INFO position tiger_client Position: SMH, Qty: 18, Cost: 389.7672
03-09 08:00:48 INFO position tiger_client Position: SLB, Qty: 106, Cost: 46.9481
03-09 08:00:48 INFO position tiger_client Position: SIMO, Qty: -61, Cost: 119.086
03-09 08:00:48 INFO position tiger_client Position: NVTS, Qty: 662, Cost: 8.8269
03-09 08:00:48 INFO position tiger_client Position: HOOD, Qty: -229, Cost: 77.0763
03-09 08:00:48 INFO position COIN tiger_client Position: COIN, Qty: -18, Cost: 197.0528
03-09 08:00:48 INFO position tiger_client Position: CIEN, Qty: -21, Cost: 296.9531
03-09 08:00:48 INFO position tiger_client Position: ASX, Qty: 96, Cost: 21.5078
03-09 08:00:48 INFO position tiger_client Position: ASTS, Qty: -54, Cost: 91.0039
03-09 08:00:48 INFO position tiger_client Position: ASML, Qty: -2, Cost: 1300.68
03-09 08:00:48 INFO position tiger_client Position: AOSL, Qty: 124, Cost: 20.114
03-09 08:00:48 INFO position tiger_client Getting positions for symbol: all
03-09 08:00:47 INFO position QCML tiger_client Position: QCML, Qty: 1500, Cost: 22.2802
03-09 08:00:47 INFO position ORCX tiger_client Position: ORCX, Qty: 1900, Cost: 16.7397
03-09 08:00:47 INFO position CLSK tiger_client Position: CLSK, Qty: 100, Cost: 15.593
03-09 08:00:47 INFO position tiger_client Getting positions for symbol: all
03-09 08:00:46 INFO order tiger_client Order 42486207248354304 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=59, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True
03-09 08:00:46 INFO order tiger_client Order 42486207248354304 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-09 08:00:46 INFO order tiger_client Order 42486203573486592 Tiger data: avgFillPrice=197.22, filledQuantity=18, totalQuantity=52, realizedPnl=0, commission=3.01, reason=, order_type=LMT, outside_rth=True
03-09 08:00:46 INFO order tiger_client Order 42486203573486592 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']