System Logs

Total: 831567 Errors Live
Clear
Time Level Category Symbol Source Message
03-03 14:45:14 INFO order tiger_client Order 42421441344832512 Tiger data: avgFillPrice=178.4, filledQuantity=5, totalQuantity=5, realizedPnl=14.48, commission=2.99, reason=, order_type=MKT, outside_rth=False
03-03 14:45:14 INFO order tiger_client Order 42421441344832512 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 14:45:12 INFO order NVDA order_tracker_service 📋 Registered order 42421441344832512: NVDA exit_signal (paper)
03-03 14:45:12 INFO order routes 📝 [PAPER] Close position order placed: 42421441344832512
03-03 14:45:12 INFO order MU push_event_handlers 📋 WebSocket order event: MU BUY status=EXPIRED filled=6 @ $0
03-03 14:45:12 INFO order MU tiger_push_client 📋 Order update received: id: 42421374758945792 account: "21994480083284213" symbol: "MU" identifier: "MU" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "STP_LMT" totalQuantity: 6 limitPrice: 397.53 status: "EXPIRED" replaceStatus: "NONE" cancelStatus: "NONE" name: "美光科技" source: "openapi" errorMsg: "您下单的数量超过了您可用的持仓数量;如您想反向开仓,需要先平仓后才能开新仓" openTime: 1772548604000 timestamp: 1772548604659 timeInForce: "DAY"
03-03 14:45:12 INFO order tiger_client Close position order placed successfully: 42421441344832512
03-03 14:45:12 INFO order tiger_client Set order.outside_rth = False
03-03 14:45:12 INFO order tiger_client Created market order for regular hours
03-03 14:45:12 INFO position NVDA tiger_client Closing position: SELL 5 shares of NVDA
03-03 14:45:12 INFO position tiger_client Close position: Auto-detected regular trading hours, standard session
03-03 14:45:12 INFO position NVDA tiger_client Close position: SELL 5 NVDA (source: tiger_api)
03-03 14:45:12 INFO position NVDA tiger_client Got position from Tiger API: NVDA = 5 shares
03-03 14:45:12 INFO position NVDA tiger_client Position: NVDA, Qty: 5, Cost: 174.906
03-03 14:45:12 INFO position NVDA tiger_client Getting positions for symbol: NVDA
03-03 14:45:12 INFO order NVDA tiger_client No open orders found for NVDA
03-03 14:45:12 INFO order NVDA tiger_client Retrieved 0 open orders for NVDA
03-03 14:45:11 INFO position NVDA tiger_client Attempting to close position for NVDA, signal_side=sell
03-03 14:45:11 INFO position NVDA tiger_client Attempting to close position for NVDA with sandbox fallback, signal_side=sell, signal_quantity=None
03-03 14:45:11 INFO position NVDA tiger_client Position: NVDA, Qty: 5, Cost: 174.906
03-03 14:45:11 INFO position NVDA tiger_client Getting positions for symbol: NVDA
03-03 14:45:11 INFO signal NVDA routes 📝 [PAPER] Processing close signal for NVDA, side=sell
03-03 14:45:11 INFO order NVDA signal_parser Signal parsed successfully: {'symbol': 'NVDA', 'is_close_signal': True, 'close_type': 'flat', 'side': 'sell', 'quantity': 'all', 'close_all': True, 'order_type': 'market', 'reference_price': 178.44, 'trading_session': 'regular', 'outside_rth': False, 'time_in_force': 'day'}
03-03 14:45:11 INFO position NVDA signal_parser 🔴 Detected CLOSE signal for NVDA (sentiment=flat, closePosition=False, rating=, close_type=flat)
03-03 14:45:11 INFO position NVDA routes 📝 [PAPER] Received webhook from 35.237.109.100: {"action": "sell", "extras": {"indicator": "Wavematrix sell", "timeframe": "15", "referencePrice": 178.44}, "reason": "Reverse Signal Close", "ticker": "NVDA", "quantity": "all", "sentiment": "flat", "signal_type": "flat", "forwarded_at": "2026-03-03T14:45:11.055114"}
03-03 14:45:02 ERROR order STX trailing_stop_engine ❌ STX 动态trailing止损订单恢复失败: 止损价方向不合理: stop=$367.65 vs entry=$380.25
03-03 14:45:02 ERROR order STX trailing_stop_engine ❌ STX 止损价 $367.65 对于空头(入场价 $380.25) 方向不合理,跳过创建止损订单
03-03 14:45:02 WARN general STX trailing_stop_engine ⚠️ [STX] Invalid SL for SHORT: SL $367.65 <= entry $380.25, discarding SL
03-03 14:45:02 INFO order STX tiger_client Retrieved 0 open orders for STX
03-03 14:45:01 INFO general STX trailing_stop_engine 📊 Batch API refresh: 11/11 symbols updated: ['MPWR', 'STX', 'SYNA', 'AOSL', 'ALGM', 'SOXL', 'AMZN', 'MU', 'ARM', 'ON', 'SOXX']
03-03 14:45:01 INFO position tiger_client Position: CRUS, Qty: -18, Cost: 138.2533
03-03 14:45:00 INFO position tiger_client Getting positions for symbol: CRUS
03-03 14:45:00 INFO position tiger_client Position: TSLL, Qty: -342, Cost: 14.0114
03-03 14:44:59 INFO position tiger_client Getting positions for symbol: TSLL
03-03 14:44:58 INFO trailing_stop trailing_stop_engine 🛡️ [CEVA] 反向保护触发: 亏损4.52%, 趋势强度15, 止损从$21.44收紧至$21.48 (收紧系数0.6)
03-03 14:44:55 INFO position SOXL tiger_client Position: SOXL, Qty: -136, Cost: 55.4325
03-03 14:44:54 INFO position SOXL tiger_client Getting positions for symbol: SOXL
03-03 14:44:54 INFO trailing_stop routes 📝 [PAPER] No position found for NVEC - position may have been already closed by trailing stop or other exit
03-03 14:44:54 WARN position tiger_client No position found for NVEC at broker (API + cache + DB all returned 0/None). Aborting close to prevent opening reverse position.
03-03 14:44:54 WARN position tiger_client No position from Tiger API for NVEC, position likely already closed
03-03 14:44:54 INFO position tiger_client Getting positions for symbol: NVEC
03-03 14:44:54 INFO order tiger_client No open orders found for NVEC
03-03 14:44:54 INFO order tiger_client Retrieved 0 open orders for NVEC
03-03 14:44:54 INFO order tiger_client Order 42421434979714048 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=332, realizedPnl=0, commission=0, reason=该股票暂时无法做空, order_type=LMT, outside_rth=True
03-03 14:44:54 INFO order tiger_client Order 42421434979714048 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 14:44:53 INFO order tiger_client Order 42421424698032128 Tiger data: avgFillPrice=138.42, filledQuantity=18, totalQuantity=18, realizedPnl=0, commission=3.0, reason=, order_type=LMT, outside_rth=True
03-03 14:44:53 INFO order tiger_client Order 42421424698032128 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 14:44:53 INFO position tiger_client Attempting to close position for NVEC, signal_side=sell
03-03 14:44:53 INFO position tiger_client Attempting to close position for NVEC with sandbox fallback, signal_side=sell, signal_quantity=1.0
03-03 14:44:52 INFO position tiger_client Getting positions for symbol: NVEC
03-03 14:44:52 INFO signal routes 📝 [PAPER] Processing close signal for NVEC, side=sell
03-03 14:44:52 INFO order signal_parser Signal parsed successfully: {'symbol': 'NVEC', 'is_close_signal': True, 'close_type': 'flat', 'side': 'sell', 'quantity': 1.0, 'order_type': 'market', 'reference_price': 67.85, 'trading_session': 'regular', 'outside_rth': False, 'time_in_force': 'day'}
03-03 14:44:52 INFO position signal_parser 🔴 Detected CLOSE signal for NVEC (sentiment=flat, closePosition=False, rating=, close_type=flat)
03-03 14:44:52 INFO signal routes 📝 [PAPER] Received webhook from 136.115.84.171: {"action": "sell", "extras": {"indicator": "MainTrend AIsellSignal exit_buy", "timeframe": "5m", "referencePrice": 67.85}, "ticker": "NVEC", "sentiment": "flat", "signal_type": "flat", "forwarded_at": "2026-03-03T14:44:49.480762"}
03-03 14:44:52 INFO order routes 📝 [PAPER] Discord notification sent: filled
03-03 14:44:52 INFO order discord_notifier Discord TTS通知发送成功: ALGM做空开仓卖出72股状态[PAPER] filled
03-03 14:44:51 INFO order discord_notifier 订单状态Discord通知发送成功: ALGM - [PAPER] filled
03-03 14:44:51 INFO order routes 📊 [PAPER] Entry fill processed via OrderTracker: filled
03-03 14:44:51 INFO order discord_notifier Discord通知发送成功: 📦 Entry filled: ALGM SHORT 72.0@$34.64 (paper)
03-03 14:44:51 INFO order order_tracker_service 📦 Entry fill → Position created: ALGM 72.0@$34.64
03-03 14:44:51 INFO trailing_stop order_tracker_service 🎯 Created TrailingStop for ALGM
03-03 14:44:51 INFO websocket trailing_stop_engine 📊 Subscribed to WebSocket quotes for ALGM
03-03 14:44:51 INFO order trailing_stop_engine 📋 Synced new STP_LMT order to Trade and OrderTracker
03-03 14:44:51 INFO order trailing_stop_engine 📋 Marked OrderTracker 42421437749265409 as cancelled
03-03 14:44:50 INFO order trailing_stop_engine 📋 Created OrderTracker for stop loss order 42421438467147776
03-03 14:44:50 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42421437749265409 → 42421438467147776 for trade_id=9513
03-03 14:44:50 INFO order trailing_stop_engine ✅ Created STP_LMT order 42421438467147776 for ALGM (RTH only, extended hours via TrailingStop)
03-03 14:44:50 INFO order tiger_client ✅ Created STP_LMT order 42421438467147776: BUY 72 ALGM @ stop=$35.22 outside_rth=False
03-03 14:44:50 INFO order tiger_client 📋 Creating STP_LMT order: BUY 72 ALGM @ stop=$35.22 limit=$35.40 outside_rth=False
03-03 14:44:50 INFO order trailing_stop_engine ✅ Cancelled STP order 42421437749265409
03-03 14:44:50 INFO order tiger_client Cancel order 42421437749265409 result: 42421437749265409
03-03 14:44:49 INFO order trailing_stop_engine 🔄 Detected stop order 42421437749265409 for ALGM: type=STP, outsideRth=False. Converting to STP_LMT with extended hours support...
03-03 14:44:49 INFO order trailing_stop_engine 🔍 Stop order 42421437749265409 status check: type=STP, outside_rth=False, status=pending, order_active=True
03-03 14:44:49 INFO order tiger_client Order 42421437749265409 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=72, realizedPnl=0, commission=0, reason=, order_type=STP, outside_rth=False
03-03 14:44:49 INFO order tiger_client Order 42421437749265409 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 14:44:49 INFO trailing_stop trailing_stop_engine 📊 Auto-subscribed ALGM to WebSocket on trailing stop creation
03-03 14:44:49 INFO trailing_stop trailing_stop_engine Created trailing stop for ALGM: entry=34.64, SL=35.22, TP=33.33
03-03 14:44:48 INFO order trailing_stop_engine 🔍 [TRACE] create_trailing_stop_for_trade called: symbol=ALGM, quantity=72, side=short, entry_price=34.64, trade_id=9513, account_type=paper, SL=35.22, TP=33.33, sl_order_id=42421437749265409, tp_order_id=42421437749265408, from_reconciliation=False, source=None
03-03 14:44:48 INFO order tiger_client Order 42421437749265409 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=72, realizedPnl=0, commission=0, reason=, order_type=STP, outside_rth=False
03-03 14:44:48 INFO order tiger_client Order 42421437749265409 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 14:44:48 INFO position position_service 📦 Created new Position P_ALGM_2026-03-03_1 (short ALGM)
03-03 14:44:48 INFO order order_tracker_service 📋 Order 42421437749133312 FILLED (source=polling_paper_entry): ALGM entry qty=72 price=$34.64 pnl=$0.00
03-03 14:44:47 INFO order tiger_client Order 42421437749133312 Tiger data: avgFillPrice=34.64, filledQuantity=72, totalQuantity=72, realizedPnl=0, commission=3.0, reason=, order_type=LMT, outside_rth=True
03-03 14:44:47 INFO order tiger_client Order 42421437749133312 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 14:44:47 INFO trailing_stop trailing_stop_scheduler - SOXX: progressive_adjust - 盈利1.2%触发tier1(保本), 止损上移至$338.73
03-03 14:44:47 INFO general trailing_stop_scheduler 🔄 Fast check: 1 actions taken
03-03 14:44:46 INFO order trailing_stop_engine 📈 [PAPER] SOXX 止损上移成功: $338.73, 新订单ID=42421437867622400
03-03 14:44:46 INFO order trailing_stop_engine 📋 Marked OrderTracker 42421392882926592 as cancelled
03-03 14:44:46 INFO order trailing_stop_engine 📋 Created OrderTracker for stop loss order 42421437867622400
03-03 14:44:46 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42421392882926592 → 42421437867622400 for trade_id=9505
03-03 14:44:46 INFO order tiger_client ✅ Created new stop loss order 42421437867622400 at $338.73 (cancel+create)
03-03 14:44:45 INFO order order_tracker_service 📋 Registered order 42421437749265408: ALGM take_profit (paper)
03-03 14:44:45 INFO order order_tracker_service 📋 Registered order 42421437749265409: ALGM stop_loss (paper)
03-03 14:44:45 INFO order order_tracker_service 📋 Registered order 42421437749133312: ALGM entry (paper)
03-03 14:44:45 INFO order routes 📝 [PAPER] Entry order placed and Trade persisted: 42421437749133312
03-03 14:44:45 INFO order tiger_client [Paper] BRACKET order placed: parent=42421437749133312, SL=42421437749265409, TP=42421437749265408
03-03 14:44:45 INFO order tiger_client Order placed successfully: 42421437749133312
03-03 14:44:45 INFO order tiger_client 📅 [Paper] Stop LIMIT order: outside_rth=False (trigger=$338.73, limit=$337.04)
03-03 14:44:45 INFO order tiger_client Place order: Auto-detected regular trading hours, standard session
03-03 14:44:45 INFO order tiger_client 📍 No existing position for ALGM, proceeding with new order