| 03-23 17:30:44 |
INFO
|
order |
|
tiger_client |
Cancel order 42649001176484864 result: 42649001176484864 |
| 03-23 17:30:44 |
INFO
|
order |
|
trailing_stop_engine |
📋 WDC 存储的止盈订单ID 42649001176484864 不在挂单中,尝试类型匹配 |
| 03-23 17:30:44 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for WDC |
| 03-23 17:30:43 |
INFO
|
order |
|
trailing_stop_scheduler |
🔔 WS-triggered TS: WDC → trigger - No OCA protection (no_active_oca_group): Price $289.13 >= broker stop $289.06 |
| 03-23 17:30:43 |
INFO
|
order |
|
trailing_stop_engine |
[WDC] TS stays ACTIVE with pending exit order 42649235409355776, will re-check each cycle |
| 03-23 17:30:43 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: WDC BUY status=EXPIRED filled=8 @ $0 |
| 03-23 17:30:43 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42649001473097728
account: "21794354632316626"
symbol: "WDC"
identifier: "WDC"
multiplier: 1
action: "BUY"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "STP_LMT"
totalQuantity: 8
limitPrice: 304.33
status: "EXPIRED"
replaceStatus: "NONE"
cancelStatus: "NONE"
name: "西部数据"
source: "openapi"
errorMsg: "订单当前不支持撤销,请查看订单状态或者咨询客服。"
openTime: 1774285258000
timestamp: 1774287043732
timeInForce: "DAY"
|
| 03-23 17:30:43 |
INFO
|
order |
|
push_event_handlers |
✅ WebSocket fill routed via OrderTracker: 42649235409355776 → filled |
| 03-23 17:30:43 |
INFO
|
order |
|
discord_notifier |
Discord通知发送成功: 📦 Exit filled: WDC trailing_stop 8@$289.13 P&L=pending (paper) |
| 03-23 17:30:43 |
INFO
|
order |
|
trailing_stop_engine |
✅ WDC stop_loss订单已取消: 42649001473097728 |
| 03-23 17:30:43 |
INFO
|
order |
|
tiger_client |
Cancel order 42649001473097728 result: 42649001473097728 |
| 03-23 17:30:43 |
INFO
|
order |
|
order_tracker_service |
✅ Created ClosedPosition #3372 via _handle_exit_fill for WDC (created) |
| 03-23 17:30:43 |
INFO
|
order |
|
order_tracker_service |
📦 Exit fill → WDC trailing_stop: 8@$289.13, position=CLOSED |
| 03-23 17:30:43 |
INFO
|
order |
|
order_tracker_service |
🎯 Deactivated TrailingStopPosition #3915 for WDC via exit_trailing fill (position fully closed) |
| 03-23 17:30:43 |
INFO
|
order |
|
position_service |
📦 Position P_WDC_2026-03-23_1 CLOSED. P&L=$2.48 (close_source=websocket_fill) |
| 03-23 17:30:43 |
INFO
|
position |
|
order_tracker_service |
📋 Found Position #2413 via position_id (precise match) |
| 03-23 17:30:43 |
INFO
|
order |
|
order_tracker_service |
📋 Order 42649235409355776 FILLED (source=websocket): WDC exit_trailing qty=8 price=$289.13 pnl=$0.00 |
| 03-23 17:30:43 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: WDC BUY status=FILLED filled=8 @ $289.13 |
| 03-23 17:30:43 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42649235409355776
account: "21794354632316626"
symbol: "WDC"
identifier: "WDC"
multiplier: 1
action: "BUY"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "MKT"
totalQuantity: 8
filledQuantity: 8
avgFillPrice: 289.13
status: "FILLED"
replaceStatus: "NONE"
cancelStatus: "NONE"
name: "西部数据"
source: "openapi"
commissionAndFee: 2.98
openTime: 1774287043000
timestamp: 1774287043459
timeInForce: "DAY"
|
| 03-23 17:30:43 |
INFO
|
order |
|
trailing_stop_engine |
📋 WDC 存储的止损订单ID 42649001473097728 不在挂单中,尝试类型匹配 |
| 03-23 17:30:43 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for WDC |
| 03-23 17:30:43 |
INFO
|
order |
|
trailing_stop_engine |
📋 Registered trailing stop close order 42649235409355776 as EXIT_TRAILING (Position #2413) |
| 03-23 17:30:43 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: WDC BUY status=HELD filled=8 @ $0 |
| 03-23 17:30:43 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42649235409355776
account: "21794354632316626"
symbol: "WDC"
identifier: "WDC"
multiplier: 1
action: "BUY"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "MKT"
totalQuantity: 8
status: "HELD"
replaceStatus: "NONE"
cancelStatus: "NONE"
canModify: true
canCancel: true
name: "西部数据"
source: "openapi"
openTime: 1774287043000
timestamp: 1774287043425
timeInForce: "DAY"
|
| 03-23 17:30:43 |
INFO
|
order |
|
order_tracker_service |
📋 Registered order 42649235409355776: WDC exit_trailing (paper) |
| 03-23 17:30:43 |
INFO
|
order |
|
trailing_stop_engine |
🔴 Tiger market order placed for WDC: {'order_id': '42649235409355776', 'status': None} |
| 03-23 17:30:43 |
INFO
|
order |
|
trailing_stop_engine |
📅 Market order: outside_rth=False, time_in_force=DAY |
| 03-23 17:30:43 |
INFO
|
position |
|
trailing_stop_engine |
🔴 盘中时段 → 使用市价单: symbol=WDC, side=BUY, quantity=8 |
| 03-23 17:30:43 |
INFO
|
order |
|
trailing_stop_engine |
🔴 Tiger close order: symbol=WDC, side=BUY, quantity=8, trigger_price=289.13 |
| 03-23 17:30:43 |
INFO
|
position |
|
trailing_stop_engine |
✅ WDC 确认仓位存在,方向=空仓,数量: 8 |
| 03-23 17:30:43 |
INFO
|
position |
|
tiger_client |
Position: WDC, Qty: -8, Cost: 289.065 |
| 03-23 17:30:43 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: WDC BUY status=CANCELLED filled=8 @ $0 |
| 03-23 17:30:43 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42649001176484864
account: "21794354632316626"
symbol: "WDC"
identifier: "WDC"
multiplier: 1
action: "BUY"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "LMT"
totalQuantity: 8
limitPrice: 285.26
status: "CANCELLED"
replaceStatus: "NONE"
cancelStatus: "NONE"
outsideRth: true
name: "西部数据"
source: "openapi"
errorMsg: "手动撤单"
openTime: 1774285256000
timestamp: 1774287042930
attrList: "ATTACHED_ORDER"
attrList: "OCA"
timeInForce: "DAY"
|
| 03-23 17:30:43 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: WDC |
| 03-23 17:30:43 |
INFO
|
order |
|
trailing_stop_engine |
✅ WDC take_profit订单已取消: 42649001176484864 |
| 03-23 17:30:42 |
INFO
|
order |
|
tiger_client |
Cancel order 42649001176484864 result: 42649001176484864 |
| 03-23 17:30:42 |
INFO
|
order |
|
tiger_client |
Open order: 42649001176484864 - BUY 8 WDC @ 285.26 - Status: OrderStatus.HELD - CanCancel: True |
| 03-23 17:30:42 |
INFO
|
order |
|
tiger_client |
Retrieved 1 open orders for WDC |
| 03-23 17:30:42 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: WDC BUY status=EXPIRED filled=8 @ $0 |
| 03-23 17:30:42 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42649001473097728
account: "21794354632316626"
symbol: "WDC"
identifier: "WDC"
multiplier: 1
action: "BUY"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "STP_LMT"
totalQuantity: 8
limitPrice: 304.33
status: "EXPIRED"
replaceStatus: "NONE"
cancelStatus: "NONE"
name: "西部数据"
source: "openapi"
errorMsg: "订单当前不支持撤销,请查看订单状态或者咨询客服。"
openTime: 1774285258000
timestamp: 1774287042424
timeInForce: "DAY"
|
| 03-23 17:30:42 |
INFO
|
order |
|
trailing_stop_engine |
✅ WDC stop_loss订单已取消: 42649001473097728 |
| 03-23 17:30:42 |
INFO
|
order |
|
tiger_client |
Cancel order 42649001473097728 result: 42649001473097728 |
| 03-23 17:30:42 |
INFO
|
order |
|
trailing_stop_engine |
🔔 [PAPER] WDC stop breached and no OCA protection (no_active_oca_group), proceeding with software exit. |
| 03-23 17:30:42 |
INFO
|
order |
|
trailing_stop_engine |
📋 WDC 存储的止损订单ID 42649001473097728 不在挂单中,尝试类型匹配 |
| 03-23 17:30:42 |
INFO
|
order |
|
tiger_client |
Open order: 42649001176484864 - BUY 8 WDC @ 285.26 - Status: OrderStatus.HELD - CanCancel: True |
| 03-23 17:30:42 |
INFO
|
order |
|
tiger_client |
Retrieved 1 open orders for WDC |
| 03-23 17:30:41 |
INFO
|
position |
|
tiger_client |
Position: WDC, Qty: -8, Cost: 289.065 |
| 03-23 17:30:41 |
INFO
|
position |
|
tiger_client |
Position: USAR, Qty: 293, Cost: 17.088 |
| 03-23 17:30:41 |
INFO
|
position |
|
tiger_client |
Position: UMC, Qty: 547, Cost: 9.1569 |
| 03-23 17:30:41 |
INFO
|
position |
|
tiger_client |
Position: TSEM, Qty: -29, Cost: 169.3859 |
| 03-23 17:30:41 |
INFO
|
position |
|
tiger_client |
Position: TEM, Qty: 202, Cost: 49.4195 |
| 03-23 17:30:41 |
INFO
|
position |
|
tiger_client |
Position: POET, Qty: 825, Cost: 6.0669 |
| 03-23 17:30:41 |
INFO
|
position |
|
tiger_client |
Position: OKLO, Qty: 174, Cost: 57.1342 |
| 03-23 17:30:41 |
INFO
|
position |
MSFT |
tiger_client |
Position: MSFT, Qty: 25, Cost: 384.8234 |
| 03-23 17:30:41 |
INFO
|
position |
|
tiger_client |
Position: MP, Qty: 94, Cost: 52.9817 |
| 03-23 17:30:41 |
INFO
|
position |
|
tiger_client |
Position: ARM, Qty: -74, Cost: 134.9384 |
| 03-23 17:30:41 |
INFO
|
position |
|
tiger_client |
Position: AMBQ, Qty: 193, Cost: 25.8404 |
| 03-23 17:30:41 |
INFO
|
position |
|
tiger_client |
Position: AAL, Qty: 450, Cost: 10.4994 |
| 03-23 17:30:41 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-23 17:30:41 |
INFO
|
position |
SOXL |
tiger_client |
Position: SOXL, Qty: 1, Cost: 52.26 |
| 03-23 17:30:41 |
INFO
|
position |
QCML |
tiger_client |
Position: QCML, Qty: 1500, Cost: 22.2802 |
| 03-23 17:30:41 |
INFO
|
position |
ORCX |
tiger_client |
Position: ORCX, Qty: 633, Cost: 50.2077 |
| 03-23 17:30:41 |
INFO
|
position |
CLSK |
tiger_client |
Position: CLSK, Qty: 100, Cost: 15.593 |
| 03-23 17:30:40 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-23 17:30: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: 1
averageCost: 52.26
latestPrice: 53.17
marketValue: 53.17
unrealizedPnl: 0.91
timestamp: 1774287040046
positionQty: 1
salableQty: 1
|
| 03-23 17:30: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: 11.4915
marketValue: 17237.25
unrealizedPnl: -16183.1001092
timestamp: 1774287040046
positionQty: 1500
salableQty: 1500
|
| 03-23 17:30:40 |
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: 29
marketValue: 18357
unrealizedPnl: -13424.4921001
timestamp: 1774287040046
positionQty: 633
salableQty: 633
|
| 03-23 17:30:40 |
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.795
marketValue: 979.5
unrealizedPnl: -579.804
timestamp: 1774287040046
positionQty: 100
salableQty: 100
|
| 03-23 17:30:40 |
INFO
|
order |
|
trailing_stop_engine |
🔔 [PAPER] WDC stop breached and no OCA protection (no_active_oca_group), proceeding with software exit. |
| 03-23 17:30:36 |
INFO
|
general |
MSFT |
trailing_stop_engine |
📊 Batch API refresh: 8/8 symbols updated: ['WDC', 'ARM', 'MSFT', 'OKLO', 'POET', 'UMC', 'TEM', 'AMBQ'] |
| 03-23 17:30:36 |
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: 53.17
marketValue: 53.17
unrealizedPnl: 0.91
timestamp: 1774287035041
positionQty: 1
salableQty: 1
|
| 03-23 17:30:36 |
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.4915
marketValue: 17237.25
unrealizedPnl: -16183.1001092
timestamp: 1774287035041
positionQty: 1500
salableQty: 1500
|
| 03-23 17:30:36 |
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: 29
marketValue: 18357
unrealizedPnl: -13424.4921001
timestamp: 1774287035041
positionQty: 633
salableQty: 633
|
| 03-23 17:30:36 |
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.78
marketValue: 978
unrealizedPnl: -581.304
timestamp: 1774287035041
positionQty: 100
salableQty: 100
|
| 03-23 17:30:34 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: POET SELL status=CANCELLED filled=825 @ $0 |
| 03-23 17:30:34 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42649233715121152
account: "21794354632316626"
symbol: "POET"
identifier: "POET"
multiplier: 1
action: "SELL"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "STP"
isLong: true
totalQuantity: 825
status: "CANCELLED"
replaceStatus: "NONE"
cancelStatus: "NONE"
name: "POET Technologies Inc"
source: "openapi"
errorMsg: "手动撤单"
openTime: 1774287030000
timestamp: 1774287031494
attrList: "ATTACHED_ORDER"
attrList: "OCA"
timeInForce: "DAY"
|
| 03-23 17:30:34 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: POET SELL status=CANCELLED filled=825 @ $0 |
| 03-23 17:30:34 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42649233715120128
account: "21794354632316626"
symbol: "POET"
identifier: "POET"
multiplier: 1
action: "SELL"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "LMT"
isLong: true
totalQuantity: 825
limitPrice: 7.66
status: "CANCELLED"
replaceStatus: "NONE"
cancelStatus: "NONE"
outsideRth: true
name: "POET Technologies Inc"
source: "openapi"
errorMsg: "手动撤单"
openTime: 1774287030000
timestamp: 1774287031243
attrList: "ATTACHED_ORDER"
attrList: "OCA"
timeInForce: "DAY"
|
| 03-23 17:30:34 |
INFO
|
order |
|
push_event_handlers |
✅ WebSocket fill routed via OrderTracker: 42649233715118080 → filled |
| 03-23 17:30:34 |
INFO
|
order |
|
discord_notifier |
Discord通知发送成功: 📦 Entry filled: POET LONG 825.0@$6.05 (paper) |
| 03-23 17:30:33 |
INFO
|
order |
|
order_tracker_service |
📦 Entry fill → Position created: POET 825.0@$6.05 |
| 03-23 17:30:33 |
INFO
|
trailing_stop |
|
order_tracker_service |
🎯 Created TrailingStop for POET |
| 03-23 17:30:33 |
INFO
|
websocket |
|
trailing_stop_engine |
📊 Subscribed to WebSocket quotes for POET |
| 03-23 17:30:33 |
INFO
|
order |
|
trailing_stop_engine |
✅ OCA protection auto-created for POET: created |
| 03-23 17:30:33 |
INFO
|
order |
|
oca_service |
OCA protection created for POET: stop=5.5143015636, tp=7.6635778482, OCAGroup ID=3885 (source=ts_creation_auto) |
| 03-23 17:30:33 |
INFO
|
order |
|
tiger_client |
OCA group 'POET-1774287033' creation completed with 3 orders |
| 03-23 17:30:33 |
INFO
|
order |
|
order_tracker_service |
📋 Registered order 42649234119868416: POET take_profit (paper) |
| 03-23 17:30:33 |
INFO
|
order |
|
order_tracker_service |
📋 Registered order 42649234119740416: POET stop_loss (paper) |
| 03-23 17:30:33 |
INFO
|
order |
|
tiger_client |
OCAGroup record created: ID=3885, group=POET-1774287033 |
| 03-23 17:30:33 |
INFO
|
order |
|
tiger_client |
TP sub-order from orders attr: id=42649234119868416, type=LMT |
| 03-23 17:30:33 |
INFO
|
order |
|
tiger_client |
SL sub-order from orders attr: id=42649234119740416, type=STP_LMT |
| 03-23 17:30:33 |
INFO
|
order |
|
tiger_client |
sub_ids empty, extracting from orders attribute (2 orders found) |
| 03-23 17:30:33 |
INFO
|
order |
|
tiger_client |
OCA order 42649234119868416 sub_ids raw: [] (type=list) |
| 03-23 17:30:33 |
INFO
|
order |
|
tiger_client |
OCA order group placed: 42649234119868416 |
| 03-23 17:30:33 |
INFO
|
trailing_stop |
|
routes |
📝 [PAPER] No position found for WOLF - position may have been already closed by trailing stop or other exit |
| 03-23 17:30:33 |
WARN
|
position |
|
tiger_client |
No position found for WOLF at broker (API + cache + DB all returned 0/None). Aborting close to prevent opening reverse position. |
| 03-23 17:30:33 |
WARN
|
position |
|
tiger_client |
No position from Tiger API for WOLF, position likely already closed |
| 03-23 17:30:33 |
INFO
|
order |
|
tiger_client |
OCA TP leg: price=$7.66, outside_rth=True |
| 03-23 17:30:33 |
INFO
|
order |
|
tiger_client |
OCA stop leg: trigger=$5.51, limit=$5.48, outside_rth=False |
| 03-23 17:30:33 |
INFO
|
order |
|
tiger_client |
No existing orders to cancel for POET |