System Logs

Total: 772169 Errors Live
Clear
Time Level Category Symbol Source Message
03-04 14:33:20 INFO position tiger_client Position: NA, Qty: 729, Cost: 3.0059
03-04 14:33:20 INFO position tiger_client Position: MSTR, Qty: 23, Cost: 143.0765
03-04 14:33:20 INFO position tiger_client Position: DIOD, Qty: -73, Cost: 67.8311
03-04 14:33:20 INFO position tiger_client Getting positions for symbol: all
03-04 14:33:20 WARN position COIN trailing_stop_engine ⚠️ COIN stop triggered but NO holdings in cache. Direct API check...
03-04 14:33:20 INFO position tiger_client Position: TSLA, Qty: 4, Cost: 400.29
03-04 14:33:20 INFO position tiger_client Position: OKLO, Qty: 242, Cost: 63.6323
03-04 14:33:20 INFO position tiger_client Position: NA, Qty: 729, Cost: 3.0059
03-04 14:33:20 INFO position tiger_client Position: MSTR, Qty: 23, Cost: 143.0765
03-04 14:33:20 INFO position tiger_client Position: DIOD, Qty: -73, Cost: 67.8311
03-04 14:33:19 INFO position tiger_client Getting positions for symbol: all
03-04 14:33:19 INFO position QCML tiger_client Position: QCML, Qty: 1500, Cost: 22.2802
03-04 14:33:19 INFO position ORCX tiger_client Position: ORCX, Qty: 1900, Cost: 16.7397
03-04 14:33:19 INFO position MSTU tiger_client Position: MSTU, Qty: 1000, Cost: 5.1016
03-04 14:33:19 INFO position CLSK tiger_client Position: CLSK, Qty: 100, Cost: 15.593
03-04 14:33:19 INFO position tiger_client Getting positions for symbol: all
03-04 14:33:00 INFO order COIN trailing_stop_engine 🔔 [PAPER] COIN stop breached and no OCA protection (oca_has_no_stop_order_id), proceeding with software exit.
03-04 14:33:00 WARN order COIN oca_service ⚠️ [COIN] OCA group #3805 has no stop_order_id and no live STP order found via API
03-04 14:33:00 INFO order COIN tiger_client Retrieved 0 open orders for COIN
03-04 14:32:55 ERROR order COIN trailing_stop_engine ❌ COIN 动态trailing止损订单恢复失败: 止损价方向不合理: stop=$201.55 vs entry=$182.36
03-04 14:32:55 ERROR order COIN trailing_stop_engine ❌ COIN 止损价 $201.55 对于多头(入场价 $182.36) 方向不合理,跳过创建止损订单
03-04 14:32:55 WARN general COIN trailing_stop_engine ⚠️ [COIN] Invalid SL for LONG: SL $201.55 >= entry $182.36, discarding SL
03-04 14:32:55 INFO order COIN tiger_client Retrieved 0 open orders for COIN
03-04 14:32:54 INFO position holdings_sync Holdings sync [real]: 0 new, 4 updated, 0 removed, 4 total
03-04 14:32:54 INFO position QCML tiger_client Position: QCML, Qty: 1500, Cost: 22.2802
03-04 14:32:54 INFO position ORCX tiger_client Position: ORCX, Qty: 1900, Cost: 16.7397
03-04 14:32:54 INFO position MSTU tiger_client Position: MSTU, Qty: 1000, Cost: 5.1016
03-04 14:32:54 INFO position CLSK tiger_client Position: CLSK, Qty: 100, Cost: 15.593
03-04 14:32:53 INFO order COIN trailing_stop_engine ✅ Cancelled take profit order 42432548605659136 for COIN
03-04 14:32:53 INFO order tiger_client Cancel order 42432548605659136 result: 42432548605659136
03-04 14:32:53 INFO position tiger_client Getting positions for symbol: all
03-04 14:32:53 INFO order COIN trailing_stop_engine 📋 COIN 发现止盈订单ID: 42432548605659136
03-04 14:32:53 INFO order COIN trailing_stop_engine 📋 COIN 止盈订单ID已更新: 42432668647686144 -> 42432548605659136
03-04 14:32:53 INFO order COIN trailing_stop_engine 📋 COIN 存储的止盈订单ID 42432668647686144 不在挂单中,尝试类型匹配
03-04 14:32:53 INFO order COIN tiger_client Open order: 42432548605659136 - BUY 12 COIN @ 194.05 - Status: OrderStatus.HELD - CanCancel: True
03-04 14:32:53 INFO order COIN tiger_client Retrieved 1 open orders for COIN
03-04 14:32:51 INFO general COIN trailing_stop_engine 📊 Batch API refresh: 5/5 symbols updated: ['MSTR', 'TSLA', 'COIN', 'DIOD', 'OKLO']
03-04 14:32:51 INFO order COIN discord_notifier Discord通知发送成功: 📦 Entry filled: COIN LONG 12.0@$182.36 (paper)
03-04 14:32:50 INFO order COIN order_tracker_service 📦 Entry fill → Position created: COIN 12.0@$182.36
03-04 14:32:50 INFO trailing_stop COIN order_tracker_service 🎯 Created TrailingStop for COIN
03-04 14:32:50 INFO order COIN trailing_stop_engine ✅ OCA protection auto-created for COIN: created
03-04 14:32:50 INFO order COIN oca_service OCA protection created for COIN: stop=None, tp=203.75, OCAGroup ID=3805 (source=ts_creation_auto)
03-04 14:32:50 INFO order COIN tiger_client OCA group 'COIN-1772634769' creation completed with 1 orders
03-04 14:32:50 INFO order COIN order_tracker_service 📋 Registered order 42432668647686144: COIN take_profit (paper)
03-04 14:32:50 INFO order COIN tiger_client OCAGroup record created: ID=3805, group=COIN-1772634769
03-04 14:32:49 INFO order COIN tiger_client No existing orders to cancel for COIN
03-04 14:32:49 INFO order COIN tiger_client Open order: 42432548605659136 - BUY 12 COIN @ 194.05 - Status: OrderStatus.HELD - CanCancel: True
03-04 14:32:49 INFO order COIN tiger_client Retrieved 1 open orders for COIN
03-04 14:32:49 INFO order COIN tiger_client Creating OCA orders for LONG position: 12 shares of COIN
03-04 14:32:49 INFO position COIN tiger_client Skipping position check for COIN, using provided side=long, qty=12
03-04 14:32:49 INFO order COIN oca_service 🔍 [TRACE] create_oca_protection called: symbol=COIN, quantity=12.0, side=long, stop=None, tp=203.75, account=paper, ts_id=3038, trade_id=9668
03-04 14:32:49 INFO trailing_stop COIN trailing_stop_engine Created trailing stop for COIN: entry=182.36, SL=None, TP=203.75
03-04 14:32:49 WARN order COIN trailing_stop_engine ⚠️ [COIN] Cleared invalid SL order ID due to bad SL price (original SL=$188.23)
03-04 14:32:49 WARN general COIN trailing_stop_engine ⚠️ [COIN] Invalid SL for LONG: SL $188.23 >= entry $182.36, discarding SL
03-04 14:32:49 INFO order COIN trailing_stop_engine 🔍 [TRACE] create_trailing_stop_for_trade called: symbol=COIN, quantity=12.0, side=long, entry_price=182.36, trade_id=9668, account_type=paper, SL=188.23, TP=203.75, sl_order_id=None, tp_order_id=None, from_reconciliation=False, source=None
03-04 14:32:48 INFO order COIN order_tracker_service [COIN] stop_loss_order_id 42432122732152833 is expired/invalid (status=cancelled), clearing to allow fresh OCA creation
03-04 14:32:48 INFO order tiger_client Order 42432122732152833 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=12, realizedPnl=0, commission=0, reason=, order_type=STP, outside_rth=False
03-04 14:32:48 INFO order tiger_client Order 42432122732152833 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-04 14:32:48 INFO position COIN position_service 📦 Created new Position P_COIN_2026-03-04_1 (long COIN)
03-04 14:32:48 INFO order COIN order_tracker_service 📋 Order 42432122731888640 FILLED (source=pending_fill_pool): COIN entry qty=12.0 price=$182.36 pnl=$0.00
03-04 14:32:47 INFO position holdings_sync Holdings sync [paper]: 0 new, 6 updated, 1 removed, 6 total
03-04 14:32:47 INFO order discord_notifier Discord通知发送成功: 📦 Entry filled: TSLA LONG 2.0@$399.50 (paper)
03-04 14:32:47 INFO order order_tracker_service 📦 Entry fill → Position created: TSLA 2.0@$399.50
03-04 14:32:47 INFO trailing_stop order_tracker_service 🎯 Created TrailingStop for TSLA
03-04 14:32:47 INFO position tiger_client Position: TSLA, Qty: 4, Cost: 400.29
03-04 14:32:47 INFO position tiger_client Position: OKLO, Qty: 242, Cost: 63.6323
03-04 14:32:47 INFO position tiger_client Position: NA, Qty: 729, Cost: 3.0059
03-04 14:32:47 INFO position tiger_client Position: MSTR, Qty: 23, Cost: 143.0765
03-04 14:32:47 INFO position tiger_client Position: DIOD, Qty: -73, Cost: 67.8311
03-04 14:32:47 INFO position COIN tiger_client Position: COIN, Qty: 12, Cost: 182.6083
03-04 14:32:47 INFO order trailing_stop_engine 📋 Synced new STP_LMT order to Trade and OrderTracker
03-04 14:32:47 INFO order trailing_stop_engine 📋 Marked OrderTracker 42432058935869440 as cancelled
03-04 14:32:47 INFO order trailing_stop_engine 📋 Created OrderTracker for stop loss order 42432668241758208
03-04 14:32:47 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42432058935869440 → 42432668241758208 for trade_id=9667
03-04 14:32:47 INFO order trailing_stop_engine ✅ Created STP_LMT order 42432668241758208 for TSLA (RTH only, extended hours via TrailingStop)
03-04 14:32:47 INFO order tiger_client ✅ Created STP_LMT order 42432668241758208: SELL 2.0 TSLA @ stop=$387.60 outside_rth=False
03-04 14:32:46 INFO order tiger_client 📋 Creating STP_LMT order: SELL 2.0 TSLA @ stop=$387.60 limit=$385.66 outside_rth=False
03-04 14:32:46 INFO position tiger_client Getting positions for symbol: all
03-04 14:32:46 INFO order trailing_stop_engine ✅ Cancelled STP order 42432058935869440
03-04 14:32:46 INFO order tiger_client Cancel order 42432058935869440 result: 42432058935869440
03-04 14:32:46 INFO position holdings_sync Holdings sync [real]: 0 new, 4 updated, 0 removed, 4 total
03-04 14:32:46 INFO order trailing_stop_engine 🔄 Detected stop order 42432058935869440 for TSLA: type=STP, outsideRth=False. Converting to STP_LMT with extended hours support...
03-04 14:32:46 INFO order trailing_stop_engine 🔍 Stop order 42432058935869440 status check: type=STP, outside_rth=False, status=pending, order_active=True
03-04 14:32:46 INFO order tiger_client Order 42432058935869440 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=2, realizedPnl=0, commission=0, reason=, order_type=STP, outside_rth=False
03-04 14:32:46 INFO order tiger_client Order 42432058935869440 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-04 14:32:45 INFO position QCML tiger_client Position: QCML, Qty: 1500, Cost: 22.2802
03-04 14:32:45 INFO position ORCX tiger_client Position: ORCX, Qty: 1900, Cost: 16.7397
03-04 14:32:45 INFO position MSTU tiger_client Position: MSTU, Qty: 1000, Cost: 5.1016
03-04 14:32:45 INFO position CLSK tiger_client Position: CLSK, Qty: 100, Cost: 15.593
03-04 14:32:45 INFO position tiger_client Getting positions for symbol: all
03-04 14:32:45 INFO trailing_stop trailing_stop_engine Created trailing stop for TSLA: entry=399.5, SL=387.6, TP=419.57
03-04 14:32:45 INFO order trailing_stop_engine 🔍 [TRACE] create_trailing_stop_for_trade called: symbol=TSLA, quantity=2.0, side=long, entry_price=399.5, trade_id=9667, account_type=paper, SL=387.6, TP=419.57, sl_order_id=42432058935869440, tp_order_id=42432058935870464, from_reconciliation=False, source=None
03-04 14:32:37 INFO order tiger_client Order 42432058935869440 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=2, realizedPnl=0, commission=0, reason=, order_type=STP, outside_rth=False
03-04 14:32:37 INFO order tiger_client Order 42432058935869440 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-04 14:32:22 INFO position position_service 📦 Created new Position P_TSLA_2026-03-04_1 (long TSLA)
03-04 14:32:22 INFO order order_tracker_service 📋 Order 42432058935740416 FILLED (source=pending_fill_pool): TSLA entry qty=2.0 price=$399.50 pnl=$0.00
03-04 14:32:21 INFO position tiger_client Position: TSLA, Qty: 4, Cost: 400.29
03-04 14:32:21 INFO position tiger_client Getting positions for symbol: TSLA
03-04 14:32:20 INFO order tiger_client Order 42432548605659136 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=12, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True
03-04 14:32:20 INFO order tiger_client Order 42432548605659136 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']