| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: MPWR, Qty: -2, Cost: 1034.44 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: MCHP, Qty: -59, Cost: 65.039 |
| 03-12 13:55:25 |
INFO
|
position |
LSCC |
tiger_client |
Position: LSCC, Qty: -28, Cost: 88.0729 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: DIOD, Qty: -80, Cost: 61.515 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: CIFR, Qty: -310, Cost: 13.298 |
| 03-12 13:55:25 |
INFO
|
position |
AAPL |
tiger_client |
Position: AAPL, Qty: -10, Cost: 255.51 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: AAL, Qty: -358, Cost: 10.703 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: QUIK |
| 03-12 13:55:25 |
INFO
|
order |
|
tiger_client |
No open orders found for QUIK |
| 03-12 13:55:25 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for QUIK |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Attempting to close position for QUIK, signal_side=sell |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Attempting to close position for QUIK with sandbox fallback, signal_side=sell, signal_quantity=1.0 |
| 03-12 13:55:25 |
INFO
|
trailing_stop |
|
routes |
📝 [PAPER] No position found for IREN - position may have been already closed by trailing stop or other exit |
| 03-12 13:55:25 |
WARN
|
position |
|
tiger_client |
No position found for IREN at broker (API + cache + DB all returned 0/None). Aborting close to prevent opening reverse position. |
| 03-12 13:55:25 |
WARN
|
position |
|
tiger_client |
No position from Tiger API for IREN, position likely already closed |
| 03-12 13:55:25 |
WARN
|
trailing_stop |
|
trailing_stop_engine |
⚠️ MSTR direction mismatch in cache: broker=short vs trailing_stop=long. Direct API check... |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: VST, Qty: 34, Cost: 159.2753 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: TXN, Qty: -12, Cost: 193.335 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: SMCI, Qty: -145, Cost: 31.4142 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: MTSI, Qty: -11, Cost: 218.3173 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: MSTR, Qty: -28, Cost: 135.4923 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: MRVL, Qty: -54, Cost: 91.0076 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: MPWR, Qty: -2, Cost: 1034.44 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: MCHP, Qty: -59, Cost: 65.039 |
| 03-12 13:55:25 |
INFO
|
position |
LSCC |
tiger_client |
Position: LSCC, Qty: -28, Cost: 88.0729 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: DIOD, Qty: -80, Cost: 61.515 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: CIFR, Qty: -310, Cost: 13.298 |
| 03-12 13:55:25 |
INFO
|
position |
AAPL |
tiger_client |
Position: AAPL, Qty: -10, Cost: 255.51 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Position: AAL, Qty: -358, Cost: 10.703 |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: QUIK |
| 03-12 13:55:25 |
INFO
|
signal |
|
routes |
📝 [PAPER] Processing close signal for QUIK, side=sell |
| 03-12 13:55:25 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: IREN |
| 03-12 13:55:25 |
INFO
|
order |
|
tiger_client |
No open orders found for IREN |
| 03-12 13:55:25 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for IREN |
| 03-12 13:55:24 |
INFO
|
order |
|
signal_parser |
Signal parsed successfully: {'symbol': 'QUIK', 'is_close_signal': True, 'close_type': 'flat', 'side': 'sell', 'quantity': 1.0, 'order_type': 'market', 'reference_price': 9.19, 'trading_session': 'regular', 'outside_rth': False, 'time_in_force': 'day'} |
| 03-12 13:55:24 |
INFO
|
position |
|
signal_parser |
🔴 Detected CLOSE signal for QUIK (sentiment=flat, closePosition=False, rating=, close_type=flat) |
| 03-12 13:55:24 |
INFO
|
signal |
|
routes |
📝 [PAPER] Received webhook from 35.209.169.104: {"action": "sell", "extras": {"indicator": "MainTrend AIsellSignal exit_buy", "timeframe": "5m", "referencePrice": 9.19}, "ticker": "QUIK", "sentiment": "flat", "signal_type": "flat", "forwarded_at": "2026-03-12T13:55:24.845486"} |
| 03-12 13:55:24 |
INFO
|
position |
|
tiger_client |
Attempting to close position for IREN, signal_side=sell |
| 03-12 13:55:24 |
INFO
|
position |
|
tiger_client |
Attempting to close position for IREN with sandbox fallback, signal_side=sell, signal_quantity=1.0 |
| 03-12 13:55:24 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: IREN |
| 03-12 13:55:24 |
INFO
|
signal |
|
routes |
📝 [PAPER] Processing close signal for IREN, side=sell |
| 03-12 13:55:24 |
INFO
|
general |
AMD |
trailing_stop_engine |
📊 Batch API refresh: 20/20 symbols updated: ['SLAB', 'SWKS', 'TER', 'UGL', 'NVEC', 'AMZU', 'ETN', 'AMD', 'QCOM', 'EBAY', 'NFXL', 'MS', 'QBTS', 'ON', 'QQQ', 'GS', 'TSM', 'VSTL', 'MSFT', 'QCML'] |
| 03-12 13:55:24 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-12 13:55:24 |
INFO
|
order |
|
signal_parser |
Signal parsed successfully: {'symbol': 'IREN', 'is_close_signal': True, 'close_type': 'flat', 'side': 'sell', 'quantity': 1.0, 'order_type': 'market', 'reference_price': 39.97, 'trading_session': 'regular', 'outside_rth': False, 'time_in_force': 'day'} |
| 03-12 13:55:24 |
INFO
|
position |
|
signal_parser |
🔴 Detected CLOSE signal for IREN (sentiment=flat, closePosition=False, rating=, close_type=flat) |
| 03-12 13:55:24 |
INFO
|
signal |
|
routes |
📝 [PAPER] Received webhook from 35.209.169.104: {"action": "sell", "extras": {"indicator": "MainTrend AIsellSignal exit_buy", "timeframe": "5m", "referencePrice": 39.97}, "ticker": "IREN", "sentiment": "flat", "signal_type": "flat", "forwarded_at": "2026-03-12T13:55:24.021891"} |
| 03-12 13:55:23 |
INFO
|
position |
QCML |
tiger_client |
Position: QCML, Qty: 1500, Cost: 22.2802 |
| 03-12 13:55:23 |
INFO
|
position |
ORCX |
tiger_client |
Position: ORCX, Qty: 1900, Cost: 16.7397 |
| 03-12 13:55:23 |
INFO
|
position |
CLSK |
tiger_client |
Position: CLSK, Qty: 100, Cost: 15.593 |
| 03-12 13:55:23 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-12 13:55:23 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 03-12 13:55:23 |
INFO
|
order |
|
trailing_stop_engine |
🔔 [PAPER] MSTR stop breached and no OCA protection (no_active_oca_group), proceeding with software exit. |
| 03-12 13:55:23 |
INFO
|
order |
|
trailing_stop_engine |
📈 [PAPER] MSTR 反向保护止损修改成功: $137.91, 新订单ID=42522971091127296 |
| 03-12 13:55:23 |
INFO
|
order |
|
trailing_stop_engine |
📋 Marked OrderTracker 42522900484737024 as cancelled |
| 03-12 13:55:23 |
INFO
|
order |
|
trailing_stop_engine |
📋 Created OrderTracker for stop loss order 42522971091127296 |
| 03-12 13:55:23 |
INFO
|
order |
|
trailing_stop_engine |
📋 Synced Trade.stop_loss_order_id: 42522900484737024 → 42522971091127296 for trade_id=10574 |
| 03-12 13:55:23 |
INFO
|
order |
|
tiger_client |
✅ Created new stop loss order 42522971091127296 at $137.91 (cancel+create) |
| 03-12 13:55:22 |
INFO
|
trailing_stop |
|
routes |
📝 [PAPER] No position found for WKEY - position may have been already closed by trailing stop or other exit |
| 03-12 13:55:22 |
WARN
|
position |
|
tiger_client |
No position found for WKEY at broker (API + cache + DB all returned 0/None). Aborting close to prevent opening reverse position. |
| 03-12 13:55:22 |
WARN
|
position |
|
tiger_client |
No position from Tiger API for WKEY, position likely already closed |
| 03-12 13:55:22 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 03-12 13:55:22 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: WKEY |
| 03-12 13:55:22 |
INFO
|
order |
|
tiger_client |
No open orders found for WKEY |
| 03-12 13:55:22 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for WKEY |
| 03-12 13:55:22 |
INFO
|
position |
|
tiger_client |
Attempting to close position for WKEY, signal_side=sell |
| 03-12 13:55:22 |
INFO
|
position |
|
tiger_client |
Attempting to close position for WKEY with sandbox fallback, signal_side=sell, signal_quantity=1.0 |
| 03-12 13:55:22 |
INFO
|
order |
|
tiger_client |
📅 [Paper] Stop LIMIT order: outside_rth=False (trigger=$137.91, limit=$137.22) |
| 03-12 13:55:22 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: WKEY |
| 03-12 13:55:22 |
INFO
|
signal |
|
routes |
📝 [PAPER] Processing close signal for WKEY, side=sell |
| 03-12 13:55:22 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 03-12 13:55:21 |
INFO
|
general |
QCOM |
trailing_stop_engine |
📊 Batch API refresh: 20/20 symbols updated: ['SWKS', 'SLAB', 'QCOM', 'NVEC', 'AMZU', 'TER', 'UGL', 'ETN', 'AMD', 'EBAY', 'NFXL', 'MS', 'QBTS', 'ON', 'QQQ', 'GS', 'TSM', 'MSFT', 'VSTL', 'QCML'] |
| 03-12 13:55:21 |
INFO
|
order |
|
signal_parser |
Signal parsed successfully: {'symbol': 'WKEY', 'is_close_signal': True, 'close_type': 'flat', 'side': 'sell', 'quantity': 1.0, 'order_type': 'market', 'reference_price': 7.3, 'trading_session': 'regular', 'outside_rth': False, 'time_in_force': 'day'} |
| 03-12 13:55:21 |
INFO
|
position |
|
signal_parser |
🔴 Detected CLOSE signal for WKEY (sentiment=flat, closePosition=False, rating=, close_type=flat) |
| 03-12 13:55:21 |
INFO
|
signal |
|
routes |
📝 [PAPER] Received webhook from 35.209.169.104: {"action": "sell", "extras": {"indicator": "MainTrend AIsellSignal exit_buy", "timeframe": "5m", "referencePrice": 7.3}, "ticker": "WKEY", "sentiment": "flat", "signal_type": "flat", "forwarded_at": "2026-03-12T13:55:21.662661"} |
| 03-12 13:55:21 |
INFO
|
order |
|
tiger_client |
✅ Cancelled old stop loss order 42522900484737024 |
| 03-12 13:55:21 |
INFO
|
order |
|
tiger_client |
Cancel order 42522900484737024 result: 42522900484737024 |
| 03-12 13:55:21 |
INFO
|
position |
|
trailing_stop_scheduler |
📊 Tiger holdings cross-check (paper): {'ts_created': 0, 'missing_position': 1, 'external_created': 0} |
| 03-12 13:55:21 |
WARN
|
order |
|
tiger_client |
⚠️ Order 42522900484737024 cannot be modified (status=OrderStatus.EXPIRED), falling back to cancel+create |
| 03-12 13:55:21 |
INFO
|
position |
|
trailing_stop_scheduler |
[ADI] Tiger holdings cross-check (paper): broker has short 8.0 shares but no DB position. Starting grace period. |
| 03-12 13:55:21 |
INFO
|
sync |
|
trailing_stop_scheduler |
📊 Reconciliation (paper): entries=0, exits=1, updated=0, linked=1, ts_deactivated=0 |
| 03-12 13:55:21 |
INFO
|
trailing_stop |
|
trailing_stop_scheduler |
📊 Created ClosedPosition #2753: ADI stop_loss @ $308.84, P&L=$10.98, linked 1 entries |
| 03-12 13:55:21 |
INFO
|
order |
|
trailing_stop_scheduler |
📊 Precise entry match via OrderTracker: 1 entries for exit 42522924211257344 (order IDs: ['42522924211260416']) |
| 03-12 13:55:21 |
INFO
|
order |
|
trailing_stop_scheduler |
📊 Reconciliation: routed exit 42522924211257344 through OrderTracker → Position closed via add_exit_leg |
| 03-12 13:55:21 |
WARN
|
order |
|
order_tracker_service |
⚠️ No Position (open or recently-closed) found for exit fill: ADI/paper (side=short, role=take_profit, ts_id=None) |
| 03-12 13:55:21 |
INFO
|
order |
|
order_tracker_service |
✅ Broker cancel confirmed for sibling 42522967924425728 |
| 03-12 13:55:21 |
INFO
|
order |
|
tiger_client |
Cancel order 42522967924425728 result: 42522967924425728 |
| 03-12 13:55:20 |
INFO
|
order |
|
tiger_client |
📈 Modifying stop loss: MSTR order 42522900484737024 to $137.91 |
| 03-12 13:55:20 |
INFO
|
order |
|
trailing_stop_engine |
📋 MSTR 存储的止损订单ID 42522900484737024 不在挂单中,尝试类型匹配 |
| 03-12 13:55:20 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for MSTR |
| 03-12 13:55:20 |
INFO
|
trailing_stop |
|
trailing_stop_engine |
🛡️ [MSTR] 反向保护触发: 亏损2.10%, 趋势强度9, 止损从$137.53收紧至$137.91 (收紧系数0.6) |
| 03-12 13:55:20 |
INFO
|
general |
|
trailing_stop_engine |
🔄 MSTR retry cooldown expired, proceeding with attempt 2 |
| 03-12 13:55:20 |
INFO
|
general |
|
trailing_stop_engine |
📊 Batch API refresh: 1/1 symbols updated: ['MSTR'] |
| 03-12 13:55:20 |
INFO
|
order |
|
order_tracker_service |
📋 Cancelled sibling stop_loss order 42522967924425728 (parent=42522924211260416) |
| 03-12 13:55:20 |
INFO
|
order |
|
order_tracker_service |
📋 Order 42522924211257344 FILLED (source=reconciliation): ADI take_profit qty=8 price=$308.84 pnl=$10.98 |
| 03-12 13:55:20 |
INFO
|
order |
|
tiger_client |
Retrieved 92 filled orders |
| 03-12 13:55:19 |
INFO
|
order |
|
tiger_client |
Getting filled orders from 2026-03-11 to 2026-03-12 |
| 03-12 13:55:19 |
INFO
|
order |
|
tiger_client |
Retrieved 0 filled orders |
| 03-12 13:55:18 |
INFO
|
order |
|
tiger_client |
Getting filled orders from 2026-03-11 to 2026-03-12 |
| 03-12 13:55:18 |
WARN
|
position |
|
trailing_stop_scheduler |
⚠️ Direction mismatch for MSTR (paper): DB side=long, Tiger side=short — position may have reversed |