System Logs

Total: 1647515 Errors Live
Clear
Time Level Category Symbol Source Message
03-12 17:00:28 INFO order tiger_client Cancel order 42524425522004992 result: 42524425522004992
03-12 17:00:28 ERROR error tiger_client Batch smart price fetch failed: 'NoneType' object has no attribute 'get_stock_briefs'
03-12 17:00:27 WARN order tiger_client ⚠️ Order 42524425522004992 cannot be modified (status=OrderStatus.EXPIRED), falling back to cancel+create
03-12 17:00:27 ERROR error tiger_client Batch smart price fetch failed: 'NoneType' object has no attribute 'get_stock_briefs'
03-12 17:00:27 INFO general trailing_stop_engine 📊 EODHD batch fallback: 1/1 symbols: ['VSTL']
03-12 17:00:27 INFO order tiger_client 📈 Modifying stop loss: OKLO order 42524425522004992 to $60.75
03-12 17:00:27 INFO order trailing_stop_engine 📋 OKLO 存储的止损订单ID 42524425522004992 不在挂单中,尝试类型匹配
03-12 17:00:27 INFO order tiger_client Retrieved 0 open orders for OKLO
03-12 17:00:27 INFO order trailing_stop_engine 📈 [PAPER] OKLO 反向保护止损修改成功: $60.75, 新订单ID=42524426511731712
03-12 17:00:27 INFO order trailing_stop_engine 📋 Marked OrderTracker 42524424960884736 as cancelled
03-12 17:00:27 INFO order trailing_stop_engine 📋 Created OrderTracker for stop loss order 42524426511731712
03-12 17:00:27 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42524425774844928 → 42524426511731712 for trade_id=10831
03-12 17:00:27 INFO order tiger_client ✅ Created new stop loss order 42524426511731712 at $60.75 (cancel+create)
03-12 17:00:27 INFO order trailing_stop_engine [OKLO] TS stays ACTIVE with pending exit order None, will re-check each cycle
03-12 17:00:27 WARN order trailing_stop_engine ⚠️ Trailing stop close order placed but no order_id returned
03-12 17:00:27 INFO order trailing_stop_engine ⚠️ OKLO 仓位已不存在,止损单可能已触发成交,跳过重复平仓
03-12 17:00:26 INFO position tiger_client Getting positions for symbol: OKLO
03-12 17:00:26 INFO order trailing_stop_engine ✅ OKLO take_profit订单已取消: 42523983462809600
03-12 17:00:26 INFO order tiger_client Cancel order 42523983462809600 result: 42523983462809600
03-12 17:00:26 ERROR general tiger_client Quote client not initialized
03-12 17:00:26 INFO order trailing_stop_engine 📋 OKLO 存储的止盈订单ID 42523983462809600 不在挂单中,尝试类型匹配
03-12 17:00:26 INFO order tiger_client Retrieved 0 open orders for OKLO
03-12 17:00:26 INFO order trailing_stop_engine ✅ OKLO stop_loss订单已取消: 42524425774844928
03-12 17:00:26 INFO order tiger_client Cancel order 42524425774844928 result: 42524425774844928
03-12 17:00:26 INFO order tiger_client 📅 [Paper] Stop LIMIT order: outside_rth=False (trigger=$60.75, limit=$60.44)
03-12 17:00:26 INFO order trailing_stop_engine 📋 OKLO 存储的止损订单ID 42524425774844928 不在挂单中,尝试类型匹配
03-12 17:00:26 INFO order tiger_client Retrieved 0 open orders for OKLO
03-12 17:00:25 INFO order tiger_client ✅ Cancelled old stop loss order 42524424960884736
03-12 17:00:25 INFO order tiger_client Cancel order 42524424960884736 result: 42524424960884736
03-12 17:00:25 INFO position SOXL tiger_push_client 📋 Position update received: account: "50904193" symbol: "SOXL" identifier: "SOXL" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: -96 averageCost: 51.3860417 latestPrice: 51.38 marketValue: -4932.48 unrealizedPnl: 0.58 timestamp: 1773334825085 positionQty: -96
03-12 17:00:25 INFO order order_tracker_service 📦 Exit fill → OKLO trailing_stop: 41@$61.23, position=CLOSED
03-12 17:00:25 INFO order order_tracker_service 🎯 Deactivated TrailingStopPosition #3453 for OKLO via exit_trailing fill (position fully closed)
03-12 17:00:25 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: 12.38 marketValue: 18570 unrealizedPnl: -14850.3501092 timestamp: 1773334825085 positionQty: 1500 salableQty: 1500
03-12 17:00:25 INFO order position_service 📦 Position P_OKLO_2026-03-12_1 CLOSED. P&L=$-29.93 (close_source=websocket_fill)
03-12 17:00:25 INFO general position_service 📊 [P_OKLO_2026-03-12_1] P&L: ours=$-29.93 vs Tiger=$-35.91 (using ours, Tiger uses different cost basis)
03-12 17:00:25 INFO position order_tracker_service 📋 Found Position #1879 via position_id (precise match)
03-12 17:00:25 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.83 marketValue: 20577 unrealizedPnl: -11228.3900001 timestamp: 1773334825085 positionQty: 1900 salableQty: 1900
03-12 17:00:25 WARN order tiger_client ⚠️ Order 42524424960884736 cannot be modified (status=OrderStatus.EXPIRED), falling back to cancel+create
03-12 17:00:25 INFO order order_tracker_service 📋 Order 42524425541797888 FILLED (source=websocket): OKLO exit_trailing qty=41 price=$61.23 pnl=$-35.91
03-12 17:00:25 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: 9.5 marketValue: 950 unrealizedPnl: -609.304 timestamp: 1773334825085 positionQty: 100 salableQty: 100
03-12 17:00:25 INFO general trailing_stop_engine 🔄 SOXX retry cooldown expired, proceeding with attempt 2
03-12 17:00:25 INFO order push_event_handlers 📋 WebSocket order event: OKLO BUY status=FILLED filled=41 @ $61.23
03-12 17:00:25 INFO order tiger_push_client 📋 Order update received: id: 42524425541797888 account: "21444612990232147" symbol: "OKLO" identifier: "OKLO" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "MKT" totalQuantity: 41 filledQuantity: 41 avgFillPrice: 61.23 realizedPnl: -35.909999999999677 status: "FILLED" replaceStatus: "NONE" cancelStatus: "NONE" name: "Oklo Inc." source: "openapi" errorMsg: "订单当前不支持撤销,请查看订单状态或者咨询客服。" commissionAndFee: 2.98 openTime: 1773334819000 timestamp: 1773334822638 timeInForce: "DAY"
03-12 17:00:25 INFO order push_event_handlers 📋 WebSocket order event: OKLO BUY status=EXPIRED filled=41 @ $0
03-12 17:00:25 INFO order tiger_push_client 📋 Order update received: id: 42524425774844928 account: "21444612990232147" symbol: "OKLO" identifier: "OKLO" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "STP_LMT" isLong: true totalQuantity: 41 limitPrice: 60.44 status: "EXPIRED" replaceStatus: "NONE" cancelStatus: "NONE" name: "Oklo Inc." source: "openapi" errorMsg: "止损价必须大于最新价" openTime: 1773334821000 timestamp: 1773334821468 timeInForce: "DAY"
03-12 17:00:25 INFO general trailing_stop_engine 🔄 ARM retry cooldown expired, proceeding with attempt 2
03-12 17:00:25 INFO order tiger_client 📈 Modifying stop loss: OKLO order 42524424960884736 to $60.75
03-12 17:00:25 INFO order trailing_stop_engine 📋 OKLO 存储的止损订单ID 42524424960884736 不在挂单中,尝试类型匹配
03-12 17:00:25 INFO order tiger_client Retrieved 0 open orders for OKLO
03-12 17:00:24 INFO order push_event_handlers 📋 WebSocket order event: OKLO BUY status=EXPIRED filled=41 @ $0
03-12 17:00:24 INFO order tiger_push_client 📋 Order update received: id: 42524424960884736 account: "21444612990232147" symbol: "OKLO" identifier: "OKLO" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "STP_LMT" totalQuantity: 41 limitPrice: 60.66 status: "EXPIRED" replaceStatus: "NONE" cancelStatus: "NONE" name: "Oklo Inc." source: "openapi" errorMsg: "订单当前不支持撤销,请查看订单状态或者咨询客服。" openTime: 1773334815000 timestamp: 1773334820701 timeInForce: "DAY"
03-12 17:00:24 INFO trailing_stop trailing_stop_engine 🛡️ [OKLO] 反向保护触发: 亏损1.35%, 趋势强度15, 止损从$60.75收紧至$60.62 (收紧系数0.6)
03-12 17:00:24 INFO order push_event_handlers ✅ WebSocket fill routed via OrderTracker: 42524425541797888 → error: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (psycopg2.errors.DeadlockDetected) deadlock detected DETAIL: Process 939094 waits for ShareLock on transaction 1812725; blocked by process 938471. Process 938471 waits for ShareLock on transaction 1812695; blocked by process 939094. HINT: See server log for query details. CONTEXT: while rechecking updated tuple (108,10) in relation "trailing_stop_position" [SQL: UPDATE trailing_stop_position SET is_active=%(is_active)s, is_triggered=%(is_triggered)s, triggered_at=%(triggered_at)s, trigger_reason=%(trigger_reason)s, updated_at=%(updated_at)s WHERE trailing_stop_position.id = %(trailing_stop_position_id)s] [parameters: {'is_active': False, 'is_triggered': True, 'triggered_at': datetime.datetime(2026, 3, 12, 17, 0, 20, 94782), 'trigger_reason': 'exit_trailing_filled', 'updated_at': datetime.datetime(2026, 3, 12, 17, 0, 20, 120945), 'trailing_stop_position_id': 3453}] (Background on this error at: https://sqlalche.me/e/20/e3q8) (Background on this error at: https://sqlalche.me/e/20/7s2a)
03-12 17:00:24 INFO order trailing_stop_scheduler 🔔 WS-triggered TS: OKLO → trigger - No OCA protection (no_active_oca_group): Price $61.18 >= broker stop $60.96
03-12 17:00:24 ERROR order order_tracker_service ❌ Error in handle_fill_event for 42524425541797888: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (psycopg2.errors.DeadlockDetected) deadlock detected DETAIL: Process 939094 waits for ShareLock on transaction 1812725; blocked by process 938471. Process 938471 waits for ShareLock on transaction 1812695; blocked by process 939094. HINT: See server log for query details. CONTEXT: while rechecking updated tuple (108,10) in relation "trailing_stop_position" [SQL: UPDATE trailing_stop_position SET is_active=%(is_active)s, is_triggered=%(is_triggered)s, triggered_at=%(triggered_at)s, trigger_reason=%(trigger_reason)s, updated_at=%(updated_at)s WHERE trailing_stop_position.id = %(trailing_stop_position_id)s] [parameters: {'is_active': False, 'is_triggered': True, 'triggered_at': datetime.datetime(2026, 3, 12, 17, 0, 20, 94782), 'trigger_reason': 'exit_trailing_filled', 'updated_at': datetime.datetime(2026, 3, 12, 17, 0, 20, 120945), 'trailing_stop_position_id': 3453}] (Background on this error at: https://sqlalche.me/e/20/e3q8) (Background on this error at: https://sqlalche.me/e/20/7s2a)
03-12 17:00:24 ERROR order order_tracker_service ❌ Error creating ClosedPosition in _handle_exit_fill: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (psycopg2.errors.DeadlockDetected) deadlock detected DETAIL: Process 939094 waits for ShareLock on transaction 1812725; blocked by process 938471. Process 938471 waits for ShareLock on transaction 1812695; blocked by process 939094. HINT: See server log for query details. CONTEXT: while rechecking updated tuple (108,10) in relation "trailing_stop_position" [SQL: UPDATE trailing_stop_position SET is_active=%(is_active)s, is_triggered=%(is_triggered)s, triggered_at=%(triggered_at)s, trigger_reason=%(trigger_reason)s, updated_at=%(updated_at)s WHERE trailing_stop_position.id = %(trailing_stop_position_id)s] [parameters: {'is_active': False, 'is_triggered': True, 'triggered_at': datetime.datetime(2026, 3, 12, 17, 0, 20, 94782), 'trigger_reason': 'exit_trailing_filled', 'updated_at': datetime.datetime(2026, 3, 12, 17, 0, 20, 120945), 'trailing_stop_position_id': 3453}] (Background on this error at: https://sqlalche.me/e/20/e3q8)
03-12 17:00:24 ERROR general tiger_client Quote client not initialized
03-12 17:00:24 INFO order trailing_stop_engine [OKLO] 取消旧退出订单 42524425541797888
03-12 17:00:24 INFO order tiger_client Cancel order 42524425541797888 result: 42524425541797888
03-12 17:00:24 ERROR error tiger_client Batch smart price fetch failed: 'NoneType' object has no attribute 'get_stock_briefs'
03-12 17:00:23 INFO order trailing_stop_engine 🔔 [PAPER] OKLO stop breached and no OCA protection (no_active_oca_group), proceeding with software exit.
03-12 17:00:23 ERROR order trailing_stop_scheduler WS-triggered TS check failed for OKLO: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (psycopg2.errors.DeadlockDetected) deadlock detected DETAIL: Process 939065 waits for ShareLock on transaction 1812695; blocked by process 939094. Process 939094 waits for ShareLock on transaction 1812691; blocked by process 939065. HINT: See server log for query details. CONTEXT: while updating tuple (330,13) in relation "order_tracker" [SQL: UPDATE order_tracker SET status=%(status)s, updated_at=%(updated_at)s WHERE order_tracker.id = %(order_tracker_id)s] [parameters: {'status': 'CANCELLED', 'updated_at': datetime.datetime(2026, 3, 12, 17, 0, 22, 741180), 'order_tracker_id': 19567}] (Background on this error at: https://sqlalche.me/e/20/e3q8) (Background on this error at: https://sqlalche.me/e/20/7s2a)
03-12 17:00:22 INFO order trailing_stop_engine [OKLO] 取消旧退出订单 42524425541797888
03-12 17:00:22 INFO order tiger_client Cancel order 42524425541797888 result: 42524425541797888
03-12 17:00:22 ERROR general tiger_client Quote client not initialized
03-12 17:00:22 ERROR general tiger_client Quote client not initialized
03-12 17:00:21 ERROR general tiger_client Quote client not initialized
03-12 17:00:21 ERROR general tiger_client Quote client not initialized
03-12 17:00:21 ERROR general tiger_client Quote client not initialized
03-12 17:00:21 ERROR general tiger_client Quote client not initialized
03-12 17:00:21 INFO general trailing_stop_engine 🔄 SOXX retry cooldown expired, proceeding with attempt 2
03-12 17:00:21 INFO general QCOM trailing_stop_engine 📊 EODHD batch fallback: 26/26 symbols: ['SOXX', 'QCOM', 'GOOG', 'TEM', 'SOXL', 'SMH', 'ENTG', 'MCHP', 'TSM', 'OKLO', 'ON', 'NFLX', 'CRUS', 'MSTR', 'TSLA', 'TXN', 'HOOD', 'ALAB', 'META', 'AAL', 'ADI', 'TSEM', 'LSCC', 'UMC', 'ARM', 'VST']
03-12 17:00:21 INFO order trailing_stop_engine 🔔 [PAPER] OKLO stop breached and no OCA protection (no_active_oca_group), proceeding with software exit.
03-12 17:00:21 INFO order trailing_stop_engine 📈 [PAPER] OKLO 反向保护止损修改成功: $60.75, 新订单ID=42524425774844928
03-12 17:00:21 INFO order trailing_stop_engine 📋 Marked OrderTracker 42524424960884736 as cancelled
03-12 17:00:21 INFO order trailing_stop_engine 📋 Created OrderTracker for stop loss order 42524425774844928
03-12 17:00:21 INFO order trailing_stop_engine 📋 Synced Trade.stop_loss_order_id: 42524425522004992 → 42524425774844928 for trade_id=10831
03-12 17:00:21 INFO order tiger_client ✅ Created new stop loss order 42524425774844928 at $60.75 (cancel+create)
03-12 17:00:21 INFO trailing_stop trailing_stop_engine 🛡️ [OKLO] 反向保护触发: 亏损1.35%, 趋势强度15, 止损从$60.96收紧至$60.75 (收紧系数0.6)
03-12 17:00:21 INFO order tiger_client 📅 [Paper] Stop LIMIT order: outside_rth=False (trigger=$60.75, limit=$60.44)
03-12 17:00:21 INFO general trailing_stop_engine 🔄 SOXX retry cooldown expired, proceeding with attempt 2
03-12 17:00:20 INFO order tiger_client ✅ Cancelled old stop loss order 42524424960884736
03-12 17:00:20 INFO order tiger_client Cancel order 42524424960884736 result: 42524424960884736
03-12 17:00:20 INFO position SOXL tiger_push_client 📋 Position update received: account: "50904193" symbol: "SOXL" identifier: "SOXL" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: -96 averageCost: 51.3860417 latestPrice: 51.38 marketValue: -4932.48 unrealizedPnl: 0.58 timestamp: 1773334820076 positionQty: -96
03-12 17:00: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: 12.38 marketValue: 18570 unrealizedPnl: -14850.3501092 timestamp: 1773334820076 positionQty: 1500 salableQty: 1500
03-12 17:00: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: 1900 averageCost: 16.7396789 latestPrice: 10.83 marketValue: 20577 unrealizedPnl: -11228.3900001 timestamp: 1773334820076 positionQty: 1900 salableQty: 1900
03-12 17:00: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: 9.495 marketValue: 949.5 unrealizedPnl: -609.804 timestamp: 1773334820076 positionQty: 100 salableQty: 100
03-12 17:00:20 WARN order tiger_client ⚠️ Order 42524424960884736 cannot be modified (status=OrderStatus.EXPIRED), falling back to cancel+create
03-12 17:00:20 INFO order trailing_stop_engine [OKLO] TS stays ACTIVE with pending exit order 42524425541797888, will re-check each cycle
03-12 17:00:20 INFO order order_tracker_service 📦 Exit fill → OKLO trailing_stop: 41@$61.23, position=CLOSED
03-12 17:00:20 INFO order order_tracker_service 🎯 Deactivated TrailingStopPosition #3453 for OKLO via exit_trailing fill (position fully closed)
03-12 17:00:20 INFO order tiger_client 📈 Modifying stop loss: OKLO order 42524424960884736 to $60.75
03-12 17:00:20 INFO order trailing_stop_engine 📋 OKLO 存储的止损订单ID 42524424960884736 不在挂单中,尝试类型匹配
03-12 17:00:20 INFO order tiger_client Retrieved 0 open orders for OKLO
03-12 17:00:20 INFO order position_service 📦 Position P_OKLO_2026-03-12_1 CLOSED. P&L=$-29.93 (close_source=websocket_fill)
03-12 17:00:19 INFO position order_tracker_service 📋 Found Position #1879 via position_id (precise match)
03-12 17:00:19 INFO order order_tracker_service 📋 Order 42524425541797888 FILLED (source=websocket): OKLO exit_trailing qty=41 price=$61.23 pnl=$0.00
03-12 17:00:19 INFO order trailing_stop_engine 📋 Registered trailing stop close order 42524425541797888 as EXIT_TRAILING (Position #1879)
03-12 17:00:19 INFO order push_event_handlers 📋 WebSocket order event: OKLO BUY status=FILLED filled=41 @ $61.23
03-12 17:00:19 INFO order tiger_push_client 📋 Order update received: id: 42524425541797888 account: "21444612990232147" symbol: "OKLO" identifier: "OKLO" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "MKT" totalQuantity: 41 filledQuantity: 41 avgFillPrice: 61.23 status: "FILLED" replaceStatus: "NONE" cancelStatus: "NONE" name: "Oklo Inc." source: "openapi" commissionAndFee: 2.98 openTime: 1773334819000 timestamp: 1773334819737 timeInForce: "DAY"