| 03-13 15:47:59 |
INFO
|
order |
TSM |
trailing_stop_engine |
📈 [PAPER] TSM 反向保护止损修改成功: $339.33, 新订单ID=None |
| 03-13 15:47:59 |
INFO
|
order |
TSM |
discord_notifier |
Discord通知发送成功: ⚠️ **止损订单自动恢复**
股票: TSM
止损价: $339.33
新订单ID: 42535181282591744 |
| 03-13 15:47:59 |
INFO
|
order |
TSM |
tiger_client |
📈 Modifying stop loss: TSM order 42535171803856896 to $339.33 |
| 03-13 15:47:59 |
INFO
|
order |
TSM |
trailing_stop_engine |
📋 TSM 存储的止损订单ID 42535171803856896 不在挂单中,尝试类型匹配 |
| 03-13 15:47:59 |
INFO
|
order |
TSM |
tiger_client |
Open order: 42535171401468928 - BUY 8 TSM @ 331.65 - Status: OrderStatus.HELD - CanCancel: True |
| 03-13 15:47:59 |
INFO
|
order |
TSM |
tiger_client |
Retrieved 1 open orders for TSM |
| 03-13 15:47:59 |
INFO
|
order |
|
order_tracker_service |
📦 Entry fill → Position created: SMH 10.0@$389.13 |
| 03-13 15:47:59 |
INFO
|
trailing_stop |
|
order_tracker_service |
🎯 Created TrailingStop for SMH |
| 03-13 15:47:59 |
INFO
|
websocket |
|
trailing_stop_engine |
📊 Subscribed to WebSocket quotes for SMH |
| 03-13 15:47:59 |
INFO
|
order |
|
trailing_stop_engine |
📋 Synced new STP_LMT order to Trade and OrderTracker |
| 03-13 15:47:59 |
INFO
|
order |
|
trailing_stop_engine |
📋 Marked OrderTracker 42535180875615232 as cancelled |
| 03-13 15:47:59 |
INFO
|
order |
|
trailing_stop_engine |
📋 Created OrderTracker for stop loss order 42535181290194944 |
| 03-13 15:47:59 |
INFO
|
order |
|
trailing_stop_engine |
📋 Synced Trade.stop_loss_order_id: 42535180875615232 → 42535181290194944 for trade_id=11267 |
| 03-13 15:47:59 |
INFO
|
order |
|
trailing_stop_engine |
✅ Created STP_LMT order 42535181290194944 for SMH (RTH only, extended hours via TrailingStop) |
| 03-13 15:47:59 |
INFO
|
order |
|
tiger_client |
✅ Created STP_LMT order 42535181290194944: BUY 10 SMH @ stop=$390.87 outside_rth=False |
| 03-13 15:47:59 |
INFO
|
order |
TSM |
trailing_stop_engine |
✅ TSM 自动创建止损订单成功: 42535181282591744 @ $339.33 |
| 03-13 15:47:59 |
INFO
|
order |
|
trailing_stop_engine |
📋 Created OrderTracker for stop loss order 42535181282591744 |
| 03-13 15:47:59 |
INFO
|
order |
|
trailing_stop_engine |
📋 Synced Trade.stop_loss_order_id: 42535180840091648 → 42535181282591744 for trade_id=11258 |
| 03-13 15:47:59 |
INFO
|
order |
TSM |
tiger_client |
✅ Created STP_LMT order 42535181282591744: BUY 8.0 TSM @ stop=$339.33 outside_rth=False |
| 03-13 15:47:59 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-13 15:47:59 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-13 15:47:59 |
INFO
|
order |
|
tiger_client |
📋 Creating STP_LMT order: BUY 10 SMH @ stop=$390.87 limit=$392.82 outside_rth=False |
| 03-13 15:47:59 |
INFO
|
order |
TSM |
tiger_client |
📋 Creating STP_LMT order: BUY 8.0 TSM @ stop=$339.33 limit=$341.03 outside_rth=False |
| 03-13 15:47:59 |
INFO
|
order |
|
routes |
📝 [PAPER] Discord notification sent: filled |
| 03-13 15:47:59 |
INFO
|
order |
|
discord_notifier |
Discord TTS通知发送成功: SMH做空开仓卖出10股状态[PAPER] filled |
| 03-13 15:47:59 |
WARN
|
order |
TSM |
trailing_stop_engine |
⚠️ TSM 止损订单丢失,尝试创建新订单 |
| 03-13 15:47:59 |
INFO
|
order |
TSM |
trailing_stop_engine |
✅ TSM 旧止损订单已取消: 42535171803856896 |
| 03-13 15:47:59 |
INFO
|
order |
|
tiger_client |
Cancel order 42535171803856896 result: 42535171803856896 |
| 03-13 15:47:59 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-13 15:47:58 |
INFO
|
position |
|
tiger_push_client |
📋 Position update received: account: "21877992932416622"
symbol: "SMH"
identifier: "SMH"
multiplier: 1
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
position: -10
averageCost: 388.829
latestPrice: 389.125
marketValue: -3891.25
unrealizedPnl: -2.9599999999999227
name: "VanEck Semiconductor ETF"
timestamp: 1773416878842
positionQty: -10
|
| 03-13 15:47:58 |
INFO
|
order |
|
trailing_stop_engine |
✅ Cancelled STP order 42535180875615232 |
| 03-13 15:47:58 |
INFO
|
order |
|
tiger_client |
Cancel order 42535180875615232 result: 42535180875615232 |
| 03-13 15:47:58 |
WARN
|
order |
TSM |
trailing_stop_engine |
⚠️ TSM 修改重试用尽,尝试取消重建 |
| 03-13 15:47:58 |
WARN
|
trailing_stop |
TSM |
trailing_stop_engine |
⚠️ TSM 止损修改失败 (尝试3/3): Unknown error |
| 03-13 15:47:58 |
INFO
|
order |
|
tiger_client |
📋 [Paper] Stop order 42535171803856896 EXPIRED (detected in Method 1), skipping recreate until next open |
| 03-13 15:47:58 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-13 15:47:58 |
INFO
|
order |
|
discord_notifier |
订单状态Discord通知发送成功: SMH - [PAPER] filled |
| 03-13 15:47:58 |
INFO
|
order |
|
trailing_stop_engine |
🔄 Detected stop order 42535180875615232 for SMH: type=STP, outsideRth=False. Converting to STP_LMT with extended hours support... |
| 03-13 15:47:58 |
INFO
|
order |
|
trailing_stop_engine |
🔍 Stop order 42535180875615232 status check: type=STP, outside_rth=False, status=pending, order_active=True |
| 03-13 15:47:58 |
INFO
|
order |
|
tiger_client |
Order 42535180875615232 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=10, realizedPnl=0, commission=0, reason=, order_type=STP, outside_rth=False |
| 03-13 15:47:58 |
INFO
|
order |
|
tiger_client |
Order 42535180875615232 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-13 15:47:58 |
INFO
|
order |
|
routes |
📊 [PAPER] Entry fill processed via OrderTracker: already_filled |
| 03-13 15:47:58 |
INFO
|
order |
|
tiger_client |
Order 42535180875481088 Tiger data: avgFillPrice=389.13, filledQuantity=10, totalQuantity=10, realizedPnl=0, commission=3.01, reason=, order_type=LMT, outside_rth=True |
| 03-13 15:47:58 |
INFO
|
order |
|
tiger_client |
Order 42535180875481088 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-13 15:47:58 |
INFO
|
order |
TSM |
tiger_client |
📈 Modifying stop loss: TSM order 42535171803856896 to $339.33 |
| 03-13 15:47:58 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-13 15:47:58 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-13 15:47:58 |
WARN
|
trailing_stop |
|
trailing_stop_engine |
🚫 [PAPER] SMCI NO holdings found at broker. Position already closed. Deactivating trailing stop. |
| 03-13 15:47:58 |
WARN
|
position |
|
trailing_stop_engine |
⚠️ SMCI NOT found in direct API positions |
| 03-13 15:47:58 |
INFO
|
position |
TSM |
tiger_client |
Position: TSM, Qty: -8, Cost: 337.075 |
| 03-13 15:47:58 |
INFO
|
position |
|
tiger_client |
Position: TSLA, Qty: -477, Cost: 393.2951 |
| 03-13 15:47:58 |
INFO
|
position |
|
tiger_client |
Position: SYNA, Qty: -67, Cost: 73.8849 |
| 03-13 15:47:58 |
INFO
|
position |
|
tiger_client |
Position: STM, Qty: -337, Cost: 32.8779 |
| 03-13 15:47:58 |
INFO
|
position |
|
tiger_client |
Position: SMH, Qty: -10, Cost: 388.829 |
| 03-13 15:47:58 |
INFO
|
position |
|
tiger_client |
Position: OKLO, Qty: -42, Cost: 59.2486 |
| 03-13 15:47:58 |
INFO
|
position |
NVDA |
tiger_client |
Position: NVDA, Qty: -56, Cost: 181.8397 |
| 03-13 15:47:58 |
INFO
|
position |
|
tiger_client |
Position: NFLX, Qty: 26, Cost: 95.5129 |
| 03-13 15:47:58 |
INFO
|
position |
MU |
tiger_client |
Position: MU, Qty: -20, Cost: 419.3523 |
| 03-13 15:47:58 |
INFO
|
position |
MSFT |
tiger_client |
Position: MSFT, Qty: -66, Cost: 400.2859 |
| 03-13 15:47:58 |
INFO
|
position |
|
tiger_client |
Position: LITE, Qty: -4, Cost: 616.695 |
| 03-13 15:47:58 |
INFO
|
position |
AMD |
tiger_client |
Position: AMD, Qty: -99, Cost: 196.0422 |
| 03-13 15:47:58 |
INFO
|
position |
|
tiger_client |
Position: ALAB, Qty: -746, Cost: 118.4012 |
| 03-13 15:47:58 |
INFO
|
position |
AAPL |
tiger_client |
Position: AAPL, Qty: -132, Cost: 253.7192 |
| 03-13 15:47:58 |
INFO
|
position |
|
tiger_client |
Position: AAL, Qty: -555, Cost: 10.418 |
| 03-13 15:47:58 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-13 15:47:57 |
WARN
|
trailing_stop |
TSM |
trailing_stop_engine |
⚠️ TSM 止损修改失败 (尝试2/3): Unknown error |
| 03-13 15:47:57 |
INFO
|
order |
|
tiger_client |
📋 [Paper] Stop order 42535171803856896 EXPIRED (detected in Method 1), skipping recreate until next open |
| 03-13 15:47:57 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-13 15:47:57 |
WARN
|
position |
|
trailing_stop_engine |
⚠️ SMCI stop triggered but NO holdings in cache. Direct API check... |
| 03-13 15:47:57 |
INFO
|
position |
TSM |
tiger_client |
Position: TSM, Qty: -8, Cost: 337.075 |
| 03-13 15:47:57 |
INFO
|
position |
|
tiger_client |
Position: TSLA, Qty: -477, Cost: 393.2951 |
| 03-13 15:47:57 |
INFO
|
position |
|
tiger_client |
Position: SYNA, Qty: -67, Cost: 73.8849 |
| 03-13 15:47:57 |
INFO
|
position |
|
tiger_client |
Position: STM, Qty: -337, Cost: 32.8779 |
| 03-13 15:47:57 |
INFO
|
position |
|
tiger_client |
Position: SMH, Qty: -10, Cost: 388.829 |
| 03-13 15:47:57 |
INFO
|
position |
|
tiger_client |
Position: OKLO, Qty: -42, Cost: 59.2486 |
| 03-13 15:47:57 |
INFO
|
position |
NVDA |
tiger_client |
Position: NVDA, Qty: -56, Cost: 181.8397 |
| 03-13 15:47:57 |
INFO
|
position |
|
tiger_client |
Position: NFLX, Qty: 26, Cost: 95.5129 |
| 03-13 15:47:57 |
INFO
|
position |
MU |
tiger_client |
Position: MU, Qty: -20, Cost: 419.3523 |
| 03-13 15:47:57 |
INFO
|
position |
MSFT |
tiger_client |
Position: MSFT, Qty: -66, Cost: 400.2859 |
| 03-13 15:47:57 |
INFO
|
position |
|
tiger_client |
Position: LITE, Qty: -4, Cost: 616.695 |
| 03-13 15:47:57 |
INFO
|
position |
AMD |
tiger_client |
Position: AMD, Qty: -99, Cost: 196.0422 |
| 03-13 15:47:57 |
INFO
|
position |
|
tiger_client |
Position: ALAB, Qty: -746, Cost: 118.4012 |
| 03-13 15:47:57 |
INFO
|
position |
AAPL |
tiger_client |
Position: AAPL, Qty: -132, Cost: 253.7192 |
| 03-13 15:47:57 |
INFO
|
position |
|
tiger_client |
Position: AAL, Qty: -555, Cost: 10.418 |
| 03-13 15:47:57 |
INFO
|
order |
TSM |
tiger_client |
📈 Modifying stop loss: TSM order 42535171803856896 to $339.33 |
| 03-13 15:47:57 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-13 15:47:57 |
INFO
|
trailing_stop |
|
trailing_stop_engine |
📊 Auto-subscribed SMH to WebSocket on trailing stop creation |
| 03-13 15:47:57 |
INFO
|
trailing_stop |
|
trailing_stop_engine |
🔗 Linked TrailingStop #3548 → Position #1994 for SMH |
| 03-13 15:47:57 |
INFO
|
trailing_stop |
|
trailing_stop_engine |
Created trailing stop for SMH: entry=389.13, SL=390.87, TP=388.0 |
| 03-13 15:47:57 |
INFO
|
order |
|
trailing_stop_engine |
🔍 [TRACE] create_trailing_stop_for_trade called: symbol=SMH, quantity=10, side=short, entry_price=389.13, trade_id=11267, account_type=paper, SL=390.87, TP=388.0, sl_order_id=42535180875615232, tp_order_id=None, from_reconciliation=False, source=None |
| 03-13 15:47:57 |
INFO
|
position |
|
order_tracker_service |
📝 EntrySignalRecord #5381 created for SMH (signal_log_id=21776, position_id=1994) |
| 03-13 15:47:57 |
INFO
|
order |
|
tiger_client |
Order 42535180875615232 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=10, realizedPnl=0, commission=0, reason=, order_type=STP, outside_rth=False |
| 03-13 15:47:57 |
INFO
|
order |
|
tiger_client |
Order 42535180875615232 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-13 15:47:57 |
INFO
|
position |
QCML |
tiger_client |
Position: QCML, Qty: 1500, Cost: 22.2802 |
| 03-13 15:47:57 |
INFO
|
position |
ORCX |
tiger_client |
Position: ORCX, Qty: 1900, Cost: 16.7397 |
| 03-13 15:47:57 |
INFO
|
position |
CLSK |
tiger_client |
Position: CLSK, Qty: 100, Cost: 15.593 |
| 03-13 15:47:56 |
WARN
|
trailing_stop |
TSM |
trailing_stop_engine |
⚠️ TSM 止损修改失败 (尝试1/3): Unknown error |
| 03-13 15:47:56 |
INFO
|
order |
|
tiger_client |
📋 [Paper] Stop order 42535171803856896 EXPIRED (detected in Method 1), skipping recreate until next open |
| 03-13 15:47:56 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-13 15:47:56 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |