| 03-04 10:26:21 |
INFO
|
position |
QCML |
tiger_client |
Position: QCML, Qty: 1500, Cost: 22.2802 |
| 03-04 10:26:21 |
INFO
|
position |
ORCX |
tiger_client |
Position: ORCX, Qty: 1900, Cost: 16.7397 |
| 03-04 10:26:21 |
INFO
|
position |
MSTU |
tiger_client |
Position: MSTU, Qty: 1000, Cost: 5.1016 |
| 03-04 10:26:21 |
INFO
|
position |
CLSK |
tiger_client |
Position: CLSK, Qty: 100, Cost: 15.593 |
| 03-04 10:26:21 |
INFO
|
position |
|
tiger_client |
Position: ALAB, Qty: 2, Cost: 111.07 |
| 03-04 10:26:20 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-04 10:26:20 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-04 10:26:17 |
INFO
|
position |
|
trailing_stop_scheduler |
- ALAB: deactivate - Position not found in Tiger API |
| 03-04 10:26:17 |
INFO
|
position |
|
trailing_stop_scheduler |
- TSEM: deactivate - Position not found in Tiger API |
| 03-04 10:26:17 |
INFO
|
order |
|
trailing_stop_scheduler |
- AOSL: trigger - No OCA protection (no_active_oca_group): Price $20.49 >= broker stop $20.29 |
| 03-04 10:26:17 |
INFO
|
sync |
|
trailing_stop_scheduler |
🔄 Full sync complete: 3 actions taken |
| 03-04 10:26:14 |
INFO
|
sync |
|
trailing_stop_engine |
📊 Syncing avg cost for OKLO: 63.62 -> 63.63 |
| 03-04 10:26:02 |
INFO
|
order |
|
trailing_stop_engine |
[AOSL] TS stays ACTIVE with pending exit order None, will re-check each cycle |
| 03-04 10:25:56 |
WARN
|
order |
|
trailing_stop_engine |
⚠️ Trailing stop close order placed but no order_id returned |
| 03-04 10:25:56 |
INFO
|
order |
|
trailing_stop_engine |
🔴 Tiger limit order placed for AOSL: {'order_id': None, 'status': None} |
| 03-04 10:25:55 |
INFO
|
order |
|
trailing_stop_engine |
📅 Limit order: outside_rth=True, time_in_force=DAY (Paper) |
| 03-04 10:25:55 |
INFO
|
position |
|
trailing_stop_engine |
🔴 盘前盘后 → 使用限价单: symbol=AOSL, side=BUY, quantity=292, limit=$20.59 |
| 03-04 10:25:55 |
INFO
|
order |
|
trailing_stop_engine |
🔴 Tiger close order: symbol=AOSL, side=BUY, quantity=292, trigger_price=20.49 |
| 03-04 10:25:55 |
INFO
|
position |
|
trailing_stop_engine |
✅ AOSL 确认仓位存在,方向=空仓,数量: 292 |
| 03-04 10:25:55 |
INFO
|
position |
|
tiger_client |
Position: AOSL, Qty: -292, Cost: 20.492 |
| 03-04 10:25:52 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: AOSL |
| 03-04 10:25:52 |
INFO
|
order |
|
trailing_stop_engine |
✅ AOSL take_profit订单已取消: 42430705159899136 |
| 03-04 10:25:52 |
INFO
|
order |
|
tiger_client |
Cancel order 42430705159899136 result: 42430705159899136 |
| 03-04 10:25:52 |
INFO
|
order |
|
trailing_stop_engine |
📋 AOSL 止盈订单ID已更新: -> 42430705159899136 |
| 03-04 10:25:52 |
INFO
|
order |
|
tiger_client |
Open order: 42430705159899136 - BUY 292 AOSL @ 20.59 - Status: OrderStatus.HELD - CanCancel: True |
| 03-04 10:25:52 |
INFO
|
order |
|
tiger_client |
Retrieved 1 open orders for AOSL |
| 03-04 10:25:51 |
INFO
|
order |
|
tiger_client |
Open order: 42430705159899136 - BUY 292 AOSL @ 20.59 - Status: OrderStatus.HELD - CanCancel: True |
| 03-04 10:25:51 |
INFO
|
order |
|
tiger_client |
Retrieved 1 open orders for AOSL |
| 03-04 10:25:43 |
INFO
|
order |
|
trailing_stop_engine |
🔔 [PAPER] AOSL stop breached and no OCA protection (no_active_oca_group), proceeding with software exit. |
| 03-04 10:25:40 |
INFO
|
position |
|
trailing_stop_engine |
📊 Added exit leg to Position for external close: ALAB (exit=$110.43, PnL=$3.00) |
| 03-04 10:25:39 |
INFO
|
position |
|
position_service |
📦 Position P_ALAB_2026-03-03_2 CLOSED. P&L=$3.00 (close_source=None) |
| 03-04 10:25:38 |
INFO
|
position |
|
trailing_stop_engine |
🛑 Auto-deactivated ALAB (paper): position closed externally |
| 03-04 10:25:38 |
INFO
|
position |
|
trailing_stop_engine |
📊 Added exit leg to Position for external close: TSEM (exit=$127.58, PnL=$144.82) |
| 03-04 10:25:37 |
INFO
|
position |
|
position_service |
📦 Position P_TSEM_2026-03-03_1 CLOSED. P&L=$12.02 (close_source=None) |
| 03-04 10:25:37 |
INFO
|
general |
|
position_service |
📊 [P_TSEM_2026-03-03_1] P&L: ours=$12.02 vs Tiger=$144.82 (using ours, Tiger uses different cost basis) |
| 03-04 10:25:36 |
INFO
|
position |
|
trailing_stop_engine |
🛑 Auto-deactivated TSEM (paper): position closed externally |
| 03-04 10:25:35 |
INFO
|
trailing_stop |
|
trailing_stop_scheduler |
🔄 Full sync: Processing 7 active trailing stop positions (API verification) |
| 03-04 10:25:35 |
INFO
|
position |
|
tiger_client |
Position: OKLO, Qty: 242, Cost: 63.6323 |
| 03-04 10:25:35 |
INFO
|
position |
|
tiger_client |
Position: NA, Qty: 729, Cost: 3.0059 |
| 03-04 10:25:35 |
INFO
|
position |
|
tiger_client |
Position: DIOD, Qty: -73, Cost: 67.8311 |
| 03-04 10:25:35 |
INFO
|
position |
|
tiger_client |
Position: CRUS, Qty: -168, Cost: 138.5857 |
| 03-04 10:25:35 |
INFO
|
position |
|
tiger_client |
Position: AOSL, Qty: -292, Cost: 20.492 |
| 03-04 10:25:35 |
INFO
|
position |
|
tiger_client |
Position: ALGM, Qty: -187, Cost: 34.7416 |
| 03-04 10:25:34 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-04 10:25:29 |
INFO
|
position |
QCML |
tiger_client |
Position: QCML, Qty: 1500, Cost: 22.2802 |
| 03-04 10:25:28 |
INFO
|
position |
ORCX |
tiger_client |
Position: ORCX, Qty: 1900, Cost: 16.7397 |
| 03-04 10:25:28 |
INFO
|
position |
MSTU |
tiger_client |
Position: MSTU, Qty: 1000, Cost: 5.1016 |
| 03-04 10:25:28 |
INFO
|
position |
CLSK |
tiger_client |
Position: CLSK, Qty: 100, Cost: 15.593 |
| 03-04 10:25:28 |
INFO
|
position |
|
tiger_client |
Position: ALAB, Qty: 2, Cost: 111.07 |
| 03-04 10:25:28 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-04 10:25:21 |
WARN
|
order |
|
trailing_stop_scheduler |
⚠️ Order 42424401663755264 (PI) expired: 订单已过期 |
| 03-04 10:25:21 |
INFO
|
order |
|
tiger_client |
Order 42424401663755264 Tiger data: avgFillPrice=0, filledQuantity=0, totalQuantity=21, realizedPnl=0, commission=0, reason=订单已过期, order_type=LMT, outside_rth=True |
| 03-04 10:25:21 |
INFO
|
order |
|
tiger_client |
Order 42424401663755264 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-04 10:25:20 |
INFO
|
order |
|
trailing_stop_scheduler |
- ALAB: trigger - No OCA protection (no_active_oca_group): Price $111.71 >= trailing stop $110.43 |
| 03-04 10:25:20 |
INFO
|
order |
|
trailing_stop_scheduler |
- TSEM: trigger - No OCA protection (no_active_oca_group): Price $128.24 >= trailing stop $127.58 |
| 03-04 10:25:20 |
INFO
|
trailing_stop |
COIN |
trailing_stop_scheduler |
- None: deactivated_no_holdings - COIN no holdings found, trailing stop deactivated |
| 03-04 10:25:20 |
INFO
|
trailing_stop |
|
trailing_stop_scheduler |
- None: deactivated_no_holdings - SYNA no holdings found, trailing stop deactivated |
| 03-04 10:25:20 |
INFO
|
order |
|
trailing_stop_scheduler |
- AOSL: trigger - No OCA protection (no_active_oca_group): Price $20.49 >= broker stop $20.29 |
| 03-04 10:25:20 |
INFO
|
general |
|
trailing_stop_scheduler |
🔄 Fast check: 5 actions taken |
| 03-04 10:25:13 |
INFO
|
order |
|
trailing_stop_engine |
[ALAB] TS stays ACTIVE with pending exit order None, will re-check each cycle |
| 03-04 10:25:00 |
WARN
|
order |
|
trailing_stop_engine |
⚠️ Trailing stop close order placed but no order_id returned |
| 03-04 10:25:00 |
INFO
|
order |
|
trailing_stop_engine |
🔴 Tiger limit order placed for ALAB: {'order_id': None, 'status': None} |
| 03-04 10:25:00 |
INFO
|
order |
|
trailing_stop_engine |
📅 Limit order: outside_rth=True, time_in_force=DAY (Paper) |
| 03-04 10:25:00 |
INFO
|
position |
|
trailing_stop_engine |
🔴 盘前盘后 → 使用限价单: symbol=ALAB, side=BUY, quantity=27, limit=$112.27 |
| 03-04 10:25:00 |
INFO
|
order |
|
trailing_stop_engine |
🔴 Tiger close order: symbol=ALAB, side=BUY, quantity=27, trigger_price=111.71 |
| 03-04 10:25:00 |
INFO
|
position |
|
trailing_stop_engine |
✅ ALAB 确认仓位存在,方向=空仓,数量: 27 |
| 03-04 10:25:00 |
INFO
|
position |
|
tiger_client |
Position: ALAB, Qty: -27, Cost: 110.4289 |
| 03-04 10:24:59 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: ALAB |
| 03-04 10:24:59 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for ALAB |
| 03-04 10:24:59 |
INFO
|
order |
|
trailing_stop_engine |
✅ ALAB stop_loss订单已取消: 42430065946919936 |
| 03-04 10:24:59 |
INFO
|
order |
|
tiger_client |
Cancel order 42430065946919936 result: 42430065946919936 |
| 03-04 10:24:58 |
INFO
|
order |
|
tiger_client |
Open order: 42430065946919936 - BUY 27 ALAB @ 110.98 - Status: OrderStatus.HELD - CanCancel: True |
| 03-04 10:24:58 |
INFO
|
order |
|
tiger_client |
Retrieved 1 open orders for ALAB |
| 03-04 10:24:51 |
INFO
|
position |
|
tiger_client |
Position: OKLO, Qty: 242, Cost: 63.6323 |
| 03-04 10:24:51 |
INFO
|
position |
|
tiger_client |
Position: NA, Qty: 729, Cost: 3.0059 |
| 03-04 10:24:51 |
INFO
|
position |
|
tiger_client |
Position: DIOD, Qty: -73, Cost: 67.8311 |
| 03-04 10:24:51 |
INFO
|
position |
|
tiger_client |
Position: CRUS, Qty: -168, Cost: 138.5857 |
| 03-04 10:24:51 |
INFO
|
position |
|
tiger_client |
Position: AOSL, Qty: -292, Cost: 20.492 |
| 03-04 10:24:51 |
INFO
|
position |
|
tiger_client |
Position: ALGM, Qty: -187, Cost: 34.7416 |
| 03-04 10:24:51 |
INFO
|
position |
|
tiger_client |
Position: ALAB, Qty: -27, Cost: 110.4289 |
| 03-04 10:24:50 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-04 10:24:44 |
INFO
|
position |
QCML |
tiger_client |
Position: QCML, Qty: 1500, Cost: 22.2802 |
| 03-04 10:24:44 |
INFO
|
position |
ORCX |
tiger_client |
Position: ORCX, Qty: 1900, Cost: 16.7397 |
| 03-04 10:24:44 |
INFO
|
position |
MSTU |
tiger_client |
Position: MSTU, Qty: 1000, Cost: 5.1016 |
| 03-04 10:24:44 |
INFO
|
position |
CLSK |
tiger_client |
Position: CLSK, Qty: 100, Cost: 15.593 |
| 03-04 10:24:44 |
INFO
|
position |
|
tiger_client |
Position: ALAB, Qty: 2, Cost: 111.07 |
| 03-04 10:24:44 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-04 10:24:39 |
INFO
|
order |
|
trailing_stop_engine |
🔔 [PAPER] ALAB stop breached and no OCA protection (no_active_oca_group), proceeding with software exit. |
| 03-04 10:24:31 |
INFO
|
order |
|
trailing_stop_engine |
[TSEM] TS stays ACTIVE with pending exit order None, will re-check each cycle |
| 03-04 10:24:22 |
WARN
|
order |
|
trailing_stop_engine |
⚠️ Trailing stop close order placed but no order_id returned |
| 03-04 10:24:22 |
INFO
|
order |
|
trailing_stop_engine |
🔴 Tiger limit order placed for TSEM: {'order_id': None, 'status': None} |
| 03-04 10:24:21 |
INFO
|
order |
|
trailing_stop_engine |
📅 Limit order: outside_rth=True, time_in_force=DAY (Paper) |
| 03-04 10:24:21 |
INFO
|
position |
|
trailing_stop_engine |
🔴 盘前盘后 → 使用限价单: symbol=TSEM, side=BUY, quantity=98, limit=$128.88 |
| 03-04 10:24:21 |
INFO
|
order |
|
trailing_stop_engine |
🔴 Tiger close order: symbol=TSEM, side=BUY, quantity=98, trigger_price=128.24 |
| 03-04 10:24:21 |
INFO
|
position |
|
trailing_stop_engine |
✅ TSEM 确认仓位存在,方向=空仓,数量: 98 |
| 03-04 10:24:21 |
INFO
|
position |
|
tiger_client |
Position: TSEM, Qty: -98, Cost: 127.5822 |
| 03-04 10:24:21 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: TSEM |
| 03-04 10:24:21 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for TSEM |
| 03-04 10:24:21 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for TSEM |
| 03-04 10:24:20 |
INFO
|
order |
|
trailing_stop_engine |
🔔 [PAPER] TSEM stop breached and no OCA protection (no_active_oca_group), proceeding with software exit. |