| 03-12 15:39:42 |
INFO
|
order |
|
tiger_client |
Cancel order 42523128512269312 result: 42523128512269312 |
| 03-12 15:39:41 |
INFO
|
order |
|
trailing_stop_engine |
📋 TEM 存储的止盈订单ID 42523128512269312 不在挂单中,尝试类型匹配 |
| 03-12 15:39:41 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for TEM |
| 03-12 15:39:41 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 03-12 15:39:41 |
INFO
|
order |
|
trailing_stop_engine |
✅ TEM stop_loss订单已取消: 42523170196310016 |
| 03-12 15:39:41 |
INFO
|
order |
|
tiger_client |
Cancel order 42523170196310016 result: 42523170196310016 |
| 03-12 15:39:41 |
INFO
|
order |
|
trailing_stop_engine |
📋 TEM 存储的止损订单ID 42523170196310016 不在挂单中,尝试类型匹配 |
| 03-12 15:39:41 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for TEM |
| 03-12 15:39:41 |
INFO
|
general |
IR |
trailing_stop_engine |
📊 Batch API refresh: 21/22 symbols updated: ['SWKS', 'SLAB', 'HUBB', 'IR', 'PI', 'PONY', 'ANET', 'AMD', 'GOOG', 'MS', 'INTC', 'MU', 'AAPL', 'NVDA', 'QCOM', 'GS', 'VSTL', 'AAPU', 'GLXY', 'APH', 'MSFT'] |
| 03-12 15:39:41 |
INFO
|
position |
|
trailing_stop_scheduler |
📊 Tiger holdings cross-check (paper): {'ts_created': 0, 'missing_position': 1, 'external_created': 0} |
| 03-12 15:39:41 |
INFO
|
position |
|
trailing_stop_scheduler |
[SMH] Tiger holdings cross-check (paper): broker has short 12.0 shares but no DB position. Starting grace period. |
| 03-12 15:39:40 |
INFO
|
order |
|
trailing_stop_engine |
🔔 [PAPER] TEM stop breached and no OCA protection (no_active_oca_group), proceeding with software exit. |
| 03-12 15:39:40 |
INFO
|
order |
|
trailing_stop_scheduler |
📊 Reconciliation: routed exit 42523789181075456 through OrderTracker → Position closed via add_exit_leg |
| 03-12 15:39:40 |
INFO
|
order |
|
discord_notifier |
Discord通知发送成功: 📦 Exit filled: SMH trailing_stop 12@$390.65 P&L=$-43.42 (paper) |
| 03-12 15:39:40 |
INFO
|
order |
|
trailing_stop_engine |
📈 [PAPER] DIOD 反向保护止损修改成功: $62.03, 新订单ID=42523791246248960 |
| 03-12 15:39:40 |
INFO
|
order |
|
trailing_stop_engine |
📋 Marked OrderTracker 42523338845341696 as cancelled |
| 03-12 15:39:40 |
INFO
|
order |
|
trailing_stop_engine |
📋 Created OrderTracker for stop loss order 42523791246248960 |
| 03-12 15:39:40 |
INFO
|
order |
|
order_tracker_service |
✅ Created ClosedPosition #2779 via _handle_exit_fill for SMH (created) |
| 03-12 15:39:40 |
INFO
|
order |
|
trailing_stop_engine |
📋 Synced Trade.stop_loss_order_id: 42523338845341696 → 42523791246248960 for trade_id=10709 |
| 03-12 15:39:40 |
INFO
|
order |
|
tiger_client |
✅ Created new stop loss order 42523791246248960 at $62.03 (cancel+create) |
| 03-12 15:39:40 |
INFO
|
order |
|
order_tracker_service |
📦 Exit fill → SMH trailing_stop: 12@$390.65, position=CLOSED |
| 03-12 15:39:40 |
WARN
|
position |
|
position_service |
⚠️ [P_SMH_2026-03-12_1] no remaining quantity to exit, skipping |
| 03-12 15:39:40 |
WARN
|
general |
|
position_service |
⚠️ [P_SMH_2026-03-12_1] exit_qty 12 > remaining 0.0, capping to remaining |
| 03-12 15:39:40 |
INFO
|
position |
|
order_tracker_service |
📋 Found Position #1861 via position_id (precise match) |
| 03-12 15:39:40 |
INFO
|
order |
|
order_tracker_service |
📋 Order 42523789181075456 FILLED (source=reconciliation): SMH exit_trailing qty=12 price=$390.65 pnl=$-43.42 |
| 03-12 15:39:40 |
INFO
|
order |
|
tiger_client |
Retrieved 100 filled orders |
| 03-12 15:39:40 |
INFO
|
order |
|
tiger_client |
📅 [Paper] Stop LIMIT order: outside_rth=False (trigger=$62.03, limit=$61.72) |
| 03-12 15:39:39 |
INFO
|
order |
|
tiger_client |
Getting filled orders from 2026-03-11 to 2026-03-12 |
| 03-12 15:39:39 |
INFO
|
order |
|
tiger_client |
✅ Cancelled old stop loss order 42523338845341696 |
| 03-12 15:39:39 |
INFO
|
order |
|
tiger_client |
Cancel order 42523338845341696 result: 42523338845341696 |
| 03-12 15:39:39 |
WARN
|
order |
|
tiger_client |
⚠️ Order 42523338845341696 cannot be modified (status=OrderStatus.EXPIRED), falling back to cancel+create |
| 03-12 15:39:39 |
INFO
|
order |
|
tiger_client |
Retrieved 0 filled orders |
| 03-12 15:39:39 |
INFO
|
order |
|
tiger_client |
Getting filled orders from 2026-03-11 to 2026-03-12 |
| 03-12 15:39:39 |
INFO
|
order |
|
tiger_client |
📈 Modifying stop loss: DIOD order 42523338845341696 to $62.03 |
| 03-12 15:39:39 |
INFO
|
order |
|
trailing_stop_engine |
📋 DIOD 存储的止损订单ID 42523338845341696 不在挂单中,尝试类型匹配 |
| 03-12 15:39:39 |
INFO
|
order |
|
tiger_client |
Open order: 42523338274521088 - BUY 40 DIOD @ 59.94 - Status: OrderStatus.HELD - CanCancel: True |
| 03-12 15:39:39 |
INFO
|
order |
|
tiger_client |
Retrieved 1 open orders for DIOD |
| 03-12 15:39:38 |
INFO
|
position |
|
trailing_stop_scheduler |
📊 Exit closure verification: 5 confirmed closed, 0 reactivated (position still open) |
| 03-12 15:39:38 |
INFO
|
general |
|
trailing_stop_scheduler |
⏭️ [ADI] TS #3415 skip reactivation: active TS #3443 already exists for paper |
| 03-12 15:39:38 |
INFO
|
trailing_stop |
|
trailing_stop_engine |
🛡️ [DIOD] 反向保护触发: 亏损1.41%, 趋势强度21, 止损从$62.66收紧至$62.03 (收紧系数0.6) |
| 03-12 15:39:37 |
INFO
|
trailing_stop |
|
trailing_stop_scheduler |
🔄 Full sync: Processing 25 active trailing stop positions (API verification) |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: VST, Qty: 64, Cost: 160.6856 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: UMC, Qty: -1338, Cost: 9.319 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: TXN, Qty: -39, Cost: 191.7392 |
| 03-12 15:39:37 |
INFO
|
position |
TSM |
tiger_client |
Position: TSM, Qty: -21, Cost: 337.1749 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: TSLA, Qty: -23, Cost: 397.0504 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: TEM, Qty: -1037, Cost: 49.9644 |
| 03-12 15:39:37 |
INFO
|
position |
SOXL |
tiger_client |
Position: SOXL, Qty: -50, Cost: 49.89 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: SLB, Qty: -108, Cost: 45.4244 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: ON, Qty: -161, Cost: 58.1935 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: NXPI, Qty: -168, Cost: 194.208 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: MSTR, Qty: -20, Cost: 135.552 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: MRVL, Qty: -54, Cost: 91.0076 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: MPWR, Qty: -8, Cost: 1026.48 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: META, Qty: -6, Cost: 642.9983 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: HOOD, Qty: -1334, Cost: 76.51 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: DIOD, Qty: -40, Cost: 61.095 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: CRUS, Qty: -18, Cost: 132.6583 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: CRDO, Qty: -22, Cost: 109.7836 |
| 03-12 15:39:37 |
INFO
|
position |
COIN |
tiger_client |
Position: COIN, Qty: 195, Cost: 196.1379 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: ASX, Qty: -120, Cost: 20.92 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: ARM, Qty: -152, Cost: 115.1364 |
| 03-12 15:39:37 |
INFO
|
position |
AMD |
tiger_client |
Position: AMD, Qty: -24, Cost: 197.4448 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: ALAB, Qty: -382, Cost: 119.3315 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: ADI, Qty: -24, Cost: 307.2233 |
| 03-12 15:39:37 |
INFO
|
position |
AAPL |
tiger_client |
Position: AAPL, Qty: 10, Cost: 254.658 |
| 03-12 15:39:37 |
INFO
|
position |
|
tiger_client |
Position: AAL, Qty: -358, Cost: 10.703 |
| 03-12 15:39:37 |
INFO
|
position |
|
trailing_stop_scheduler |
- SMH: deactivate - Position not found in Tiger API |
| 03-12 15:39:37 |
INFO
|
sync |
|
trailing_stop_scheduler |
🔄 Full sync complete: 1 actions taken |
| 03-12 15:39:37 |
INFO
|
general |
|
trailing_stop_engine |
🔄 TXN retry cooldown expired, proceeding with attempt 2 |
| 03-12 15:39:36 |
INFO
|
position |
|
trailing_stop_engine |
📊 Added exit leg to Position for external close: SMH (exit=$387.28, PnL=$4.68) |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-12 15:39:36 |
INFO
|
position |
|
position_service |
📦 Position P_SMH_2026-03-12_1 CLOSED. P&L=$6.00 (close_source=None) |
| 03-12 15:39:36 |
INFO
|
general |
|
position_service |
📊 [P_SMH_2026-03-12_1] P&L: ours=$6.00 vs Tiger=$4.68 (using ours, Tiger uses different cost basis) |
| 03-12 15:39:36 |
INFO
|
position |
|
trailing_stop_engine |
🛑 Auto-deactivated SMH (paper): position closed externally |
| 03-12 15:39:36 |
INFO
|
trailing_stop |
|
trailing_stop_scheduler |
🔄 Full sync: Processing 25 active trailing stop positions (API verification) |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: VST, Qty: 64, Cost: 160.6856 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: UMC, Qty: -1338, Cost: 9.319 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: TXN, Qty: -39, Cost: 191.7392 |
| 03-12 15:39:36 |
INFO
|
position |
TSM |
tiger_client |
Position: TSM, Qty: -21, Cost: 337.1749 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: TSLA, Qty: -23, Cost: 397.0504 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: TEM, Qty: -1037, Cost: 49.9644 |
| 03-12 15:39:36 |
INFO
|
position |
SOXL |
tiger_client |
Position: SOXL, Qty: -50, Cost: 49.89 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: SLB, Qty: -108, Cost: 45.4244 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: ON, Qty: -161, Cost: 58.1935 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: NXPI, Qty: -168, Cost: 194.208 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: MSTR, Qty: -20, Cost: 135.552 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: MRVL, Qty: -54, Cost: 91.0076 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: MPWR, Qty: -8, Cost: 1026.48 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: META, Qty: -6, Cost: 642.9983 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: HOOD, Qty: -1334, Cost: 76.51 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: DIOD, Qty: -40, Cost: 61.095 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: CRUS, Qty: -18, Cost: 132.6583 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: CRDO, Qty: -22, Cost: 109.7836 |
| 03-12 15:39:36 |
INFO
|
position |
COIN |
tiger_client |
Position: COIN, Qty: 195, Cost: 196.1379 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: ASX, Qty: -120, Cost: 20.92 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: ARM, Qty: -152, Cost: 115.1364 |
| 03-12 15:39:36 |
INFO
|
position |
AMD |
tiger_client |
Position: AMD, Qty: -24, Cost: 197.4448 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: ALAB, Qty: -382, Cost: 119.3315 |
| 03-12 15:39:36 |
INFO
|
position |
|
tiger_client |
Position: ADI, Qty: -24, Cost: 307.2233 |