System Logs

Total: 1183710 Errors Live
Clear
Time Level Category Symbol Source Message
03-05 14:46:57 INFO order order_tracker_service 📋 Registered order 42444104219755520: AOSL exit_signal (paper)
03-05 14:46:57 INFO order routes 📊 [PAPER] Entry fill processed via OrderTracker: already_filled
03-05 14:46:56 INFO order tiger_client Order 42444103973076992 Tiger data: avgFillPrice=95.72, filledQuantity=32, totalQuantity=32, realizedPnl=0, commission=3.0, reason=, order_type=MKT, outside_rth=False
03-05 14:46:56 INFO order tiger_client Order 42444103973076992 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-05 14:46:56 INFO order push_event_handlers 📋 WebSocket order event: AOSL BUY status=FILLED filled=124 @ $20.185
03-05 14:46:56 INFO order tiger_push_client 📋 Order update received: id: 42444104219755520 account: "21994480083284213" symbol: "AOSL" identifier: "AOSL" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "MKT" totalQuantity: 124 filledQuantity: 124 avgFillPrice: 20.185 status: "FILLED" replaceStatus: "NONE" cancelStatus: "NONE" name: "阿尔法和欧米伽半导体" source: "openapi" commissionAndFee: 2.98 openTime: 1772722016000 timestamp: 1772722016839 timeInForce: "DAY"
03-05 14:46:56 INFO order push_event_handlers 📋 WebSocket order event: AOSL BUY status=HELD filled=124 @ $0
03-05 14:46:56 INFO order tiger_push_client 📋 Order update received: id: 42444104219755520 account: "21994480083284213" symbol: "AOSL" identifier: "AOSL" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "MKT" totalQuantity: 124 status: "HELD" replaceStatus: "NONE" cancelStatus: "NONE" canModify: true canCancel: true name: "阿尔法和欧米伽半导体" source: "openapi" openTime: 1772722016000 timestamp: 1772722016779 timeInForce: "DAY"
03-05 14:46:56 WARN order trailing_stop_engine ⚠️ Trailing stop close order placed but no order_id returned
03-05 14:46:56 INFO order trailing_stop_engine 🔴 Tiger market order placed for AOSL: {'order_id': None, 'status': None}
03-05 14:46:56 INFO order trailing_stop_engine 📅 Market order: outside_rth=False, time_in_force=DAY
03-05 14:46:56 INFO position trailing_stop_engine 🔴 盘中时段 → 使用市价单: symbol=AOSL, side=BUY, quantity=124
03-05 14:46:56 INFO order trailing_stop_engine 🔴 Tiger close order: symbol=AOSL, side=BUY, quantity=124, trigger_price=20.185
03-05 14:46:56 INFO position trailing_stop_engine ✅ AOSL 确认仓位存在,方向=空仓,数量: 124
03-05 14:46:56 INFO position tiger_client Position: AOSL, Qty: -124, Cost: 20.0158
03-05 14:46:56 INFO position tiger_push_client 📋 Position update received: account: "21994480083284213" symbol: "AOSL" identifier: "AOSL" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: -124 averageCost: 20.0158064516 latestPrice: 20.185 marketValue: -2502.94 unrealizedPnl: -20.98000000159989 name: "Alpha & Omega Semiconductor" timestamp: 1772722016185 positionQty: -124
03-05 14:46:56 INFO order push_event_handlers 📋 WebSocket order event: AOSL BUY status=CANCELLED filled=124 @ $0
03-05 14:46:56 INFO order tiger_push_client 📋 Order update received: id: 42444040769242113 account: "21994480083284213" symbol: "AOSL" identifier: "AOSL" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "LMT" totalQuantity: 124 limitPrice: 19.52 status: "CANCELLED" replaceStatus: "NONE" cancelStatus: "NONE" outsideRth: true name: "阿尔法和欧米伽半导体" source: "openapi" errorMsg: "手动撤单" openTime: 1772721532000 timestamp: 1772722016219 attrList: "ATTACHED_ORDER" attrList: "OCA" timeInForce: "DAY"
03-05 14:46:56 INFO position tiger_client Getting positions for symbol: AOSL
03-05 14:46:56 INFO order trailing_stop_engine ✅ AOSL take_profit订单已取消: 42444040769242113
03-05 14:46:56 INFO order tiger_client Cancel order 42444040769242113 result: 42444040769242113
03-05 14:46:55 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.55 marketValue: 20325 unrealizedPnl: -13095.3501092 timestamp: 1772722015036 positionQty: 1500 salableQty: 1500
03-05 14:46:55 INFO order tiger_client Open order: 42444040769242113 - BUY 124 AOSL @ 19.52 - Status: OrderStatus.HELD - CanCancel: True
03-05 14:46:55 INFO order tiger_client Retrieved 1 open orders for AOSL
03-05 14:46: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: 10.16 marketValue: 19304 unrealizedPnl: -12501.3900001 timestamp: 1772722015036 positionQty: 1900 salableQty: 1900
03-05 14:46:55 INFO order push_event_handlers 📋 WebSocket order event: AOSL BUY status=EXPIRED filled=124 @ $0
03-05 14:46:55 INFO order tiger_push_client 📋 Order update received: id: 42444103880803328 account: "21994480083284213" symbol: "AOSL" identifier: "AOSL" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "STP_LMT" totalQuantity: 124 limitPrice: 20.08 status: "EXPIRED" replaceStatus: "NONE" cancelStatus: "NONE" name: "阿尔法和欧米伽半导体" source: "openapi" errorMsg: "订单当前不支持撤销,请查看订单状态或者咨询客服。" openTime: 1772722014000 timestamp: 1772722015633 timeInForce: "DAY"
03-05 14:46: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: 10.46 marketValue: 1046 unrealizedPnl: -513.304 timestamp: 1772722015036 positionQty: 100 salableQty: 100
03-05 14:46:55 INFO order trailing_stop_engine ✅ AOSL stop_loss订单已取消: 42444103880803328
03-05 14:46:55 INFO order tiger_client Cancel order 42444103880803328 result: 42444103880803328
03-05 14:46:55 INFO order push_event_handlers ✅ WebSocket fill routed via OrderTracker: 42444103973076992 → filled
03-05 14:46:55 INFO order discord_notifier Discord通知发送成功: 📦 Entry filled: REMX SHORT 32@$95.72 (paper)
03-05 14:46:55 INFO order order_tracker_service 📦 Entry fill → Position updated: REMX 32@$95.72
03-05 14:46:55 INFO order trailing_stop_engine 📋 AOSL 存储的止损订单ID 42444103880803328 不在挂单中,尝试类型匹配
03-05 14:46:55 INFO order tiger_client Open order: 42444040769242113 - BUY 124 AOSL @ 19.52 - Status: OrderStatus.HELD - CanCancel: True
03-05 14:46:55 INFO order tiger_client Retrieved 1 open orders for AOSL
03-05 14:46:55 INFO order order_tracker_service 📋 Order 42444103973076992 FILLED (source=websocket): REMX entry qty=32 price=$95.72 pnl=$0.00
03-05 14:46:55 INFO order push_event_handlers 📋 WebSocket order event: REMX SELL status=FILLED filled=32 @ $95.72
03-05 14:46:55 INFO order tiger_push_client 📋 Order update received: id: 42444103973076992 account: "21994480083284213" symbol: "REMX" identifier: "REMX" multiplier: 1 action: "SELL" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "MKT" totalQuantity: 32 filledQuantity: 32 avgFillPrice: 95.72 status: "FILLED" replaceStatus: "NONE" cancelStatus: "NONE" name: "VanEck Rare Earth and Strategic Metals ETF" source: "openapi" commissionAndFee: 3 openTime: 1772722014000 timestamp: 1772722014881 timeInForce: "DAY"
03-05 14:46:55 INFO order push_event_handlers 📋 WebSocket order event: REMX SELL status=HELD filled=32 @ $0
03-05 14:46:55 INFO order tiger_push_client 📋 Order update received: id: 42444103973076992 account: "21994480083284213" symbol: "REMX" identifier: "REMX" multiplier: 1 action: "SELL" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "MKT" totalQuantity: 32 status: "HELD" replaceStatus: "NONE" cancelStatus: "NONE" canModify: true canCancel: true name: "VanEck Rare Earth and Strategic Metals ETF" source: "openapi" openTime: 1772722014000 timestamp: 1772722014806 timeInForce: "DAY"
03-05 14:46:55 INFO position tiger_push_client 📋 Position update received: account: "21994480083284213" symbol: "REMX" identifier: "REMX" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: -64 averageCost: 96.03625 latestPrice: 95.72 marketValue: -6126.08 unrealizedPnl: 20.239999999999782 name: "VanEck Rare Earth and Strategic Metals ETF" timestamp: 1772722014874 positionQty: -64
03-05 14:46:54 INFO order order_tracker_service 📋 Registered order 42444103973076992: REMX entry (paper)
03-05 14:46:54 INFO order push_event_handlers 📋 WebSocket order event: AOSL BUY status=EXPIRED filled=124 @ $0
03-05 14:46:54 INFO order tiger_push_client 📋 Order update received: id: 42444103880803328 account: "21994480083284213" symbol: "AOSL" identifier: "AOSL" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "STP_LMT" totalQuantity: 124 limitPrice: 20.08 status: "EXPIRED" replaceStatus: "NONE" cancelStatus: "NONE" name: "阿尔法和欧米伽半导体" source: "openapi" errorMsg: "您下单的数量超过了您可用的持仓数量;如您想反向开仓,需要先平仓后才能开新仓" openTime: 1772722014000 timestamp: 1772722014062 timeInForce: "DAY"
03-05 14:46:54 INFO order routes 📝 [PAPER] Entry order placed and Trade persisted: 42444103973076992
03-05 14:46:54 INFO order tiger_client [Paper] Position increase order placed. Bracket legs handle protection, soft stop fallback.
03-05 14:46:54 INFO order tiger_client Order placed successfully: 42444103973076992
03-05 14:46:54 INFO order push_event_handlers 📋 WebSocket order event: AOSL BUY status=EXPIRED filled=124 @ $0
03-05 14:46:54 INFO order tiger_push_client 📋 Order update received: id: 42444041481619456 account: "21994480083284213" symbol: "AOSL" identifier: "AOSL" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "STP_LMT" totalQuantity: 124 limitPrice: 20.34 status: "EXPIRED" replaceStatus: "NONE" cancelStatus: "NONE" name: "阿尔法和欧米伽半导体" source: "openapi" errorMsg: "订单当前不支持撤销,请查看订单状态或者咨询客服。" openTime: 1772721537000 timestamp: 1772722013303 timeInForce: "DAY"
03-05 14:46:54 INFO order MSFT push_event_handlers 📋 WebSocket order event: MSFT SELL status=EXPIRED filled=6 @ $0
03-05 14:46:54 INFO order MSFT tiger_push_client 📋 Order update received: id: 42444102829735936 account: "21994480083284213" symbol: "MSFT" identifier: "MSFT" multiplier: 1 action: "SELL" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "STP_LMT" isLong: true totalQuantity: 6 limitPrice: 398.7 status: "EXPIRED" replaceStatus: "NONE" cancelStatus: "NONE" name: "微软" source: "openapi" errorMsg: "您下单的数量超过了您可用的持仓数量;如您想反向开仓,需要先平仓后才能开新仓" openTime: 1772722006000 timestamp: 1772722006049 timeInForce: "DAY"
03-05 14:46:54 INFO order trailing_stop_engine 🔔 [PAPER] AOSL stop breached and no OCA protection (no_active_oca_group), proceeding with software exit.
03-05 14:46:54 INFO order MSFT push_event_handlers 📋 WebSocket order event: MSFT SELL status=CANCELLED filled=6 @ $0
03-05 14:46:54 INFO order MSFT tiger_push_client 📋 Order update received: id: 42444102343591937 account: "21994480083284213" symbol: "MSFT" identifier: "MSFT" multiplier: 1 action: "SELL" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "STP" isLong: true totalQuantity: 6 status: "CANCELLED" replaceStatus: "NONE" cancelStatus: "NONE" name: "微软" source: "openapi" errorMsg: "手动撤单" openTime: 1772722002000 timestamp: 1772722005357 attrList: "ATTACHED_ORDER" attrList: "OCA" timeInForce: "DAY"
03-05 14:46:54 INFO order push_event_handlers 📊 External fill registered and processed: DIOD 42444102629983232
03-05 14:46:54 INFO order tiger_client Position increase detected: will place main order without attachments, then set protection for entire position
03-05 14:46:54 INFO order tiger_client Place order: Auto-detected regular trading hours, standard session
03-05 14:46:54 INFO order tiger_client No open orders found for REMX, proceeding with position increase
03-05 14:46:54 INFO order discord_notifier Discord通知发送成功: 📦 Exit filled: DIOD webhook_signal 59@$64.99 P&L=pending (paper)
03-05 14:46:54 INFO order trailing_stop_engine 📈 [PAPER] AOSL 反向保护止损修改成功: $20.18, 新订单ID=42444103880803328
03-05 14:46:54 INFO order trailing_stop_engine 📋 Marked OrderTracker 42444041481619456 as cancelled
03-05 14:46:54 INFO order tiger_client Position increase detected for REMX. Checking for existing orders to cancel...
03-05 14:46:54 INFO position tiger_client ✅ Detected SHORT position increase: current -32 shares, adding 32.0 shares
03-05 14:46:54 INFO position tiger_client 🧮 Position increase logic check: current_qty=-32, action=SELL
03-05 14:46:54 INFO position tiger_client 📋 Current position for REMX: quantity=-32, cost=96.0363, value=-3063.04
03-05 14:46:54 INFO position tiger_client 📈 Position query returned 1 positions for REMX
03-05 14:46:54 INFO position tiger_client 📊 Position query result for REMX: success=True
03-05 14:46:54 INFO position tiger_client Position: REMX, Qty: -32, Cost: 96.0363
03-05 14:46:54 INFO order trailing_stop_engine 📋 Created OrderTracker for stop loss order 42444103880803328
03-05 14:46:54 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42444041481619456 → 42444103880803328 for trade_id=9844
03-05 14:46:54 INFO order tiger_client ✅ Created new stop loss order 42444103880803328 at $20.18 (cancel+create)
03-05 14:46:54 INFO order order_tracker_service ✅ Created ClosedPosition #2407 via _handle_exit_fill for DIOD (created)
03-05 14:46:53 INFO order tiger_client 📅 [Paper] Stop LIMIT order: outside_rth=False (trigger=$20.18, limit=$20.08)
03-05 14:46:53 INFO order order_tracker_service 📦 Exit fill → DIOD webhook_signal: 59@$64.99, position=CLOSED
03-05 14:46:53 INFO order order_tracker_service 🎯 Deactivated TrailingStopPosition #3115 for DIOD via exit_signal fill (position fully closed)
03-05 14:46:53 INFO order position_service 📦 Position P_DIOD_2026-03-05_1 CLOSED. P&L=$-25.07 (close_source=websocket_external_fill)
03-05 14:46:53 INFO position order_tracker_service 📋 Found Position #1508 via position_id (precise match)
03-05 14:46:53 INFO order order_tracker_service 📋 Order 42444102629983232 FILLED (source=websocket_external): DIOD exit_signal qty=59 price=$64.99 pnl=$0.00
03-05 14:46:53 INFO order order_tracker_service 📋 Registered order 42444102629983232: DIOD exit_signal (paper)
03-05 14:46:53 INFO order tiger_client ✅ Cancelled old stop loss order 42444041481619456
03-05 14:46:53 INFO order tiger_client Cancel order 42444041481619456 result: 42444041481619456
03-05 14:46:53 INFO position tiger_client Getting positions for symbol: REMX
03-05 14:46:53 INFO position tiger_client 🔍 Position Increase Check: SELL 32.0 REMX
03-05 14:46:53 INFO order push_event_handlers 📋 WebSocket order event: DIOD BUY status=FILLED filled=59 @ $64.99
03-05 14:46:53 INFO order tiger_push_client 📋 Order update received: id: 42444102629983232 account: "21994480083284213" symbol: "DIOD" identifier: "DIOD" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "MKT" totalQuantity: 59 filledQuantity: 59 avgFillPrice: 64.99 status: "FILLED" replaceStatus: "NONE" cancelStatus: "NONE" name: "Diodes Incorporated" source: "openapi" commissionAndFee: 2.98 openTime: 1772722004000 timestamp: 1772722004635 timeInForce: "DAY"
03-05 14:46:53 INFO order push_event_handlers 📋 WebSocket order event: DIOD BUY status=HELD filled=59 @ $0
03-05 14:46:53 INFO order tiger_push_client 📋 Order update received: id: 42444102629983232 account: "21994480083284213" symbol: "DIOD" identifier: "DIOD" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "MKT" totalQuantity: 59 status: "HELD" replaceStatus: "NONE" cancelStatus: "NONE" canModify: true canCancel: true name: "Diodes Incorporated" source: "openapi" openTime: 1772722004000 timestamp: 1772722004547 timeInForce: "DAY"
03-05 14:46:53 INFO order push_event_handlers 📋 WebSocket order event: DIOD BUY status=CANCELLED filled=59 @ $0
03-05 14:46:53 INFO order tiger_push_client 📋 Order update received: id: 42444038072567808 account: "21994480083284213" symbol: "DIOD" identifier: "DIOD" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "LMT" totalQuantity: 59 limitPrice: 62.94 status: "CANCELLED" replaceStatus: "NONE" cancelStatus: "NONE" outsideRth: true name: "Diodes Incorporated" source: "openapi" errorMsg: "手动撤单" openTime: 1772721511000 timestamp: 1772722004015 attrList: "ATTACHED_ORDER" attrList: "OCA" timeInForce: "DAY"
03-05 14:46:53 WARN order tiger_client ⚠️ Order 42444041481619456 cannot be modified (status=OrderStatus.EXPIRED), falling back to cancel+create
03-05 14:46:53 INFO order push_event_handlers 📋 WebSocket order event: DIOD BUY status=EXPIRED filled=59 @ $0
03-05 14:46:53 INFO order tiger_push_client 📋 Order update received: id: 42444101152671744 account: "21994480083284213" symbol: "DIOD" identifier: "DIOD" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "STP_LMT" totalQuantity: 59 limitPrice: 64.5 status: "EXPIRED" replaceStatus: "NONE" cancelStatus: "NONE" name: "Diodes Incorporated" source: "openapi" errorMsg: "订单当前不支持撤销,请查看订单状态或者咨询客服。" openTime: 1772721993000 timestamp: 1772722003432 timeInForce: "DAY"
03-05 14:46:52 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.55 marketValue: 20325 unrealizedPnl: -13095.3501092 timestamp: 1772722010032 positionQty: 1500 salableQty: 1500
03-05 14:46:52 INFO order push_event_handlers ✅ WebSocket fill routed via OrderTracker: 42444102343590912 → filled
03-05 14:46:52 INFO order MSFT discord_notifier Discord通知发送成功: 📦 Entry filled: MSFT LONG 6.0@$409.01 (paper)
03-05 14:46:52 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: 10.16 marketValue: 19304 unrealizedPnl: -12501.3900001 timestamp: 1772722010032 positionQty: 1900 salableQty: 1900
03-05 14:46:52 INFO order tiger_client 📈 Modifying stop loss: AOSL order 42444041481619456 to $20.18
03-05 14:46:52 INFO order trailing_stop_engine 📋 AOSL 存储的止损订单ID 42444041481619456 不在挂单中,尝试类型匹配
03-05 14:46:52 INFO order tiger_client Open order: 42444040769242113 - BUY 124 AOSL @ 19.52 - Status: OrderStatus.HELD - CanCancel: True