System Logs

Total: 805785 Errors Live
Clear
Time Level Category Symbol Source Message
03-03 17:45:20 INFO general MSTU trailing_stop_engine 📊 Batch API refresh: 12/13 symbols updated: ['ALAB', 'MSTU', 'TSEM', 'REMX', 'COIN', 'ENTG', 'DIOD', 'SKYT', 'NXPI', 'MPWR', 'CRCL', 'ALGM']
03-03 17:45:20 INFO order MSTU discord_notifier Discord通知发送成功: 📦 Entry filled: MSTU LONG 1000.0@$5.20 (paper)
03-03 17:45:20 INFO trailing_stop routes 📝 [PAPER] No position found for RKLB - position may have been already closed by trailing stop or other exit
03-03 17:45:20 WARN position tiger_client No position found for RKLB at broker (API + cache + DB all returned 0/None). Aborting close to prevent opening reverse position.
03-03 17:45:20 WARN position tiger_client No position from Tiger API for RKLB, position likely already closed
03-03 17:45:20 INFO order MSTU order_tracker_service 📦 Entry fill → Position created: MSTU 1000.0@$5.20
03-03 17:45:20 INFO trailing_stop MSTU order_tracker_service 🎯 Created TrailingStop for MSTU
03-03 17:45:20 INFO position tiger_client Getting positions for symbol: RKLB
03-03 17:45:20 INFO order tiger_client No open orders found for RKLB
03-03 17:45:20 INFO order tiger_client Retrieved 0 open orders for RKLB
03-03 17:45:19 INFO websocket MSTU trailing_stop_engine 📊 Subscribed to WebSocket quotes for MSTU
03-03 17:45:19 INFO order trailing_stop_engine 📋 Synced new STP_LMT order to Trade and OrderTracker
03-03 17:45:19 INFO order trailing_stop_engine 📋 Marked OrderTracker 42422478070611968 as cancelled
03-03 17:45:19 INFO order trailing_stop_engine 📋 Created OrderTracker for stop loss order 42422857835217920
03-03 17:45:19 INFO position tiger_client Attempting to close position for RKLB, signal_side=buy
03-03 17:45:19 INFO position tiger_client Attempting to close position for RKLB with sandbox fallback, signal_side=buy, signal_quantity=None
03-03 17:45:19 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42422478070611968 → 42422857835217920 for trade_id=9602
03-03 17:45:19 INFO order MSTU trailing_stop_engine ✅ Created STP_LMT order 42422857835217920 for MSTU (RTH only, extended hours via TrailingStop)
03-03 17:45:19 INFO order MSTU tiger_client ✅ Created STP_LMT order 42422857835217920: SELL 1000.0 MSTU @ stop=$4.30 outside_rth=False
03-03 17:45:19 INFO order MSTU tiger_client 📋 Creating STP_LMT order: SELL 1000.0 MSTU @ stop=$4.30 limit=$4.28 outside_rth=False
03-03 17:45:18 INFO order trailing_stop_engine ✅ Cancelled STP order 42422478070611968
03-03 17:45:18 INFO order tiger_client Cancel order 42422478070611968 result: 42422478070611968
03-03 17:45:18 INFO position tiger_client Getting positions for symbol: RKLB
03-03 17:45:18 INFO signal routes 📝 [PAPER] Processing close signal for RKLB, side=buy
03-03 17:45:18 INFO order MSTU trailing_stop_engine 🔄 Detected stop order 42422478070611968 for MSTU: type=STP, outsideRth=False. Converting to STP_LMT with extended hours support...
03-03 17:45:18 INFO order trailing_stop_engine 🔍 Stop order 42422478070611968 status check: type=STP, outside_rth=False, status=pending, order_active=True
03-03 17:45:18 INFO order tiger_client Order 42422478070611968 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=1000, realizedPnl=0, commission=0, reason=, order_type=STP, outside_rth=False
03-03 17:45:18 INFO order tiger_client Order 42422478070611968 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 17:45:18 INFO order signal_parser Signal parsed successfully: {'symbol': 'RKLB', 'is_close_signal': True, 'close_type': 'flat', 'side': 'buy', 'quantity': 'all', 'close_all': True, 'order_type': 'market', 'reference_price': 72.15, 'trading_session': 'regular', 'outside_rth': False, 'time_in_force': 'day'}
03-03 17:45:18 INFO position signal_parser 🔴 Detected CLOSE signal for RKLB (sentiment=flat, closePosition=False, rating=, close_type=flat)
03-03 17:45:18 INFO position routes 📝 [PAPER] Received webhook from 136.112.238.164: {"action": "buy", "extras": {"indicator": "Trend Continuation", "timeframe": "15", "referencePrice": 72.15}, "reason": "Reverse Signal Close", "ticker": "RKLB", "quantity": "all", "sentiment": "flat", "signal_type": "flat", "forwarded_at": "2026-03-03T17:45:07.093571"}
03-03 17:45:07 INFO trailing_stop MSTU trailing_stop_engine 📊 Auto-subscribed MSTU to WebSocket on trailing stop creation
03-03 17:45:07 INFO trailing_stop MSTU trailing_stop_engine Created trailing stop for MSTU: entry=5.2, SL=4.3, TP=6.3
03-03 17:45:04 INFO order MSTU trailing_stop_engine 🔍 [TRACE] create_trailing_stop_for_trade called: symbol=MSTU, quantity=1000.0, side=long, entry_price=5.2, trade_id=9602, account_type=paper, SL=4.3, TP=6.3, sl_order_id=42422478070611968, tp_order_id=42422478070480896, from_reconciliation=False, source=None
03-03 17:45:04 INFO order tiger_client Order 42422478070611968 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=1000, realizedPnl=0, commission=0, reason=, order_type=STP, outside_rth=False
03-03 17:45:04 INFO order tiger_client Order 42422478070611968 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 17:45:04 INFO trailing_stop routes 📝 [PAPER] No position found for VST - position may have been already closed by trailing stop or other exit
03-03 17:45:04 WARN position tiger_client No position found for VST at broker (API + cache + DB all returned 0/None). Aborting close to prevent opening reverse position.
03-03 17:45:04 WARN position tiger_client No position from Tiger API for VST, position likely already closed
03-03 17:45:04 INFO position tiger_client Getting positions for symbol: VST
03-03 17:45:04 INFO order tiger_client No open orders found for VST
03-03 17:45:04 INFO order tiger_client Retrieved 0 open orders for VST
03-03 17:45:03 INFO position tiger_client Attempting to close position for VST, signal_side=buy
03-03 17:45:03 INFO position tiger_client Attempting to close position for VST with sandbox fallback, signal_side=buy, signal_quantity=None
03-03 17:45:03 INFO position tiger_client Getting positions for symbol: VST
03-03 17:45:03 INFO signal routes 📝 [PAPER] Processing close signal for VST, side=buy
03-03 17:45:02 INFO order signal_parser Signal parsed successfully: {'symbol': 'VST', 'is_close_signal': True, 'close_type': 'flat', 'side': 'buy', 'quantity': 'all', 'close_all': True, 'order_type': 'market', 'reference_price': 160.29, 'trading_session': 'regular', 'outside_rth': False, 'time_in_force': 'day'}
03-03 17:45:02 INFO position signal_parser 🔴 Detected CLOSE signal for VST (sentiment=flat, closePosition=False, rating=, close_type=flat)
03-03 17:45:02 INFO position routes 📝 [PAPER] Received webhook from 34.45.82.69: {"action": "buy", "extras": {"indicator": "WaveMatrix Bottom", "timeframe": "15", "referencePrice": 160.29}, "reason": "Reverse Signal Close", "ticker": "VST", "quantity": "all", "sentiment": "flat", "signal_type": "flat", "forwarded_at": "2026-03-03T17:45:02.757232"}
03-03 17:45:02 INFO position MSTU position_service 📦 Created new Position P_MSTU_2026-03-03_1 (long MSTU)
03-03 17:45:02 INFO order MSTU order_tracker_service 📋 Order 42422478070482944 FILLED (source=pending_fill_pool): MSTU entry qty=1000.0 price=$5.20 pnl=$0.00
03-03 17:44:58 INFO order tiger_client Order 42422827528617984 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=321, realizedPnl=0, commission=0, reason=该股票暂时无法做空, order_type=LMT, outside_rth=True
03-03 17:44:58 INFO order tiger_client Order 42422827528617984 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 17:44:49 INFO order tiger_client Order 42422788602332160 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=234, realizedPnl=0, commission=0, reason=该股票暂时无法做空, order_type=LMT, outside_rth=True
03-03 17:44:49 INFO order tiger_client Order 42422788602332160 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 17:44:34 INFO order trailing_stop_scheduler - None: exit_price_ok - MPWR exit order 42421592331518976 price still ok
03-03 17:44:34 INFO general trailing_stop_scheduler 🔄 Fast check: 1 actions taken
03-03 17:44:26 INFO position tiger_client Position: TSEM, Qty: -38, Cost: 128.9805
03-03 17:44:26 INFO position tiger_client Position: SKYT, Qty: 84, Cost: 29.6755
03-03 17:44:25 INFO position tiger_client Position: REMX, Qty: -55, Cost: 90.9451
03-03 17:44:25 INFO position tiger_client Position: NXPI, Qty: -12, Cost: 215.75
03-03 17:44:25 INFO position tiger_client Position: NA, Qty: 729, Cost: 3.0059
03-03 17:44:25 INFO position MSTU tiger_client Position: MSTU, Qty: 1000, Cost: 5.2119
03-03 17:44:25 INFO position tiger_client Position: MPWR, Qty: -2, Cost: 1100.2299
03-03 17:44:25 INFO position tiger_client Position: ENTG, Qty: -20, Cost: 127.815
03-03 17:44:25 INFO position tiger_client Position: DIOD, Qty: -73, Cost: 67.8311
03-03 17:44:25 INFO position CRCL tiger_client Position: CRCL, Qty: 280, Cost: 98.1546
03-03 17:44:25 INFO position COIN tiger_client Position: COIN, Qty: 14, Cost: 181.8229
03-03 17:44:25 INFO position tiger_client Position: ALGM, Qty: -71, Cost: 34.9867
03-03 17:44:25 INFO position tiger_client Position: ALAB, Qty: -27, Cost: 110.4289
03-03 17:44:23 INFO position tiger_client Getting positions for symbol: all
03-03 17:44:21 INFO position QCML tiger_client Position: QCML, Qty: 1500, Cost: 22.2802
03-03 17:44:21 INFO position ORCX tiger_client Position: ORCX, Qty: 1900, Cost: 16.7397
03-03 17:44:21 INFO position MSTU tiger_client Position: MSTU, Qty: 1000, Cost: 5.243
03-03 17:44:21 INFO position CLSK tiger_client Position: CLSK, Qty: 100, Cost: 15.593
03-03 17:44:21 INFO position tiger_client Getting positions for symbol: all
03-03 17:44:20 INFO order trailing_stop_engine 🔔 [PAPER] MPWR stop breached and no OCA protection (no_active_oca_group), proceeding with software exit.
03-03 17:44:20 INFO order trailing_stop_engine 📈 [PAPER] MPWR 反向保护止损修改成功: $1100.23, 新订单ID=42422849517783040
03-03 17:44:19 INFO order trailing_stop_engine 📋 Marked OrderTracker 42422839859479552 as cancelled
03-03 17:44:19 INFO order trailing_stop_engine 📋 Created OrderTracker for stop loss order 42422849517783040
03-03 17:44:18 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42422839859479552 → 42422849517783040 for trade_id=9508
03-03 17:44:17 INFO order tiger_client ✅ Created new stop loss order 42422849517783040 at $1100.23 (cancel+create)
03-03 17:44:15 INFO order tiger_client 📅 [Paper] Stop LIMIT order: outside_rth=False (trigger=$1100.23, limit=$1094.73)
03-03 17:44:15 INFO order tiger_client ✅ Cancelled old stop loss order 42422839859479552
03-03 17:44:15 INFO order tiger_client Cancel order 42422839859479552 result: 42422839859479552
03-03 17:44:14 WARN order tiger_client ⚠️ Order 42422839859479552 cannot be modified (status=OrderStatus.EXPIRED), falling back to cancel+create
03-03 17:44:12 INFO order tiger_client 📈 Modifying stop loss: MPWR order 42422839859479552 to $1100.23
03-03 17:44:12 ERROR order tiger_client Error getting open orders for MPWR: code=1200 msg=standard account response error(internal_error:A system error occurred, please try again later)
03-03 17:44:03 INFO trailing_stop trailing_stop_engine 🛡️ [MPWR] 反向保护触发: 亏损1.24%, 趋势强度30, 止损从$1100.23收紧至$1100.23 (收紧系数0.7)
03-03 17:43:31 INFO general COIN trailing_stop_engine 📊 Batch API refresh: 12/12 symbols updated: ['REMX', 'COIN', 'ALAB', 'MSTU', 'ENTG', 'DIOD', 'SKYT', 'ALGM', 'TSEM', 'NXPI', 'MPWR', 'CRCL']
03-03 17:43:24 INFO order trailing_stop_scheduler - None: exit_price_ok - MPWR exit order 42421592331518976 price still ok
03-03 17:43:24 INFO general trailing_stop_scheduler 🔄 Fast check: 1 actions taken
03-03 17:43:24 INFO position tiger_client Position: TSEM, Qty: -38, Cost: 128.9805
03-03 17:43:24 INFO position tiger_client Position: SKYT, Qty: 84, Cost: 29.6755
03-03 17:43:24 INFO position tiger_client Position: REMX, Qty: -55, Cost: 90.9451
03-03 17:43:24 INFO position tiger_client Position: NXPI, Qty: -12, Cost: 215.75
03-03 17:43:24 INFO position tiger_client Position: NA, Qty: 729, Cost: 3.0059
03-03 17:43:24 INFO position MSTU tiger_client Position: MSTU, Qty: 1000, Cost: 5.2119
03-03 17:43:24 INFO position tiger_client Position: MPWR, Qty: -2, Cost: 1100.2299
03-03 17:43:24 INFO position tiger_client Position: ENTG, Qty: -20, Cost: 127.815