| 03-12 17:14:46 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-12 17:14:46 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-12 17:14:46 |
INFO
|
general |
|
trailing_stop_engine |
🔄 ARM retry cooldown expired, proceeding with attempt 2 |
| 03-12 17:14:46 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-12 17:14:46 |
INFO
|
general |
|
trailing_stop_engine |
🔄 NXPI retry cooldown expired, proceeding with attempt 2 |
| 03-12 17:14:46 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-12 17:14:46 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-12 17:14:46 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-12 17:14:46 |
ERROR
|
error |
|
tiger_client |
Batch smart price fetch failed: 'NoneType' object has no attribute 'get_stock_briefs' |
| 03-12 17:14:46 |
INFO
|
general |
IR |
trailing_stop_engine |
📊 EODHD batch fallback: 18/18 symbols: ['IR', 'AAPU', 'AMD', 'PONY', 'MS', 'SLAB', 'SWKS', 'VSTL', 'ANET', 'AAPL', 'NVDA', 'MSFT', 'APH', 'GS', 'HUBB', 'ON', 'TSM', 'GOOG'] |
| 03-12 17:14:46 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-12 17:14:46 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-12 17:14:46 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-12 17:14:46 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-12 17:14:46 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-12 17:14:46 |
ERROR
|
general |
|
tiger_client |
Quote client not initialized |
| 03-12 17:14:46 |
INFO
|
general |
|
trailing_stop_engine |
🔄 SOXX retry cooldown expired, proceeding with attempt 2 |
| 03-12 17:14:46 |
INFO
|
general |
QCOM |
trailing_stop_engine |
📊 EODHD batch fallback: 24/24 symbols: ['SOXX', 'QCOM', 'GOOG', 'LSCC', 'TEM', 'SOXL', 'SMH', 'MCHP', 'TSM', 'UMC', 'ARM', 'ON', 'NFLX', 'CRUS', 'MSTR', 'TSLA', 'IREN', 'NXPI', 'TXN', 'HOOD', 'ALAB', 'META', 'AAL', 'ADI'] |
| 03-12 17:14:46 |
INFO
|
general |
|
trailing_stop_engine |
🔄 SOXX retry cooldown expired, proceeding with attempt 2 |
| 03-12 17:14:45 |
ERROR
|
error |
|
tiger_client |
Batch smart price fetch failed: 'NoneType' object has no attribute 'get_stock_briefs' |
| 03-12 17:14:45 |
ERROR
|
error |
|
tiger_client |
Batch smart price fetch failed: 'NoneType' object has no attribute 'get_stock_briefs' |
| 03-12 17:14:45 |
INFO
|
order |
|
trailing_stop_scheduler |
🔔 WS-triggered TS: TSEM → trigger - No OCA protection (no_active_oca_group): Price $121.33 <= broker stop $122.07 |
| 03-12 17:14:45 |
INFO
|
order |
|
trailing_stop_engine |
[TSEM] TS stays ACTIVE with pending exit order None, will re-check each cycle |
| 03-12 17:14:45 |
WARN
|
order |
|
trailing_stop_engine |
⚠️ Trailing stop close order placed but no order_id returned |
| 03-12 17:14:45 |
INFO
|
order |
|
trailing_stop_engine |
⚠️ TSEM 仓位已不存在,止损单可能已触发成交,跳过重复平仓 |
| 03-12 17:14:45 |
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: -96
averageCost: 51.3860417
latestPrice: 51.28
marketValue: -4922.88
unrealizedPnl: 10.18
timestamp: 1773335685044
positionQty: -96
|
| 03-12 17:14:45 |
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: 12.25
marketValue: 18375
unrealizedPnl: -15045.3501092
timestamp: 1773335685044
positionQty: 1500
salableQty: 1500
|
| 03-12 17:14:45 |
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: 1900
averageCost: 16.7396789
latestPrice: 10.75
marketValue: 20425
unrealizedPnl: -11380.3900001
timestamp: 1773335685044
positionQty: 1900
salableQty: 1900
|
| 03-12 17:14:45 |
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.46
marketValue: 946
unrealizedPnl: -613.304
timestamp: 1773335685044
positionQty: 100
salableQty: 100
|
| 03-12 17:14:45 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: TSEM SELL status=CANCELLED filled=29 @ $0 |
| 03-12 17:14:45 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42523974338101248
account: "21444612990232147"
symbol: "TSEM"
identifier: "TSEM"
multiplier: 1
action: "SELL"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "LMT"
isLong: true
totalQuantity: 29
limitPrice: 124
status: "CANCELLED"
replaceStatus: "NONE"
cancelStatus: "NONE"
outsideRth: true
name: "Tower半导体"
source: "openapi"
errorMsg: "订单当前不支持撤销,请查看订单状态或者咨询客服。"
openTime: 1773331377000
timestamp: 1773335685194
attrList: "ATTACHED_ORDER"
attrList: "OCA"
timeInForce: "DAY"
|
| 03-12 17:14:45 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: TSEM |
| 03-12 17:14:45 |
INFO
|
order |
|
trailing_stop_engine |
✅ TSEM take_profit订单已取消: 42523974338101248 |
| 03-12 17:14:45 |
INFO
|
order |
|
tiger_client |
Cancel order 42523974338101248 result: 42523974338101248 |
| 03-12 17:14:45 |
INFO
|
order |
|
trailing_stop_engine |
📋 TSEM 存储的止盈订单ID 42523974338101248 不在挂单中,尝试类型匹配 |
| 03-12 17:14:45 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for TSEM |
| 03-12 17:14:44 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: TSEM SELL status=EXPIRED filled=29 @ $0 |
| 03-12 17:14:44 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42524538600572928
account: "21444612990232147"
symbol: "TSEM"
identifier: "TSEM"
multiplier: 1
action: "SELL"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "STP_LMT"
totalQuantity: 29
limitPrice: 121.46
status: "EXPIRED"
replaceStatus: "NONE"
cancelStatus: "NONE"
name: "Tower半导体"
source: "openapi"
errorMsg: "订单当前不支持撤销,请查看订单状态或者咨询客服。"
openTime: 1773335682000
timestamp: 1773335684725
timeInForce: "DAY"
|
| 03-12 17:14:44 |
INFO
|
order |
|
trailing_stop_engine |
✅ TSEM stop_loss订单已取消: 42524538600572928 |
| 03-12 17:14:44 |
INFO
|
order |
|
tiger_client |
Cancel order 42524538600572928 result: 42524538600572928 |
| 03-12 17:14:44 |
INFO
|
order |
|
trailing_stop_scheduler |
- TSEM: trigger - No OCA protection (no_active_oca_group): Price $121.33 <= broker stop $122.07 |
| 03-12 17:14:44 |
INFO
|
general |
|
trailing_stop_scheduler |
🔄 Fast check: 1 actions taken |
| 03-12 17:14:44 |
INFO
|
order |
|
trailing_stop_engine |
[TSEM] TS stays ACTIVE with pending exit order None, will re-check each cycle |
| 03-12 17:14:44 |
WARN
|
order |
|
trailing_stop_engine |
⚠️ Trailing stop close order placed but no order_id returned |
| 03-12 17:14:44 |
INFO
|
order |
|
trailing_stop_engine |
⚠️ TSEM 仓位已不存在,止损单可能已触发成交,跳过重复平仓 |
| 03-12 17:14:44 |
INFO
|
order |
|
trailing_stop_engine |
📋 TSEM 存储的止损订单ID 42524538600572928 不在挂单中,尝试类型匹配 |
| 03-12 17:14:44 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for TSEM |
| 03-12 17:14:44 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: TSEM SELL status=CANCELLED filled=29 @ $0 |
| 03-12 17:14:44 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42523974338101248
account: "21444612990232147"
symbol: "TSEM"
identifier: "TSEM"
multiplier: 1
action: "SELL"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "LMT"
isLong: true
totalQuantity: 29
limitPrice: 124
status: "CANCELLED"
replaceStatus: "NONE"
cancelStatus: "NONE"
outsideRth: true
name: "Tower半导体"
source: "openapi"
errorMsg: "订单当前不支持撤销,请查看订单状态或者咨询客服。"
openTime: 1773331377000
timestamp: 1773335684286
attrList: "ATTACHED_ORDER"
attrList: "OCA"
timeInForce: "DAY"
|
| 03-12 17:14:44 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: TSEM |
| 03-12 17:14:44 |
INFO
|
order |
|
trailing_stop_engine |
✅ TSEM take_profit订单已取消: 42523974338101248 |
| 03-12 17:14:44 |
INFO
|
order |
|
tiger_client |
Cancel order 42523974338101248 result: 42523974338101248 |
| 03-12 17:14:44 |
INFO
|
order |
|
trailing_stop_engine |
📋 TSEM 存储的止盈订单ID 42523974338101248 不在挂单中,尝试类型匹配 |
| 03-12 17:14:44 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for TSEM |
| 03-12 17:14:43 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: TSEM SELL status=EXPIRED filled=29 @ $0 |
| 03-12 17:14:43 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42524538600572928
account: "21444612990232147"
symbol: "TSEM"
identifier: "TSEM"
multiplier: 1
action: "SELL"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "STP_LMT"
totalQuantity: 29
limitPrice: 121.46
status: "EXPIRED"
replaceStatus: "NONE"
cancelStatus: "NONE"
name: "Tower半导体"
source: "openapi"
errorMsg: "订单当前不支持撤销,请查看订单状态或者咨询客服。"
openTime: 1773335682000
timestamp: 1773335683823
timeInForce: "DAY"
|
| 03-12 17:14:43 |
INFO
|
order |
|
trailing_stop_engine |
✅ TSEM stop_loss订单已取消: 42524538600572928 |
| 03-12 17:14:43 |
INFO
|
order |
|
tiger_client |
Cancel order 42524538600572928 result: 42524538600572928 |
| 03-12 17:14:43 |
INFO
|
order |
|
trailing_stop_engine |
📋 TSEM 存储的止损订单ID 42524538600572928 不在挂单中,尝试类型匹配 |
| 03-12 17:14:43 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for TSEM |
| 03-12 17:14:43 |
INFO
|
general |
|
trailing_stop_engine |
🔄 ARM retry cooldown expired, proceeding with attempt 2 |
| 03-12 17:14:43 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: TSEM SELL status=EXPIRED filled=29 @ $0 |
| 03-12 17:14:43 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42524538600572928
account: "21444612990232147"
symbol: "TSEM"
identifier: "TSEM"
multiplier: 1
action: "SELL"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "STP_LMT"
totalQuantity: 29
limitPrice: 121.46
status: "EXPIRED"
replaceStatus: "NONE"
cancelStatus: "NONE"
name: "Tower半导体"
source: "openapi"
errorMsg: "止损价必须小于最新价"
openTime: 1773335682000
timestamp: 1773335682262
timeInForce: "DAY"
|
| 03-12 17:14:43 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: TSEM SELL status=CANCELLED filled=29 @ $0 |
| 03-12 17:14:43 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42524537550161920
account: "21444612990232147"
symbol: "TSEM"
identifier: "TSEM"
multiplier: 1
action: "SELL"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "STP_LMT"
isLong: true
totalQuantity: 29
limitPrice: 120.68
status: "CANCELLED"
replaceStatus: "NONE"
cancelStatus: "NONE"
name: "Tower半导体"
source: "openapi"
errorMsg: "订单当前不支持撤销,请查看订单状态或者咨询客服。"
openTime: 1773335674000
timestamp: 1773335681499
timeInForce: "DAY"
|
| 03-12 17:14:43 |
INFO
|
general |
|
trailing_stop_engine |
🔄 NXPI retry cooldown expired, proceeding with attempt 2 |
| 03-12 17:14:43 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: TSEM SELL status=EXPIRED filled=29 @ $0 |
| 03-12 17:14:43 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42524538374865920
account: "21444612990232147"
symbol: "TSEM"
identifier: "TSEM"
multiplier: 1
action: "SELL"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "STP_LMT"
totalQuantity: 29
limitPrice: 121.46
status: "EXPIRED"
replaceStatus: "NONE"
cancelStatus: "NONE"
name: "Tower半导体"
source: "openapi"
errorMsg: "止损价必须小于最新价"
openTime: 1773335680000
timestamp: 1773335680540
timeInForce: "DAY"
|
| 03-12 17:14:43 |
INFO
|
general |
|
trailing_stop_engine |
🔄 TXN retry cooldown expired, proceeding with attempt 2 |
| 03-12 17:14:43 |
INFO
|
general |
|
trailing_stop_engine |
🔄 SOXX retry cooldown expired, proceeding with attempt 2 |
| 03-12 17:14:43 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: TSEM SELL status=CANCELLED filled=29 @ $0 |
| 03-12 17:14:43 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42524537550161920
account: "21444612990232147"
symbol: "TSEM"
identifier: "TSEM"
multiplier: 1
action: "SELL"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "STP_LMT"
isLong: true
totalQuantity: 29
limitPrice: 120.68
status: "CANCELLED"
replaceStatus: "NONE"
cancelStatus: "NONE"
name: "Tower半导体"
source: "openapi"
errorMsg: "订单当前不支持撤销,请查看订单状态或者咨询客服。"
openTime: 1773335674000
timestamp: 1773335679782
timeInForce: "DAY"
|
| 03-12 17:14:43 |
INFO
|
order |
|
trailing_stop_engine |
🔔 [PAPER] TSEM stop breached and no OCA protection (no_active_oca_group), proceeding with software exit. |
| 03-12 17:14:42 |
INFO
|
order |
|
trailing_stop_engine |
🔔 [PAPER] TSEM stop breached and no OCA protection (no_active_oca_group), proceeding with software exit. |
| 03-12 17:14:42 |
INFO
|
order |
|
push_event_handlers |
✅ WebSocket fill routed via OrderTracker: 42524538214304768 → filled |
| 03-12 17:14:42 |
INFO
|
order |
|
discord_notifier |
Discord通知发送成功: 📦 Exit filled: TSEM trailing_stop 29@$121.33 P&L=pending (paper) |
| 03-12 17:14:42 |
INFO
|
order |
|
order_tracker_service |
✅ Created ClosedPosition #2818 via _handle_exit_fill for TSEM (created) |
| 03-12 17:14:42 |
INFO
|
order |
|
trailing_stop_engine |
📈 [PAPER] TSEM 反向保护止损修改成功: $122.07, 新订单ID=42524538600572928 |
| 03-12 17:14:42 |
INFO
|
order |
|
trailing_stop_scheduler |
🔔 WS-triggered TS: TSEM → trigger - No OCA protection (no_active_oca_group): Price $121.36 <= broker stop $121.78 |
| 03-12 17:14:42 |
INFO
|
order |
|
trailing_stop_engine |
📋 Marked OrderTracker 42524537550161920 as cancelled |
| 03-12 17:14:42 |
INFO
|
order |
|
trailing_stop_engine |
📋 Created OrderTracker for stop loss order 42524538600572928 |
| 03-12 17:14:42 |
INFO
|
order |
|
trailing_stop_engine |
📋 Synced Trade.stop_loss_order_id: 42524538374865920 → 42524538600572928 for trade_id=10830 |
| 03-12 17:14:42 |
INFO
|
order |
|
tiger_client |
✅ Created new stop loss order 42524538600572928 at $122.07 (cancel+create) |
| 03-12 17:14:42 |
INFO
|
order |
|
tiger_client |
📅 [Paper] Stop LIMIT order: outside_rth=False (trigger=$122.07, limit=$121.46) |
| 03-12 17:14:41 |
ERROR
|
error |
|
tiger_client |
Batch smart price fetch failed: 'NoneType' object has no attribute 'get_stock_briefs' |
| 03-12 17:14:41 |
INFO
|
general |
|
trailing_stop_engine |
📊 EODHD batch fallback: 1/1 symbols: ['VSTL'] |
| 03-12 17:14:41 |
INFO
|
order |
|
tiger_client |
✅ Cancelled old stop loss order 42524537550161920 |
| 03-12 17:14:41 |
INFO
|
order |
|
tiger_client |
Cancel order 42524537550161920 result: 42524537550161920 |
| 03-12 17:14:41 |
ERROR
|
error |
|
tiger_client |
Batch smart price fetch failed: 'NoneType' object has no attribute 'get_stock_briefs' |
| 03-12 17:14:41 |
WARN
|
order |
|
tiger_client |
⚠️ Order 42524537550161920 cannot be modified (status=OrderStatus.CANCELLED), falling back to cancel+create |
| 03-12 17:14:40 |
INFO
|
order |
|
tiger_client |
📈 Modifying stop loss: TSEM order 42524537550161920 to $122.07 |
| 03-12 17:14:40 |
INFO
|
order |
|
trailing_stop_engine |
📋 TSEM 存储的止损订单ID 42524537550161920 不在挂单中,尝试类型匹配 |
| 03-12 17:14:40 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for TSEM |
| 03-12 17:14:40 |
INFO
|
order |
|
trailing_stop_engine |
📈 [PAPER] TSEM 反向保护止损修改成功: $122.07, 新订单ID=42524538374865920 |
| 03-12 17:14:40 |
INFO
|
order |
|
trailing_stop_engine |
📋 Marked OrderTracker 42524537550161920 as cancelled |
| 03-12 17:14:40 |
INFO
|
order |
|
trailing_stop_engine |
📋 Created OrderTracker for stop loss order 42524538374865920 |
| 03-12 17:14:40 |
INFO
|
order |
|
trailing_stop_engine |
📋 Synced Trade.stop_loss_order_id: 42524537550161920 → 42524538374865920 for trade_id=10830 |
| 03-12 17:14:40 |
INFO
|
order |
|
tiger_client |
✅ Created new stop loss order 42524538374865920 at $122.07 (cancel+create) |
| 03-12 17:14:40 |
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: -96
averageCost: 51.3860417
latestPrice: 51.29
marketValue: -4923.84
unrealizedPnl: 9.22
timestamp: 1773335680075
positionQty: -96
|
| 03-12 17:14:40 |
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: 12.25
marketValue: 18375
unrealizedPnl: -15045.3501092
timestamp: 1773335680075
positionQty: 1500
salableQty: 1500
|