System Logs

Total: 1448291 Errors Live
Clear
Time Level Category Symbol Source Message
04-09 20:01:20 INFO order discord_notifier Discord TTS通知发送成功: AAOI做空开仓卖出37股状态[PAPER] filled
04-09 20:01:20 INFO order SOXL trailing_stop_engine 🔔 [PAPER] SOXL stop breached and no OCA protection (no_active_oca_group), proceeding with software exit.
04-09 20:01:20 INFO position tiger_client Position: WDC, Qty: -14, Cost: 338.4843
04-09 20:01:20 INFO position SOXL tiger_client Position: SOXL, Qty: 83, Cost: 71.3746
04-09 20:01:20 INFO position tiger_client Position: MRVL, Qty: -92, Cost: 108.5193
04-09 20:01:20 INFO position tiger_client Position: MP, Qty: 48, Cost: 52.3371
04-09 20:01:20 INFO position CRCL tiger_client Position: CRCL, Qty: 100, Cost: 102.4798
04-09 20:01:20 INFO position tiger_client Position: AAOI, Qty: -37, Cost: 134.5484
04-09 20:01:20 INFO order discord_notifier 订单状态Discord通知发送成功: AAOI - [PAPER] filled
04-09 20:01:20 INFO position tiger_client Getting positions for symbol: all
04-09 20:01:20 INFO order routes 📊 [PAPER] Entry fill processed via OrderTracker: already_filled
04-09 20:01:20 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: 11.47 marketValue: 17205 unrealizedPnl: -16215.3501092 timestamp: 1775764880062 positionQty: 1500 salableQty: 1500
04-09 20:01:20 INFO order tiger_client Order 42842938276987904 Tiger data: avgFillPrice=134.63, filledQuantity=37, totalQuantity=37, realizedPnl=0, commission=3.02, reason=, order_type=LMT, outside_rth=True
04-09 20:01:20 INFO order tiger_client Order 42842938276987904 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']
04-09 20:01:20 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: 633 averageCost: 50.2077284 latestPrice: 23.47 marketValue: 14856.51 unrealizedPnl: -16924.9821001 timestamp: 1775764880062 positionQty: 633 salableQty: 633
04-09 20:01:20 INFO position MSTU tiger_push_client 📋 Position update received: account: "50904193" symbol: "MSTU" identifier: "MSTU" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: 1000 averageCost: 4.55302 latestPrice: 4.46 marketValue: 4460 unrealizedPnl: -93.02 timestamp: 1775764880062 positionQty: 1000 salableQty: 1000
04-09 20:01:20 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.12 marketValue: 1012 unrealizedPnl: -547.304 timestamp: 1775764880062 positionQty: 100 salableQty: 100
04-09 20:01:20 INFO position QCML tiger_client Position: QCML, Qty: 1500, Cost: 22.2802
04-09 20:01:20 INFO position ORCX tiger_client Position: ORCX, Qty: 633, Cost: 50.2077
04-09 20:01:20 INFO position MSTU tiger_client Position: MSTU, Qty: 1000, Cost: 4.553
04-09 20:01:20 INFO position CLSK tiger_client Position: CLSK, Qty: 100, Cost: 15.593
04-09 20:01:19 INFO position tiger_client Getting positions for symbol: all
04-09 20:01:19 INFO order push_event_handlers ✅ WebSocket fill routed via OrderTracker: 42842938276987904 → filled
04-09 20:01:19 INFO order SOXL trailing_stop_engine 🔔 [PAPER] SOXL stop breached and no OCA protection (no_active_oca_group), proceeding with software exit.
04-09 20:01:19 INFO order discord_notifier Discord通知发送成功: 📦 Entry filled: AAOI SHORT 37.0@$134.63 (paper)
04-09 20:01:19 INFO order order_tracker_service 📦 Entry fill → Position created: AAOI 37.0@$134.63
04-09 20:01:19 INFO trailing_stop order_tracker_service 🎯 Created TrailingStop (legacy) for AAOI qty=37.0 sgid=None
04-09 20:01:19 INFO websocket trailing_stop_engine 📊 Subscribed to WebSocket quotes for AAOI
04-09 20:01:19 INFO trailing_stop trailing_stop_engine 📊 Auto-subscribed AAOI to WebSocket on trailing stop creation
04-09 20:01:19 INFO trailing_stop trailing_stop_engine 🔗 Linked TrailingStop #4078 → Position #2588 for AAOI
04-09 20:01:19 INFO trailing_stop trailing_stop_engine Created trailing stop for AAOI: entry=134.63, SL=147.6565947001, TP=90.3506307672
04-09 20:01:19 INFO order trailing_stop_engine 🔍 [TRACE] create_trailing_stop_for_trade called: symbol=AAOI, quantity=37, side=short, entry_price=134.63, trade_id=13172, account_type=paper, SL=147.6565947001, TP=90.3506307672, sl_order_id=None, tp_order_id=42842938276987905, from_reconciliation=False, source=None
04-09 20:01:19 INFO position order_tracker_service 📝 EntrySignalRecord #6775 created for AAOI (signal_log_id=30039, position_id=2588)
04-09 20:01:19 INFO position position_service 📦 Created new Position P_AAOI_2026-04-09_1 (short AAOI)
04-09 20:01:19 INFO order order_tracker_service 📋 Order 42842938276987904 FILLED (source=websocket): AAOI entry qty=37 price=$134.63 pnl=$0.00
04-09 20:01:19 INFO order push_event_handlers 📋 WebSocket order event: AAOI SELL status=FILLED filled=37 @ $134.63
04-09 20:01:19 INFO order tiger_push_client 📋 Order update received: id: 42842938276987904 account: "21794354632316626" symbol: "AAOI" identifier: "AAOI" multiplier: 1 action: "SELL" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "LMT" totalQuantity: 37 filledQuantity: 37 avgFillPrice: 134.63 limitPrice: 133.24 status: "FILLED" replaceStatus: "NONE" cancelStatus: "NONE" outsideRth: true name: "Applied Optoelectronics Inc." source: "openapi" commissionAndFee: 3.02 openTime: 1775764878000 timestamp: 1775764879085 attrList: "ATTACHED_ORDER" timeInForce: "DAY"
04-09 20:01:19 INFO order push_event_handlers 📋 WebSocket order event: AAOI BUY status=HELD filled=37 @ $0
04-09 20:01:19 INFO order tiger_push_client 📋 Order update received: id: 42842938276987905 account: "21794354632316626" symbol: "AAOI" identifier: "AAOI" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "LMT" totalQuantity: 37 limitPrice: 90.35 status: "HELD" replaceStatus: "NONE" cancelStatus: "NONE" outsideRth: true canModify: true canCancel: true name: "Applied Optoelectronics Inc." source: "openapi" openTime: 1775764878000 timestamp: 1775764879050 attrList: "ATTACHED_ORDER" timeInForce: "DAY"
04-09 20:01:19 INFO order push_event_handlers 📋 WebSocket order event: AAOI SELL status=HELD filled=37 @ $0
04-09 20:01:19 INFO order tiger_push_client 📋 Order update received: id: 42842938276987904 account: "21794354632316626" symbol: "AAOI" identifier: "AAOI" multiplier: 1 action: "SELL" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "LMT" totalQuantity: 37 limitPrice: 133.24 status: "HELD" replaceStatus: "NONE" cancelStatus: "NONE" outsideRth: true canModify: true canCancel: true name: "Applied Optoelectronics Inc." source: "openapi" openTime: 1775764878000 timestamp: 1775764879034 attrList: "ATTACHED_ORDER" timeInForce: "DAY"
04-09 20:01:19 INFO order order_tracker_service 📋 Registered order 42842938276987905: AAOI take_profit (paper)
04-09 20:01:19 INFO order order_tracker_service 📋 Registered order 42842938276987904: AAOI entry (paper)
04-09 20:01:19 INFO order routes 📝 [PAPER] Entry order placed and Trade persisted: 42842938276987904
04-09 20:01:19 INFO order tiger_client [Paper] BRACKET order placed: parent=42842938276987904, SL=None, TP=42842938276987905
04-09 20:01:19 INFO order tiger_client Order placed successfully: 42842938276987904
04-09 20:01:18 INFO trailing_stop tiger_client [AAOI] Skipping bracket SL leg for pre-market trade (outside_rth=True): TrailingStop handles soft stop at $147.66
04-09 20:01:18 INFO order tiger_client 📍 No existing position for AAOI, proceeding with new order
04-09 20:01:18 INFO position tiger_client 📈 Position query returned 0 positions for AAOI
04-09 20:01:18 INFO position tiger_client 📊 Position query result for AAOI: success=True
04-09 20:01:17 INFO position tiger_client Getting positions for symbol: AAOI
04-09 20:01:17 INFO position tiger_client 🔍 Position Increase Check: SELL 37.0 AAOI
04-09 20:01:17 INFO order signal_parser Signal parsed successfully: {'symbol': 'AAOI', 'is_close_signal': False, 'side': 'sell', 'quantity': 37.0, 'order_type': 'limit', 'stop_loss': 147.66, 'take_profit': 90.35, 'reference_price': 133.24, 'trading_session': 'extended', 'outside_rth': True, 'price': 133.24, 'time_in_force': 'day', 'signal_group_id': '7f8d682c-d9a5-4c69-b700-a819685553de'}
04-09 20:01:17 INFO order signal_parser Converted market order to limit order at $133.24 for extended hours trading
04-09 20:01:17 INFO general signal_parser 📊 SL/TP parsed: SL=$147.66, TP=$90.35
04-09 20:01:17 INFO trailing_stop routes 📝 [PAPER] Received webhook from 45.32.178.91: {"ticker":"AAOI","action":"sell","quantity":37,"referencePrice":133.24,"takeProfit":{"limitPrice":90.3506307672},"stopLoss":{"stopPrice":147.6565947001},"extras":{"timeframe":"60","indicator":"WaveMatrix Top"}}
04-09 20:01:17 INFO order discord_notifier 订单状态Discord通知发送成功: HOOG - [PAPER] invalid
04-09 20:01:17 INFO order routes 🏊 [PAPER] Order 42842937854411776 status=invalid, enqueued to PendingFillPool
04-09 20:01:17 INFO order tiger_client Order 42842937854411776 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=140, realizedPnl=0, commission=0, reason=该股票暂时无法做空, order_type=LMT, outside_rth=True
04-09 20:01:17 INFO order tiger_client Order 42842937854411776 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']
04-09 20:01:15 INFO order order_tracker_service 📋 Registered order 42842937854412800: HOOG take_profit (paper)
04-09 20:01:15 INFO order push_event_handlers 📋 WebSocket order event: HOOG BUY status=EXPIRED filled=140 @ $0
04-09 20:01:15 INFO order tiger_push_client 📋 Order update received: id: 42842937854412800 account: "21794354632316626" symbol: "HOOG" identifier: "HOOG" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "LMT" totalQuantity: 140 limitPrice: 15.1 status: "EXPIRED" replaceStatus: "NONE" cancelStatus: "NONE" outsideRth: true name: "2倍做多HOOD ETF- Leverage Shares" source: "openapi" errorMsg: "附加订单的主单已失效" openTime: 1775764875000 timestamp: 1775764875809 attrList: "ATTACHED_ORDER" timeInForce: "DAY"
04-09 20:01:15 INFO order push_event_handlers 📋 WebSocket order event: HOOG SELL status=EXPIRED filled=140 @ $0
04-09 20:01:15 INFO order order_tracker_service 📋 Registered order 42842937854411776: HOOG entry (paper)
04-09 20:01:15 INFO order tiger_push_client 📋 Order update received: id: 42842937854411776 account: "21794354632316626" symbol: "HOOG" identifier: "HOOG" multiplier: 1 action: "SELL" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "LMT" totalQuantity: 140 limitPrice: 17.46 status: "EXPIRED" replaceStatus: "NONE" cancelStatus: "NONE" outsideRth: true name: "2倍做多HOOD ETF- Leverage Shares" source: "openapi" errorMsg: "该股票暂时无法做空" openTime: 1775764875000 timestamp: 1775764875803 attrList: "ATTACHED_ORDER" timeInForce: "DAY"
04-09 20:01:15 INFO order routes 📝 [PAPER] Entry order placed and Trade persisted: 42842937854411776
04-09 20:01:15 INFO order tiger_client [Paper] BRACKET order placed: parent=42842937854411776, SL=None, TP=42842937854412800
04-09 20:01:15 INFO order tiger_client Order placed successfully: 42842937854411776
04-09 20:01:15 INFO trailing_stop tiger_client [HOOG] Skipping bracket SL leg for pre-market trade (outside_rth=True): TrailingStop handles soft stop at $18.05
04-09 20:01:15 INFO order tiger_client 📍 No existing position for HOOG, proceeding with new order
04-09 20:01:15 INFO position tiger_client 📈 Position query returned 0 positions for HOOG
04-09 20:01:15 INFO position tiger_client 📊 Position query result for HOOG: success=True
04-09 20:01:15 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: 11.47 marketValue: 17205 unrealizedPnl: -16215.3501092 timestamp: 1775764875053 positionQty: 1500 salableQty: 1500
04-09 20:01:15 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: 633 averageCost: 50.2077284 latestPrice: 23.47 marketValue: 14856.51 unrealizedPnl: -16924.9821001 timestamp: 1775764875053 positionQty: 633 salableQty: 633
04-09 20:01:15 INFO position MSTU tiger_push_client 📋 Position update received: account: "50904193" symbol: "MSTU" identifier: "MSTU" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: 1000 averageCost: 4.55302 latestPrice: 4.46 marketValue: 4460 unrealizedPnl: -93.02 timestamp: 1775764875053 positionQty: 1000 salableQty: 1000
04-09 20:01:15 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.11 marketValue: 1011 unrealizedPnl: -548.304 timestamp: 1775764875053 positionQty: 100 salableQty: 100
04-09 20:01:15 INFO position tiger_client Getting positions for symbol: HOOG
04-09 20:01:15 INFO position tiger_client 🔍 Position Increase Check: SELL 140.4226804124 HOOG
04-09 20:01:15 INFO order signal_parser Signal parsed successfully: {'symbol': 'HOOG', 'is_close_signal': False, 'side': 'sell', 'quantity': 140.4226804124, 'order_type': 'limit', 'stop_loss': 18.05, 'take_profit': 15.1, 'reference_price': 17.46, 'trailing_config': {'ladder': [{'profitPct': 2, 'newStopPct': 0}, {'profitPct': 3.5, 'newStopPct': 2}, {'profitPct': 4.2, 'newStopPct': 2.8}, {'profitPct': 5.1, 'newStopPct': 4.1}], 'activationPct': 5.5, 'trailPct': 2.2}, 'trading_session': 'extended', 'outside_rth': True, 'price': 17.46, 'time_in_force': 'day', 'signal_group_id': 'dc1a9ff7-7061-4e19-b07a-c59c41cc8820'}
04-09 20:01:15 INFO order signal_parser Converted market order to limit order at $17.46 for extended hours trading
04-09 20:01:15 INFO trailing_stop signal_parser 📊 Custom trailingStop config parsed: {'ladder': [{'profitPct': 2, 'newStopPct': 0}, {'profitPct': 3.5, 'newStopPct': 2}, {'profitPct': 4.2, 'newStopPct': 2.8}, {'profitPct': 5.1, 'newStopPct': 4.1}], 'activationPct': 5.5, 'trailPct': 2.2}
04-09 20:01:15 INFO general signal_parser 📊 SL/TP parsed: SL=$18.05, TP=$15.1
04-09 20:01:15 INFO trailing_stop routes 📝 [PAPER] Received webhook from 45.32.178.91: {"ticker":"HOOG","action":"sell","quantity":140.4226804124,"referencePrice":17.46,"takeProfit":{"limitPrice":15.1},"stopLoss":{"stopPrice":18.05},"extras":{"timeframe":"15","indicator":"BT-ML Optimized SHORT\nFinal decision: 4支持/0反对\nXGB/LGBM 108维模型:XGB: 支持(0.6393≥0.5600) | LGBM:支持(0.7845≥0.5600)\nScore: 0.7119 (阈值: 0.5600) PASS [多数通过]\nTFT模型:弃权(无模型/数据)\nPPO模型: 弃权(no_model)\nOHLCV模型:XGB:支持(0.6077≥0.31)LGBM:支持(0.5768≥0.31)\n支持+4 | 最终仓位: 100%","initialSlPct":2,"trailingStop":{"activationPct":5.5,"trailPct":2.2,"ladder":[{"profitPct":2,"newStopPct":0},{"profitPct":3.5,"newStopPct":2},{"profitPct":4.2,"newStopPct":2.8},{"profitPct":5.1,"newStopPct":4.1}]}}}
04-09 20:01:15 INFO trailing_stop routes 📝 [PAPER] No position found for AAOI - position may have been already closed by trailing stop or other exit
04-09 20:01:15 WARN position tiger_client No position found for AAOI at broker (API + cache + DB all returned 0/None). Aborting close to prevent opening reverse position.
04-09 20:01:15 WARN position tiger_client No position from Tiger API for AAOI, position likely already closed
04-09 20:01:14 INFO position tiger_client Getting positions for symbol: AAOI
04-09 20:01:14 INFO order tiger_client No open orders found for AAOI
04-09 20:01:14 INFO order tiger_client Retrieved 0 open orders for AAOI
04-09 20:01:14 INFO position tiger_client Attempting to close position for AAOI, signal_side=sell
04-09 20:01:14 INFO position tiger_client Attempting to close position for AAOI with sandbox fallback, signal_side=sell, signal_quantity=None
04-09 20:01:14 INFO order SOXL trailing_stop_scheduler - None: exit_price_ok - SOXL exit order 42814852706749440 price still ok
04-09 20:01:14 INFO general trailing_stop_scheduler 🔄 Fast check: 1 actions taken
04-09 20:01:14 INFO position tiger_client Getting positions for symbol: AAOI
04-09 20:01:14 INFO signal routes 📝 [PAPER] Processing close signal for AAOI, side=sell
04-09 20:01:13 INFO order signal_parser Signal parsed successfully: {'symbol': 'AAOI', 'is_close_signal': True, 'close_type': 'flat', 'side': 'sell', 'quantity': 'all', 'close_all': True, 'order_type': 'limit', 'stop_loss': 135.24, 'take_profit': 129.24, 'reference_price': 133.24, 'trading_session': 'extended', 'outside_rth': True, 'price': 133.24, 'time_in_force': 'day'}
04-09 20:01:13 INFO order signal_parser Converted market order to limit order at $133.24 for extended hours trading
04-09 20:01:13 INFO general signal_parser 📊 SL/TP parsed: SL=$135.24, TP=$129.24
04-09 20:01:13 INFO position signal_parser 🔴 Detected CLOSE signal for AAOI (sentiment=flat, closePosition=False, rating=, close_type=flat)