System Logs

Total: 3836177 Errors Live
Clear
Time Level Category Symbol Source Message
05-26 14:05:14 INFO position tiger_client Position: TSLA, Qty: 48, Cost: 425.7821
05-26 14:05:14 INFO position SOXL tiger_client Position: SOXL, Qty: 41, Cost: 218.7427
05-26 14:05:14 INFO position tiger_client Position: NVDL, Qty: -8, Cost: 106.7763
05-26 14:05:14 INFO position tiger_client Position: ETN, Qty: 13, Cost: 384.7092
05-26 14:05:14 INFO position tiger_client Position: CONL, Qty: -368, Cost: 7.2831
05-26 14:05:14 INFO position tiger_client Position: AMDL, Qty: 16, Cost: 64.5451
05-26 14:05:14 INFO position tiger_client Position: ALAB, Qty: -8, Cost: 298.625
05-26 14:05:14 INFO position tiger_client Position: ADI, Qty: 12, Cost: 397.9183
05-26 14:05:14 INFO position tiger_client Getting positions for symbol: all
05-26 14:05:13 INFO order push_event_handlers ✅ WebSocket fill routed via OrderTracker: 43372394938516480 → filled
05-26 14:05:13 INFO order discord_notifier Discord通知发送成功: 📦 Entry filled: AMDL LONG 8.0@$63.98 (paper)
05-26 14:05:13 INFO position tiger_client Position: SNPS, Qty: 10, Cost: 534.002
05-26 14:05:13 INFO position tiger_client Position: OKLO, Qty: 150, Cost: 61.7595
05-26 14:05:13 INFO position tiger_client Position: MSFL, Qty: 999, Cost: 19.3636
05-26 14:05:13 INFO position tiger_client Position: CBRS, Qty: 15, Cost: 289.6587
05-26 14:05:13 INFO order order_tracker_service 📦 Entry fill → Position updated: AMDL 8.0@$63.98
05-26 14:05:13 INFO trailing_stop order_tracker_service 🎯 Created TrailingStop (per-signal) for AMDL qty=8.0 sgid=0a6fd888-bc24-4183-865c-180d1a48033e
05-26 14:05:13 INFO websocket trailing_stop_engine 📊 Subscribed to WebSocket quotes for AMDL
05-26 14:05:13 INFO order trailing_stop_engine [AMDL] Per-signal TSP #6095: software-only protection (no broker OCA)
05-26 14:05:13 INFO trailing_stop trailing_stop_engine 📊 Auto-subscribed AMDL to WebSocket on trailing stop creation
05-26 14:05:13 WARN position trailing_stop_engine ⚠️ Position #3713 already linked to TS #6091, new TS #6095 not linked
05-26 14:05:13 INFO trailing_stop trailing_stop_engine Created trailing stop for AMDL: entry=63.975, SL=62.08, TP=67.2
05-26 14:05:13 INFO signal trailing_stop_engine [AMDL] Per-signal mode (sgid=0a6fd888-bc24-4183-865c-180d1a48033e): skipping existing-TSP merge, creating new TSP
05-26 14:05:13 INFO sync trailing_stop_engine [AMDL] from_reconciliation=True: bypassing cooldown/ghost checks
05-26 14:05:13 INFO order trailing_stop_engine 🔍 [TRACE] create_trailing_stop_for_trade called: symbol=AMDL, quantity=8, side=long, entry_price=63.975, trade_id=17062, account_type=paper, SL=62.08, TP=67.2, sl_order_id=None, tp_order_id=None, from_reconciliation=False, source=None
05-26 14:05:13 INFO position order_tracker_service 📝 EntrySignalRecord #9728 created for AMDL (signal_log_id=36615, position_id=3713)
05-26 14:05:12 INFO order order_tracker_service 📋 Order 43372394938516480 FILLED (source=websocket): AMDL entry qty=8 price=$63.98 pnl=$0.00
05-26 14:05:12 INFO order order_tracker_service 📋 Registered order 43372394938516480: AMDL entry (paper)
05-26 14:05:12 INFO order push_event_handlers 📋 WebSocket order event: AMDL BUY status=FILLED filled=8 @ $63.975
05-26 14:05:12 INFO order tiger_push_client 📋 Order update received: id: 43372394938516480 account: "21794354632316626" symbol: "AMDL" identifier: "AMDL" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "MKT" isLong: true totalQuantity: 8 filledQuantity: 8 avgFillPrice: 63.975 status: "FILLED" replaceStatus: "NONE" cancelStatus: "NONE" name: "2倍做多AMD ETF-GraniteShares" source: "openapi" commissionAndFee: 2.98 openTime: 1779804312000 timestamp: 1779804312846 timeInForce: "DAY"
05-26 14:05:12 INFO order routes 📝 [PAPER] Entry order placed and Trade persisted: 43372394938516480
05-26 14:05:12 INFO order push_event_handlers 📋 WebSocket order event: AMDL BUY status=HELD filled=8 @ $0
05-26 14:05:12 INFO order tiger_push_client 📋 Order update received: id: 43372394938516480 account: "21794354632316626" symbol: "AMDL" identifier: "AMDL" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "MKT" isLong: true totalQuantity: 8 status: "HELD" replaceStatus: "NONE" cancelStatus: "NONE" canModify: true canCancel: true name: "2倍做多AMD ETF-GraniteShares" source: "openapi" openTime: 1779804312000 timestamp: 1779804312789 timeInForce: "DAY"
05-26 14:05:12 INFO order tiger_client [Paper] Position increase order placed. Bracket legs handle protection, soft stop fallback.
05-26 14:05:12 INFO order tiger_client Order placed successfully: 43372394938516480
05-26 14:05:12 INFO order tiger_client Position increase detected: will place main order without attachments, then set protection for entire position
05-26 14:05:12 INFO order tiger_client Place order: Auto-detected regular trading hours, standard session
05-26 14:05:12 INFO order tiger_client Confirmed: no remaining orders for AMDL after 1 attempt(s)
05-26 14:05:12 INFO position tiger_client Getting positions for symbol: all
05-26 14:05:12 INFO order push_event_handlers 📋 WebSocket order event: AMDL SELL status=CANCELLED filled=8 @ $0
05-26 14:05:12 INFO order tiger_push_client 📋 Order update received: id: 43372355088565248 account: "21794354632316626" symbol: "AMDL" identifier: "AMDL" multiplier: 1 action: "SELL" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "STP" isLong: true totalQuantity: 8 status: "CANCELLED" replaceStatus: "NONE" cancelStatus: "NONE" name: "2倍做多AMD ETF-GraniteShares" source: "openapi" errorMsg: "手动撤单" openTime: 1779804008000 timestamp: 1779804312285 attrList: "ATTACHED_ORDER" attrList: "OCA" timeInForce: "DAY"
05-26 14:05:12 INFO position tiger_push_client 📋 Position update received: account: "50904193" symbol: "TSLL" identifier: "TSLL" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" averageCost: 15.6230693 latestPrice: 15.5899 timestamp: 1779804310089
05-26 14:05:12 INFO order tiger_client Polling to confirm order cancellations for AMDL (max 20 attempts)
05-26 14:05:12 INFO order tiger_client Successfully canceled 2 orders for AMDL before position increase
05-26 14:05:12 INFO order tiger_client Canceled 2 out of 2 orders for AMDL
05-26 14:05:12 INFO order tiger_client Successfully canceled order 43372355088565248
05-26 14:05:12 INFO order tiger_client Cancel order 43372355088565248 result: 43372355088565248
05-26 14:05:12 INFO position tiger_push_client 📋 Position update received: account: "50904193" symbol: "SNPS" identifier: "SNPS" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: 10 averageCost: 534.002 latestPrice: 534.51 marketValue: 5345.1 unrealizedPnl: 5.08 timestamp: 1779804310089 positionQty: 10 salableQty: 10
05-26 14:05:12 INFO order push_event_handlers 📋 WebSocket order event: AMDL SELL status=CANCELLED filled=8 @ $0
05-26 14:05:12 INFO order tiger_push_client 📋 Order update received: id: 43372355088564224 account: "21794354632316626" symbol: "AMDL" identifier: "AMDL" multiplier: 1 action: "SELL" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "LMT" isLong: true totalQuantity: 8 limitPrice: 67.65 status: "CANCELLED" replaceStatus: "NONE" cancelStatus: "NONE" outsideRth: true name: "2倍做多AMD ETF-GraniteShares" source: "openapi" errorMsg: "手动撤单" openTime: 1779804008000 timestamp: 1779804312059 attrList: "ATTACHED_ORDER" attrList: "OCA" timeInForce: "DAY"
05-26 14:05:12 INFO position tiger_push_client 📋 Position update received: account: "50904193" symbol: "SMCI" identifier: "SMCI" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" averageCost: 35.3363758 latestPrice: 35.7 timestamp: 1779804310089
05-26 14:05:12 INFO order tiger_client Processing order 43372355088565248 for AMDL - CanCancel: True
05-26 14:05:12 INFO order tiger_client Successfully canceled order 43372355088564224
05-26 14:05:12 INFO order tiger_client Cancel order 43372355088564224 result: 43372355088564224
05-26 14:05:12 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" averageCost: 43.3263758 latestPrice: 43.93 timestamp: 1779804310089
05-26 14:05:12 INFO position tiger_push_client 📋 Position update received: account: "50904193" symbol: "OKLO" identifier: "OKLO" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: 150 averageCost: 61.7595417 latestPrice: 70.0701 marketValue: 10510.515 unrealizedPnl: 1246.58375 timestamp: 1779804310089 positionQty: 150 salableQty: 150
05-26 14:05:11 INFO position tiger_push_client 📋 Position update received: account: "50904193" symbol: "MSFL" identifier: "MSFL" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: 999 averageCost: 19.3635723 latestPrice: 19.058 marketValue: 19038.942 unrealizedPnl: -305.2667 timestamp: 1779804310089 positionQty: 999 salableQty: 999
05-26 14:05:11 INFO order trailing_stop_scheduler 📊 Scheduler fill → OrderTracker: already_filled for NVDL
05-26 14:05:11 INFO order tiger_client Processing order 43372355088564224 for AMDL - CanCancel: True
05-26 14:05:11 INFO order tiger_client Open order: 43372355088565248 - SELL 8 AMDL @ None - Status: OrderStatus.HELD - CanCancel: True
05-26 14:05:11 INFO order tiger_client Open order: 43372355088564224 - SELL 8 AMDL @ 67.65 - Status: OrderStatus.HELD - CanCancel: True
05-26 14:05:11 INFO order tiger_client Retrieved 2 open orders for AMDL
05-26 14:05:11 INFO order routes 📝 [PAPER] Discord notification sent: filled
05-26 14:05:11 INFO order trailing_stop_scheduler 📦 Order 43372394308322304 (NVDL) filled at $107.15
05-26 14:05:11 INFO position tiger_push_client 📋 Position update received: account: "50904193" symbol: "LABX" identifier: "LABX" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" averageCost: 104.3371735 latestPrice: 92.5 timestamp: 1779804310089
05-26 14:05:11 INFO order tiger_client Order 43372394308322304 Tiger data: avgFillPrice=107.15, filledQuantity=8, totalQuantity=8, realizedPnl=0, commission=2.99, reason=, order_type=LMT, outside_rth=True
05-26 14:05:11 INFO order discord_notifier Discord TTS通知发送成功: NVDL做空开仓卖出8股状态[PAPER] filled
05-26 14:05:11 INFO position tiger_push_client 📋 Position update received: account: "50904193" symbol: "GDXU" identifier: "GDXU" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" averageCost: 139.8432193 latestPrice: 154.23 timestamp: 1779804310089
05-26 14:05:11 INFO order tiger_client Found 2 open orders for AMDL. Tiger Securities restriction requires canceling them before adding to position.
05-26 14:05:11 INFO position COIN tiger_push_client 📋 Position update received: account: "50904193" symbol: "COIN" identifier: "COIN" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" averageCost: 187.5717241 latestPrice: 187.2 timestamp: 1779804310089
05-26 14:05:11 INFO position tiger_push_client 📋 Position update received: account: "50904193" symbol: "CBRS" identifier: "CBRS" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" position: 15 averageCost: 289.6586667 latestPrice: 238.91 marketValue: 3583.65 unrealizedPnl: -761.23 timestamp: 1779804310089 positionQty: 15 salableQty: 15
05-26 14:05:11 INFO order push_event_handlers ✅ WebSocket fill routed via OrderTracker: 43372394308322304 → filled
05-26 14:05:11 INFO order discord_notifier Discord通知发送成功: 📦 Entry filled: NVDL SHORT 8.0@$107.15 (paper)
05-26 14:05:11 INFO order discord_notifier 订单状态Discord通知发送成功: NVDL - [PAPER] filled
05-26 14:05:11 INFO position tiger_push_client 📋 Position update received: account: "50904193" symbol: "ARM" identifier: "ARM" multiplier: 1 market: "US" currency: "USD" segType: "S" secType: "STK" averageCost: 312.5062 latestPrice: 309.2734 timestamp: 1779804310089
05-26 14:05:11 INFO order tiger_client Position increase detected for AMDL. Checking for existing orders to cancel...
05-26 14:05:11 INFO position tiger_client ✅ Detected LONG position increase: current 8 shares, adding 8.0 shares
05-26 14:05:11 INFO position tiger_client 🧮 Position increase logic check: current_qty=8, action=BUY
05-26 14:05:11 INFO position tiger_client 📋 Current position for AMDL: quantity=8, cost=64.7426, value=512.96
05-26 14:05:11 INFO position tiger_client 📈 Position query returned 1 positions for AMDL
05-26 14:05:11 INFO position tiger_client 📊 Position query result for AMDL: success=True
05-26 14:05:11 INFO position tiger_client Position: AMDL, Qty: 8, Cost: 64.7426
05-26 14:05:11 INFO order order_tracker_service 📦 Entry fill → Position created: NVDL 8.0@$107.15
05-26 14:05:11 INFO trailing_stop order_tracker_service 🎯 Created TrailingStop (per-signal) for NVDL qty=8.0 sgid=cabfbd78-67a9-4378-96d8-947fb4b5aa3f
05-26 14:05:11 INFO websocket trailing_stop_engine 📊 Subscribed to WebSocket quotes for NVDL
05-26 14:05:11 INFO order trailing_stop_engine [NVDL] Per-signal TSP #6094: software-only protection (no broker OCA)
05-26 14:05:11 INFO trailing_stop trailing_stop_engine 📊 Auto-subscribed NVDL to WebSocket on trailing stop creation
05-26 14:05:11 INFO trailing_stop trailing_stop_engine 🔗 Linked TrailingStop #6094 → Position #3715 for NVDL
05-26 14:05:11 INFO trailing_stop trailing_stop_engine Created trailing stop for NVDL: entry=107.15, SL=110.17, TP=101.61
05-26 14:05:11 INFO signal trailing_stop_engine [NVDL] Per-signal mode (sgid=cabfbd78-67a9-4378-96d8-947fb4b5aa3f): skipping existing-TSP merge, creating new TSP
05-26 14:05:11 INFO sync trailing_stop_engine [NVDL] from_reconciliation=True: bypassing cooldown/ghost checks
05-26 14:05:11 INFO order trailing_stop_engine 🔍 [TRACE] create_trailing_stop_for_trade called: symbol=NVDL, quantity=8, side=short, entry_price=107.15, trade_id=17061, account_type=paper, SL=110.17, TP=101.61, sl_order_id=None, tp_order_id=None, from_reconciliation=False, source=None
05-26 14:05:11 INFO position order_tracker_service 📝 EntrySignalRecord #9727 created for NVDL (signal_log_id=36614, position_id=3715)
05-26 14:05:11 INFO order routes 📊 [PAPER] Entry fill processed via OrderTracker: error: (psycopg2.errors.DeadlockDetected) deadlock detected DETAIL: Process 3106239 waits for ShareLock on transaction 25127212; blocked by process 3106241. Process 3106241 waits for ShareLock on transaction 25127281; blocked by process 3106239. HINT: See server log for query details. CONTEXT: while updating tuple (723,37) in relation "order_tracker" [SQL: UPDATE order_tracker SET status=%(status)s, filled_quantity=%(filled_quantity)s, avg_fill_price=%(avg_fill_price)s, realized_pnl=%(realized_pnl)s, commission=%(commission)s, fill_time=%(fill_time)s, fill_source=%(fill_source)s, updated_at=%(updated_at)s WHERE order_tracker.id = %(order_tracker_id)s] [parameters: {'status': 'FILLED', 'filled_quantity': 8, 'avg_fill_price': 107.15, 'realized_pnl': 0, 'commission': 2.99, 'fill_time': datetime.datetime(2026, 5, 26, 14, 5, 9, 511037), 'fill_source': 'polling_paper_entry', 'updated_at': datetime.datetime(2026, 5, 26, 14, 5, 9, 516962), 'order_tracker_id': 33993}] (Background on this error at: https://sqlalche.me/e/20/e3q8)
05-26 14:05:10 INFO position tiger_client Getting positions for symbol: AMDL
05-26 14:05:10 INFO position tiger_client 🔍 Position Increase Check: BUY 8.0 AMDL
05-26 14:05:10 ERROR order order_tracker_service ❌ Error in handle_fill_event for 43372394308322304: (psycopg2.errors.DeadlockDetected) deadlock detected DETAIL: Process 3106239 waits for ShareLock on transaction 25127212; blocked by process 3106241. Process 3106241 waits for ShareLock on transaction 25127281; blocked by process 3106239. HINT: See server log for query details. CONTEXT: while updating tuple (723,37) in relation "order_tracker" [SQL: UPDATE order_tracker SET status=%(status)s, filled_quantity=%(filled_quantity)s, avg_fill_price=%(avg_fill_price)s, realized_pnl=%(realized_pnl)s, commission=%(commission)s, fill_time=%(fill_time)s, fill_source=%(fill_source)s, updated_at=%(updated_at)s WHERE order_tracker.id = %(order_tracker_id)s] [parameters: {'status': 'FILLED', 'filled_quantity': 8, 'avg_fill_price': 107.15, 'realized_pnl': 0, 'commission': 2.99, 'fill_time': datetime.datetime(2026, 5, 26, 14, 5, 9, 511037), 'fill_source': 'polling_paper_entry', 'updated_at': datetime.datetime(2026, 5, 26, 14, 5, 9, 516962), 'order_tracker_id': 33993}] (Background on this error at: https://sqlalche.me/e/20/e3q8)
05-26 14:05:09 INFO order tiger_client Order 43372394308324353 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=8, realizedPnl=0, commission=0, reason=, order_type=STP, outside_rth=False
05-26 14:05:09 INFO order signal_parser Signal parsed successfully: {'symbol': 'AMDL', 'is_close_signal': False, 'side': 'buy', 'quantity': 8.0, 'price': 64.0, 'order_type': 'market', 'stop_loss': 62.08, 'take_profit': 67.2, 'reference_price': 64.0, 'indicator': 'aimonitor-wavematrix动能共振', 'trading_session': 'regular', 'outside_rth': False, 'time_in_force': 'day', 'signal_group_id': '0a6fd888-bc24-4183-865c-180d1a48033e'}
05-26 14:05:09 INFO signal signal_parser 📊 Entry signal originalIndicator: AImonitor-wavematrix动能共振