System Logs

Total: 928885 Errors Live
Clear
Time Level Category Symbol Source Message
03-24 16:30:35 INFO order tiger_client Order 42660086942417921 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=534, realizedPnl=0, commission=0, reason=, order_type=STP, outside_rth=False
03-24 16:30:35 INFO order tiger_client Order 42660086942417921 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-24 16:30:34 INFO position position_service ๐Ÿ“ฆ Created new Position P_MRAM_2026-03-24_1 (long MRAM)
03-24 16:30:34 INFO order order_tracker_service ๐Ÿ“‹ Order 42660086942417920 FILLED (source=websocket): MRAM entry qty=534 price=$9.35 pnl=$0.00
03-24 16:30:34 INFO order push_event_handlers ๐Ÿ“‹ WebSocket order event: MRAM BUY status=FILLED filled=534 @ $9.35
03-24 16:30:34 INFO order tiger_push_client ๐Ÿ“‹ Order update received: id: 42660086942417920 account: "21794354632316626" symbol: "MRAM" identifier: "MRAM" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "LMT" isLong: true totalQuantity: 534 filledQuantity: 534 avgFillPrice: 9.35 limitPrice: 9.41 status: "FILLED" replaceStatus: "NONE" cancelStatus: "NONE" outsideRth: true name: "Everspin Technologies Inc" source: "openapi" commissionAndFee: 6.33 openTime: 1774369834000 timestamp: 1774369834110 attrList: "ATTACHED_ORDER" timeInForce: "DAY"
03-24 16:30:34 INFO order push_event_handlers ๐Ÿ“‹ WebSocket order event: MRAM SELL status=HELD filled=534 @ $0
03-24 16:30:34 INFO order tiger_push_client ๐Ÿ“‹ Order update received: id: 42660086942417921 account: "21794354632316626" symbol: "MRAM" identifier: "MRAM" multiplier: 1 action: "SELL" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "STP" isLong: true totalQuantity: 534 status: "HELD" replaceStatus: "NONE" cancelStatus: "NONE" canModify: true canCancel: true name: "Everspin Technologies Inc" source: "openapi" openTime: 1774369834000 timestamp: 1774369834093 attrList: "ATTACHED_ORDER" attrList: "OCA" timeInForce: "DAY"
03-24 16:30:34 INFO order push_event_handlers ๐Ÿ“‹ WebSocket order event: MRAM SELL status=HELD filled=534 @ $0
03-24 16:30:34 INFO order tiger_push_client ๐Ÿ“‹ Order update received: id: 42660086942418944 account: "21794354632316626" symbol: "MRAM" identifier: "MRAM" multiplier: 1 action: "SELL" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "LMT" isLong: true totalQuantity: 534 limitPrice: 10.29 status: "HELD" replaceStatus: "NONE" cancelStatus: "NONE" outsideRth: true canModify: true canCancel: true name: "Everspin Technologies Inc" source: "openapi" openTime: 1774369834000 timestamp: 1774369834084 attrList: "ATTACHED_ORDER" attrList: "OCA" timeInForce: "DAY"
03-24 16:30:34 INFO order order_tracker_service ๐Ÿ“‹ Registered order 42660086942418944: MRAM take_profit (paper)
03-24 16:30:34 INFO order order_tracker_service ๐Ÿ“‹ Registered order 42660086942417921: MRAM stop_loss (paper)
03-24 16:30:34 INFO order order_tracker_service ๐Ÿ“‹ Registered order 42660086942417920: MRAM entry (paper)
03-24 16:30:34 INFO order push_event_handlers ๐Ÿ“‹ WebSocket order event: MRAM BUY status=HELD filled=534 @ $0
03-24 16:30:34 INFO order tiger_push_client ๐Ÿ“‹ Order update received: id: 42660086942417920 account: "21794354632316626" symbol: "MRAM" identifier: "MRAM" multiplier: 1 action: "BUY" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "LMT" isLong: true totalQuantity: 534 limitPrice: 9.41 status: "HELD" replaceStatus: "NONE" cancelStatus: "NONE" outsideRth: true canModify: true canCancel: true name: "Everspin Technologies Inc" source: "openapi" openTime: 1774369834000 timestamp: 1774369834055 attrList: "ATTACHED_ORDER" timeInForce: "DAY"
03-24 16:30:34 INFO order routes ๐Ÿ“ [PAPER] Entry order placed and Trade persisted: 42660086942417920
03-24 16:30:34 INFO order tiger_client [Paper] BRACKET order placed: parent=42660086942417920, SL=42660086942417921, TP=42660086942418944
03-24 16:30:34 INFO order tiger_client Order placed successfully: 42660086942417920
03-24 16:30:33 INFO order tiger_client Place order: Auto-detected regular trading hours, standard session
03-24 16:30:33 INFO order tiger_client ๐Ÿ“ No existing position for MRAM, proceeding with new order
03-24 16:30:33 INFO position tiger_client ๐Ÿ“ˆ Position query returned 0 positions for MRAM
03-24 16:30:33 INFO position tiger_client ๐Ÿ“Š Position query result for MRAM: success=True
03-24 16:30:32 INFO position tiger_client Getting positions for symbol: MRAM
03-24 16:30:32 INFO position tiger_client ๐Ÿ” Position Increase Check: BUY 534.0 MRAM
03-24 16:30:32 INFO order signal_parser Signal parsed successfully: {'symbol': 'MRAM', 'is_close_signal': False, 'side': 'buy', 'quantity': 534.0, 'order_type': 'market', 'stop_loss': 8.83, 'take_profit': 10.29, 'reference_price': 9.36, 'trading_session': 'regular', 'outside_rth': False, 'time_in_force': 'day'}
03-24 16:30:32 INFO general signal_parser ๐Ÿ“Š SL/TP parsed: SL=$8.83, TP=$10.29
03-24 16:30:32 INFO trailing_stop routes ๐Ÿ“ [PAPER] Received webhook from 45.32.178.91: {"ticker":"MRAM","action":"buy","quantity":534,"referencePrice":9.36,"takeProfit":{"limitPrice":10.2877164186},"stopLoss":{"stopPrice":8.8298763322},"extras":{"timeframe":"60","indicator":"WaveMatrix diamondreversalbuy"}}
03-24 16:30:32 INFO trailing_stop routes ๐Ÿ“ [PAPER] No position found for MRAM - position may have been already closed by trailing stop or other exit
03-24 16:30:32 WARN position tiger_client No position found for MRAM at broker (API + cache + DB all returned 0/None). Aborting close to prevent opening reverse position.
03-24 16:30:32 WARN position tiger_client No position from Tiger API for MRAM, position likely already closed
03-24 16:30:32 INFO position tiger_client Getting positions for symbol: MRAM
03-24 16:30:32 INFO order tiger_client No open orders found for MRAM
03-24 16:30:32 INFO order tiger_client Retrieved 0 open orders for MRAM
03-24 16:30:32 INFO position tiger_client Attempting to close position for MRAM, signal_side=buy
03-24 16:30:32 INFO position tiger_client Attempting to close position for MRAM with sandbox fallback, signal_side=buy, signal_quantity=None
03-24 16:30:31 INFO position tiger_client Getting positions for symbol: MRAM
03-24 16:30:31 INFO signal routes ๐Ÿ“ [PAPER] Processing close signal for MRAM, side=buy
03-24 16:30:31 INFO order signal_parser Signal parsed successfully: {'symbol': 'MRAM', 'is_close_signal': True, 'close_type': 'flat', 'side': 'buy', 'quantity': 'all', 'close_all': True, 'order_type': 'market', 'stop_loss': 9.22, 'take_profit': 9.64, 'reference_price': 9.36, 'trading_session': 'regular', 'outside_rth': False, 'time_in_force': 'day'}
03-24 16:30:31 INFO general signal_parser ๐Ÿ“Š SL/TP parsed: SL=$9.22, TP=$9.64
03-24 16:30:31 INFO position signal_parser ๐Ÿ”ด Detected CLOSE signal for MRAM (sentiment=flat, closePosition=False, rating=, close_type=flat)
03-24 16:30:31 INFO trailing_stop routes ๐Ÿ“ [PAPER] Received webhook from 45.32.178.91: {"ticker":"MRAM","action":"buy","sentiment":"flat","quantity":"all","reason":"Reverse Signal Close","extras":{"referencePrice":9.36,"timeframe":"60","indicator":"WaveMatrix diamondreversalbuy"},"stopLoss":{"stopPrice":9.2196},"takeProfit":{"limitPrice":9.6408},"_sl_tp_corrected":true,"_sl_tp_correction_note":"ๅญ—ๆฎต็ผบๅคฑ๏ผŒๅทฒ็”จๅ‚่€ƒไปท้ป˜่ฎค่ฎก็ฎ— SL=9.2196 TP=9.6408"}
03-24 16:30:31 INFO general trailing_stop_engine ๐Ÿ“Š Batch API refresh: 1/1 symbols updated: ['FAS']
03-24 16:30:30 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: 1 averageCost: 52.26 latestPrice: 54.88 marketValue: 54.88 unrealizedPnl: 2.62 timestamp: 1774369830098 positionQty: 1 salableQty: 1
03-24 16:30:30 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.65 marketValue: 17475 unrealizedPnl: -15945.3501092 timestamp: 1774369830098 positionQty: 1500 salableQty: 1500
03-24 16:30:30 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: 27.41 marketValue: 17350.53 unrealizedPnl: -14430.9621001 timestamp: 1774369830098 positionQty: 633 salableQty: 633
03-24 16:30:30 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.685 marketValue: 968.5 unrealizedPnl: -590.804 timestamp: 1774369830098 positionQty: 100 salableQty: 100
03-24 16:30:26 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: 1 averageCost: 52.26 latestPrice: 54.86 marketValue: 54.86 unrealizedPnl: 2.6 timestamp: 1774369825110 positionQty: 1 salableQty: 1
03-24 16:30:26 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.65 marketValue: 17475 unrealizedPnl: -15945.3501092 timestamp: 1774369825110 positionQty: 1500 salableQty: 1500
03-24 16:30:26 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: 27.41 marketValue: 17350.53 unrealizedPnl: -14430.9621001 timestamp: 1774369825110 positionQty: 633 salableQty: 633
03-24 16:30: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.685 marketValue: 968.5 unrealizedPnl: -590.804 timestamp: 1774369825110 positionQty: 100 salableQty: 100
03-24 16:30:23 INFO order push_event_handlers ๐Ÿ“‹ WebSocket order event: SMCI SELL status=EXPIRED filled=230 @ $0
03-24 16:30:23 INFO order tiger_push_client ๐Ÿ“‹ Order update received: id: 42660085242022912 account: "21794354632316626" symbol: "SMCI" identifier: "SMCI" multiplier: 1 action: "SELL" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "STP_LMT" isLong: true totalQuantity: 230 limitPrice: 19.21 status: "EXPIRED" replaceStatus: "NONE" cancelStatus: "NONE" name: "่ถ…ๅพฎ็”ต่„‘" source: "openapi" errorMsg: "ๆ‚จไธ‹ๅ•็š„ๆ•ฐ้‡่ถ…่ฟ‡ไบ†ๆ‚จๅฏ็”จ็š„ๆŒไป“ๆ•ฐ้‡๏ผ›ๅฆ‚ๆ‚จๆƒณๅๅ‘ๅผ€ไป“๏ผŒ้œ€่ฆๅ…ˆๅนณไป“ๅŽๆ‰่ƒฝๅผ€ๆ–ฐไป“" openTime: 1774369821000 timestamp: 1774369821069 timeInForce: "DAY"
03-24 16:30:23 INFO order push_event_handlers ๐Ÿ“‹ WebSocket order event: SMCI SELL status=CANCELLED filled=230 @ $0
03-24 16:30:23 INFO order tiger_push_client ๐Ÿ“‹ Order update received: id: 42660084630440960 account: "21794354632316626" symbol: "SMCI" identifier: "SMCI" multiplier: 1 action: "SELL" market: "US" currency: "USD" segType: "S" secType: "STK" orderType: "STP" isLong: true totalQuantity: 230 status: "CANCELLED" replaceStatus: "NONE" cancelStatus: "NONE" name: "่ถ…ๅพฎ็”ต่„‘" source: "openapi" errorMsg: "ๆ‰‹ๅŠจๆ’คๅ•" openTime: 1774369816000 timestamp: 1774369820268 attrList: "ATTACHED_ORDER" attrList: "OCA" timeInForce: "DAY"
03-24 16:30:22 INFO general trailing_stop_engine ๐Ÿ“Š Batch API refresh: 1/1 symbols updated: ['ALMU']
03-24 16:30:22 INFO order push_event_handlers โœ… WebSocket fill routed via OrderTracker: 42660084630437888 โ†’ filled
03-24 16:30:22 INFO order discord_notifier Discord้€š็Ÿฅๅ‘้€ๆˆๅŠŸ: ๐Ÿ“ฆ Entry filled: SMCI LONG 230.0@$21.66 (paper)
03-24 16:30:21 INFO order order_tracker_service ๐Ÿ“ฆ Entry fill โ†’ Position created: SMCI 230.0@$21.66
03-24 16:30:21 INFO trailing_stop order_tracker_service ๐ŸŽฏ Created TrailingStop for SMCI
03-24 16:30:21 INFO websocket trailing_stop_engine ๐Ÿ“Š Subscribed to WebSocket quotes for SMCI
03-24 16:30:21 INFO order trailing_stop_engine ๐Ÿ“‹ Synced new STP_LMT order to Trade and OrderTracker
03-24 16:30:21 INFO order trailing_stop_engine ๐Ÿ“‹ Marked OrderTracker 42660084630440960 as cancelled
03-24 16:30:21 INFO order trailing_stop_engine ๐Ÿ“‹ Created OrderTracker for stop loss order 42660085242022912
03-24 16:30:21 INFO order trailing_stop_engine ๐Ÿ“‹ Synced Trade.stop_loss_order_id: 42660084630440960 โ†’ 42660085242022912 for trade_id=12755
03-24 16:30:21 INFO order trailing_stop_engine โœ… Created STP_LMT order 42660085242022912 for SMCI (RTH only, extended hours via TrailingStop)
03-24 16:30:21 INFO order tiger_client โœ… Created STP_LMT order 42660085242022912: SELL 230 SMCI @ stop=$19.31 outside_rth=False
03-24 16:30:20 INFO order tiger_client ๐Ÿ“‹ Creating STP_LMT order: SELL 230 SMCI @ stop=$19.31 limit=$19.21 outside_rth=False
03-24 16:30: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: 1 averageCost: 52.26 latestPrice: 54.83 marketValue: 54.83 unrealizedPnl: 2.57 timestamp: 1774369820043 positionQty: 1 salableQty: 1
03-24 16:30: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.65 marketValue: 17475 unrealizedPnl: -15945.3501092 timestamp: 1774369820043 positionQty: 1500 salableQty: 1500
03-24 16:30: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: 27.41 marketValue: 17350.53 unrealizedPnl: -14430.9621001 timestamp: 1774369820043 positionQty: 633 salableQty: 633
03-24 16:30: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.68 marketValue: 968 unrealizedPnl: -591.304 timestamp: 1774369820043 positionQty: 100 salableQty: 100
03-24 16:30:20 INFO order trailing_stop_engine โœ… Cancelled STP order 42660084630440960
03-24 16:30:20 INFO order tiger_client Cancel order 42660084630440960 result: 42660084630440960
03-24 16:30:20 INFO order trailing_stop_engine ๐Ÿ”„ Detected stop order 42660084630440960 for SMCI: type=STP, outsideRth=False. Converting to STP_LMT with extended hours support...
03-24 16:30:20 INFO order trailing_stop_engine ๐Ÿ” Stop order 42660084630440960 status check: type=STP, outside_rth=False, status=pending, order_active=True
03-24 16:30:20 INFO order tiger_client Order 42660084630440960 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=230, realizedPnl=0, commission=0, reason=, order_type=STP, outside_rth=False
03-24 16:30:20 INFO order tiger_client Order 42660084630440960 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-24 16:30:20 INFO order routes ๐Ÿ“ [PAPER] Discord notification sent: filled
03-24 16:30:20 INFO order discord_notifier Discord TTS้€š็Ÿฅๅ‘้€ๆˆๅŠŸ: SMCIๅšๅคšๅผ€ไป“ไนฐๅ…ฅ230่‚ก็Šถๆ€[PAPER] filled
03-24 16:30:19 INFO order discord_notifier ่ฎขๅ•็Šถๆ€Discord้€š็Ÿฅๅ‘้€ๆˆๅŠŸ: SMCI - [PAPER] filled
03-24 16:30:19 INFO order routes ๐Ÿ“Š [PAPER] Entry fill processed via OrderTracker: already_filled
03-24 16:30:19 INFO trailing_stop trailing_stop_engine ๐Ÿ“Š Auto-subscribed SMCI to WebSocket on trailing stop creation
03-24 16:30:19 INFO trailing_stop trailing_stop_engine ๐Ÿ”— Linked TrailingStop #3953 โ†’ Position #2454 for SMCI
03-24 16:30:19 INFO trailing_stop trailing_stop_engine Created trailing stop for SMCI: entry=21.6599, SL=19.3070737471, TP=28.6202056023
03-24 16:30:19 INFO order trailing_stop_engine ๐Ÿ” [TRACE] create_trailing_stop_for_trade called: symbol=SMCI, quantity=230, side=long, entry_price=21.6599, trade_id=12755, account_type=paper, SL=19.3070737471, TP=28.6202056023, sl_order_id=42660084630440960, tp_order_id=42660084630437889, from_reconciliation=False, source=None
03-24 16:30:19 INFO position order_tracker_service ๐Ÿ“ EntrySignalRecord #6553 created for SMCI (signal_log_id=25659, position_id=2454)
03-24 16:30:18 INFO order trailing_stop_engine ๐Ÿ” [TRACE] create_trailing_stop_for_trade called: symbol=SMCI, quantity=230, side=long, entry_price=21.6599, trade_id=12755, account_type=paper, SL=19.31, TP=28.62, sl_order_id=42660084630440960, tp_order_id=42660084630437889, from_reconciliation=False, source=entry_fill_handler
03-24 16:30:18 INFO order trailing_stop_scheduler ๐Ÿ“ Created EntrySignalRecord #6552 for delayed fill: SMCI
03-24 16:30:18 INFO order trailing_stop_scheduler ๐Ÿ“Š Scheduler fill โ†’ OrderTracker: error: (psycopg2.errors.DeadlockDetected) deadlock detected DETAIL: Process 2477427 waits for ShareLock on transaction 4949728; blocked by process 2477622. Process 2477622 waits for ShareLock on transaction 4949742; blocked by process 2477427. HINT: See server log for query details. CONTEXT: while updating tuple (425,70) 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': 230, 'avg_fill_price': 21.6599, 'realized_pnl': 0, 'commission': 2.98, 'fill_time': datetime.datetime(2026, 3, 24, 16, 30, 17, 684396), 'fill_source': 'scheduler_delayed_fill', 'updated_at': datetime.datetime(2026, 3, 24, 16, 30, 17, 696354), 'order_tracker_id': 24108}] (Background on this error at: https://sqlalche.me/e/20/e3q8) for SMCI
03-24 16:30:18 ERROR order order_tracker_service โŒ Error in handle_fill_event for 42660084630437888: (psycopg2.errors.DeadlockDetected) deadlock detected DETAIL: Process 2477427 waits for ShareLock on transaction 4949728; blocked by process 2477622. Process 2477622 waits for ShareLock on transaction 4949742; blocked by process 2477427. HINT: See server log for query details. CONTEXT: while updating tuple (425,70) 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': 230, 'avg_fill_price': 21.6599, 'realized_pnl': 0, 'commission': 2.98, 'fill_time': datetime.datetime(2026, 3, 24, 16, 30, 17, 684396), 'fill_source': 'scheduler_delayed_fill', 'updated_at': datetime.datetime(2026, 3, 24, 16, 30, 17, 696354), 'order_tracker_id': 24108}] (Background on this error at: https://sqlalche.me/e/20/e3q8)
03-24 16:30:18 INFO order tiger_client Order 42660084630437888 Tiger data: avgFillPrice=21.6599, filledQuantity=230, totalQuantity=230, realizedPnl=0, commission=2.98, reason=, order_type=LMT, outside_rth=True
03-24 16:30:18 INFO order tiger_client Order 42660084630437888 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-24 16:30:17 INFO order tiger_client Order 42660084630440960 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=230, realizedPnl=0, commission=0, reason=, order_type=STP, outside_rth=False
03-24 16:30:17 INFO order tiger_client Order 42660084630440960 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-24 16:30:17 INFO order trailing_stop_scheduler ๐Ÿ“ฆ Order 42660084630437888 (SMCI) filled at $21.66
03-24 16:30:17 INFO order tiger_client Order 42660084630437888 Tiger data: avgFillPrice=21.6599, filledQuantity=230, totalQuantity=230, realizedPnl=0, commission=2.98, reason=, order_type=LMT, outside_rth=True
03-24 16:30:17 INFO order tiger_client Order 42660084630437888 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-24 16:30:17 ERROR order tiger_client Error getting order status: code=1200 msg=standard account response error(not_found:่ฎขๅ•ไธๅญ˜ๅœจ)
03-24 16:30:16 INFO order order_tracker_service ๐Ÿ“‹ Registered order 42660084630437889: SMCI take_profit (paper)
03-24 16:30:16 INFO position position_service ๐Ÿ“ฆ Created new Position P_SMCI_2026-03-24_1 (long SMCI)