| 03-11 15:05:25 |
INFO
|
position |
CLSK |
tiger_client |
Position: CLSK, Qty: 100, Cost: 15.593 |
| 03-11 15:05:25 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:25 |
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.6856
marketValue: 968.56
unrealizedPnl: -590.744
timestamp: 1773241525073
positionQty: 100
salableQty: 100
|
| 03-11 15:05:25 |
INFO
|
trailing_stop |
|
routes |
📝 [PAPER] No position found for PI - position may have been already closed by trailing stop or other exit |
| 03-11 15:05:25 |
WARN
|
position |
|
tiger_client |
No position found for PI at broker (API + cache + DB all returned 0/None). Aborting close to prevent opening reverse position. |
| 03-11 15:05:25 |
WARN
|
position |
|
tiger_client |
No position from Tiger API for PI, position likely already closed |
| 03-11 15:05:25 |
ERROR
|
position |
|
tiger_client |
Error getting positions: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:25 |
INFO
|
position |
|
tiger_push_client |
📊 Subscribe callback: command: MESSAGE
id: 3
code: 112
msg: "{\"code\":0,\"message\":\"success\"}"
body {
dataType: Position
}
|
| 03-11 15:05:25 |
INFO
|
order |
|
tiger_push_client |
📊 Subscribe callback: command: MESSAGE
id: 2
code: 112
msg: "{\"code\":0,\"message\":\"success\"}"
body {
dataType: OrderStatus
}
|
| 03-11 15:05:25 |
ERROR
|
error |
|
tiger_push_client |
❌ Tiger Push Client error: command: ERROR
id: 0
code: 4001
msg: "kick out by a new connection"
|
| 03-11 15:05:25 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: PI |
| 03-11 15:05:25 |
ERROR
|
order |
|
tiger_client |
Error getting open orders for PI: code=1200 msg=standard account response error(forbidden:Please try again later) |
| 03-11 15:05:25 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 03-11 15:05:24 |
INFO
|
position |
|
tiger_client |
Attempting to close position for PI, signal_side=buy |
| 03-11 15:05:24 |
INFO
|
position |
|
tiger_client |
Attempting to close position for PI with sandbox fallback, signal_side=buy, signal_quantity=1.0 |
| 03-11 15:05:24 |
ERROR
|
position |
|
tiger_client |
Error getting positions: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:24 |
INFO
|
position |
|
tiger_push_client |
📊 Subscribed to position changes for ALL accounts (request_id=3) |
| 03-11 15:05:24 |
INFO
|
order |
|
tiger_push_client |
📊 Subscribed to order changes for ALL accounts (request_id=2) |
| 03-11 15:05:24 |
INFO
|
websocket |
|
tiger_push_client |
📊 Registered WebSocket event handlers |
| 03-11 15:05:24 |
INFO
|
websocket |
|
tiger_push_client |
✅ Tiger Push Client connected successfully |
| 03-11 15:05:24 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: PI |
| 03-11 15:05:24 |
INFO
|
signal |
|
routes |
📝 [PAPER] Processing close signal for PI, side=buy |
| 03-11 15:05:24 |
INFO
|
general |
|
trailing_stop_engine |
🔄 SNDK retry cooldown expired, proceeding with attempt 2 |
| 03-11 15:05:23 |
INFO
|
general |
|
trailing_stop_engine |
🔄 HOOD retry cooldown expired, proceeding with attempt 2 |
| 03-11 15:05:23 |
INFO
|
general |
|
trailing_stop_engine |
🔄 SNDK retry cooldown expired, proceeding with attempt 2 |
| 03-11 15:05:23 |
INFO
|
trailing_stop |
|
root |
📊 Trailing stop auto-scheduler initialized |
| 03-11 15:05:23 |
INFO
|
trailing_stop |
|
trailing_stop_scheduler |
📊 Started trailing stop scheduler thread |
| 03-11 15:05:23 |
INFO
|
trailing_stop |
|
trailing_stop_scheduler |
📊 WS trailing stop trigger registered (event-driven checks active) |
| 03-11 15:05:23 |
INFO
|
general |
|
trailing_stop_engine |
🔄 HOOD retry cooldown expired, proceeding with attempt 2 |
| 03-11 15:05:23 |
INFO
|
order |
|
trailing_stop_scheduler |
[KlineScheduler] Startup backfill started in background thread (non-blocking) |
| 03-11 15:05:23 |
INFO
|
trailing_stop |
|
trailing_stop_scheduler |
📊 Trailing stop scheduler started (fast: 5s, full sync: 60s) |
| 03-11 15:05:23 |
INFO
|
order |
|
trailing_stop_scheduler |
🔧 Backfill: no matching exit data found for 79 positions |
| 03-11 15:05:22 |
INFO
|
order |
|
trailing_stop_scheduler |
🔧 Backfill: found 79 closed positions missing exit data |
| 03-11 15:05:22 |
INFO
|
general |
|
root |
📊 Database log handler initialized |
| 03-11 15:05:21 |
INFO
|
general |
|
trailing_stop_engine |
🔄 SNDK retry cooldown expired, proceeding with attempt 2 |
| 03-11 15:05:21 |
INFO
|
general |
|
trailing_stop_engine |
🔄 HOOD retry cooldown expired, proceeding with attempt 2 |
| 03-11 15:05:20 |
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.9201
marketValue: 19380.15
unrealizedPnl: -14040.2001092
timestamp: 1773241520179
positionQty: 1500
salableQty: 1500
|
| 03-11 15:05:20 |
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: 11.38
marketValue: 21622
unrealizedPnl: -10183.3900001
timestamp: 1773241520179
positionQty: 1900
salableQty: 1900
|
| 03-11 15:05:20 |
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.68
marketValue: 968
unrealizedPnl: -591.304
timestamp: 1773241520179
positionQty: 100
salableQty: 100
|
| 03-11 15:05:20 |
INFO
|
order |
|
signal_parser |
Signal parsed successfully: {'symbol': 'PI', 'is_close_signal': True, 'close_type': 'flat', 'side': 'buy', 'quantity': 1.0, 'order_type': 'market', 'reference_price': 97.99, 'trading_session': 'regular', 'outside_rth': False, 'time_in_force': 'day'} |
| 03-11 15:05:20 |
INFO
|
position |
|
signal_parser |
🔴 Detected CLOSE signal for PI (sentiment=flat, closePosition=False, rating=, close_type=flat) |
| 03-11 15:05:20 |
INFO
|
signal |
|
routes |
📝 [PAPER] Received webhook from 35.209.169.104: {"action": "buy", "extras": {"indicator": "MainTrend AI exitsell", "timeframe": "5m", "referencePrice": 97.99}, "ticker": "PI", "sentiment": "flat", "signal_type": "flat", "forwarded_at": "2026-03-11T15:05:20.515937"} |
| 03-11 15:05:19 |
INFO
|
general |
|
trailing_stop_engine |
🔄 SNDK retry cooldown expired, proceeding with attempt 2 |
| 03-11 15:05:19 |
INFO
|
general |
|
trailing_stop_engine |
🔄 HOOD retry cooldown expired, proceeding with attempt 2 |
| 03-11 15:05:18 |
INFO
|
order |
|
trailing_stop_scheduler |
- None: exit_failed_will_retry - ALAB exit order failed (code=1200 msg=standard account response error(forbidden:请稍后再试)), retry 1/5 |
| 03-11 15:05:18 |
INFO
|
general |
|
trailing_stop_scheduler |
🔄 Fast check: 1 actions taken |
| 03-11 15:05:18 |
INFO
|
general |
|
trailing_stop_engine |
🔄 SNDK retry cooldown expired, proceeding with attempt 2 |
| 03-11 15:05:18 |
INFO
|
general |
|
trailing_stop_engine |
🔄 HOOD retry cooldown expired, proceeding with attempt 2 |
| 03-11 15:05:18 |
INFO
|
order |
|
discord_notifier |
Discord通知发送成功: 🚨 **出场订单失败 (重试 1/5)**
股票: ALAB
账户: paper
错误: code=1200 msg=standard account response error(forbidden:请稍后再试)
将在60秒后自动重试 |
| 03-11 15:05:18 |
INFO
|
general |
|
trailing_stop_engine |
🔄 ALAB reactivated for retry (attempt 1/5), cooldown 60s before next attempt |
| 03-11 15:05:18 |
ERROR
|
order |
|
trailing_stop_engine |
🚨 [PAPER] ALAB exit order FAILED (attempt 1/5): code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:18 |
ERROR
|
order |
|
trailing_stop_engine |
🔴 Error placing Tiger order for ALAB: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:17 |
INFO
|
order |
|
trailing_stop_engine |
📅 Market order: outside_rth=False, time_in_force=DAY |
| 03-11 15:05:17 |
INFO
|
position |
|
trailing_stop_engine |
🔴 盘中时段 → 使用市价单: symbol=ALAB, side=BUY, quantity=441.0 |
| 03-11 15:05:17 |
INFO
|
order |
|
trailing_stop_engine |
🔴 Tiger close order: symbol=ALAB, side=BUY, quantity=441.0, trigger_price=126.51 |
| 03-11 15:05:17 |
ERROR
|
position |
|
tiger_client |
Error getting positions: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:17 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: ALAB |
| 03-11 15:05:17 |
WARN
|
order |
|
trailing_stop_engine |
⚠️ ALAB 止盈订单取消失败,继续平仓: 状态未知: UNKNOWN |
| 03-11 15:05:17 |
WARN
|
order |
|
trailing_stop_engine |
⚠️ ALAB take_profit订单状态未知(UNKNOWN),尝试继续 |
| 03-11 15:05:17 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:17 |
INFO
|
general |
|
trailing_stop_engine |
🔄 SNDK retry cooldown expired, proceeding with attempt 2 |
| 03-11 15:05:17 |
ERROR
|
order |
|
tiger_client |
Error canceling order 42510661342479361: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:17 |
INFO
|
order |
|
trailing_stop_scheduler |
🔔 WS-triggered TS: ALAB → exit_failed_will_retry - ALAB exit order failed (code=1200 msg=standard account response error(forbidden:请稍后再试)), retry 1/5 |
| 03-11 15:05:17 |
INFO
|
order |
|
discord_notifier |
Discord通知发送成功: 🚨 **出场订单失败 (重试 1/5)**
股票: ALAB
账户: paper
错误: code=1200 msg=standard account response error(forbidden:请稍后再试)
将在60秒后自动重试 |
| 03-11 15:05:17 |
INFO
|
general |
|
trailing_stop_engine |
🔄 ALAB reactivated for retry (attempt 1/5), cooldown 60s before next attempt |
| 03-11 15:05:17 |
ERROR
|
order |
|
trailing_stop_engine |
🚨 [PAPER] ALAB exit order FAILED (attempt 1/5): code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:17 |
ERROR
|
order |
|
trailing_stop_engine |
🔴 Error placing Tiger order for ALAB: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:17 |
INFO
|
general |
|
trailing_stop_engine |
🔄 HOOD retry cooldown expired, proceeding with attempt 2 |
| 03-11 15:05:16 |
ERROR
|
order |
|
tiger_client |
Error canceling order 42510661342479361: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:16 |
INFO
|
order |
|
trailing_stop_engine |
📅 Market order: outside_rth=False, time_in_force=DAY |
| 03-11 15:05:16 |
INFO
|
position |
|
trailing_stop_engine |
🔴 盘中时段 → 使用市价单: symbol=ALAB, side=BUY, quantity=441.0 |
| 03-11 15:05:16 |
INFO
|
order |
|
trailing_stop_engine |
🔴 Tiger close order: symbol=ALAB, side=BUY, quantity=441.0, trigger_price=126.51 |
| 03-11 15:05:16 |
ERROR
|
position |
|
tiger_client |
Error getting positions: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:16 |
ERROR
|
order |
|
tiger_client |
Error getting open orders for ALAB: code=1200 msg=standard account response error(forbidden:Please try again later) |
| 03-11 15:05:16 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: ALAB |
| 03-11 15:05:16 |
WARN
|
order |
|
trailing_stop_engine |
⚠️ ALAB 止盈订单取消失败,继续平仓: 状态未知: UNKNOWN |
| 03-11 15:05:16 |
WARN
|
order |
|
trailing_stop_engine |
⚠️ ALAB take_profit订单状态未知(UNKNOWN),尝试继续 |
| 03-11 15:05:16 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:16 |
WARN
|
order |
|
trailing_stop_engine |
⚠️ ALAB stop_loss订单状态未知(UNKNOWN),尝试继续 |
| 03-11 15:05:16 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:16 |
ERROR
|
order |
|
tiger_client |
Error canceling order 42510661342479361: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:16 |
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.9201
marketValue: 19380.15
unrealizedPnl: -14040.2001092
timestamp: 1773241515090
positionQty: 1500
salableQty: 1500
|
| 03-11 15:05:16 |
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: 11.385
marketValue: 21631.5
unrealizedPnl: -10173.8900001
timestamp: 1773241515090
positionQty: 1900
salableQty: 1900
|
| 03-11 15:05:16 |
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.7
marketValue: 970
unrealizedPnl: -589.304
timestamp: 1773241515090
positionQty: 100
salableQty: 100
|
| 03-11 15:05:15 |
ERROR
|
order |
|
tiger_client |
Error canceling order 42510661342479361: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:15 |
INFO
|
order |
|
trailing_stop_scheduler |
🔔 WS-triggered TS: ALAB → exit_failed_will_retry - ALAB exit order failed (code=1200 msg=standard account response error(forbidden:请稍后再试)), retry 1/5 |
| 03-11 15:05:15 |
INFO
|
order |
|
discord_notifier |
Discord通知发送成功: 🚨 **出场订单失败 (重试 1/5)**
股票: ALAB
账户: paper
错误: code=1200 msg=standard account response error(forbidden:请稍后再试)
将在60秒后自动重试 |
| 03-11 15:05:15 |
ERROR
|
order |
|
tiger_client |
Error canceling order 42511474457986048: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:15 |
ERROR
|
order |
|
tiger_client |
Error getting open orders for ALAB: code=1200 msg=standard account response error(forbidden:Please try again later) |
| 03-11 15:05:15 |
INFO
|
general |
|
trailing_stop_engine |
🔄 ALAB reactivated for retry (attempt 1/5), cooldown 60s before next attempt |
| 03-11 15:05:15 |
ERROR
|
order |
|
trailing_stop_engine |
🚨 [PAPER] ALAB exit order FAILED (attempt 1/5): code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:15 |
ERROR
|
order |
|
trailing_stop_engine |
🔴 Error placing Tiger order for ALAB: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:15 |
WARN
|
order |
|
trailing_stop_engine |
⚠️ ALAB stop_loss订单状态未知(UNKNOWN),尝试继续 |
| 03-11 15:05:15 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:15 |
INFO
|
order |
|
trailing_stop_engine |
📅 Market order: outside_rth=False, time_in_force=DAY |
| 03-11 15:05:15 |
INFO
|
position |
|
trailing_stop_engine |
🔴 盘中时段 → 使用市价单: symbol=ALAB, side=BUY, quantity=441.0 |
| 03-11 15:05:15 |
INFO
|
order |
|
trailing_stop_engine |
🔴 Tiger close order: symbol=ALAB, side=BUY, quantity=441.0, trigger_price=126.51 |
| 03-11 15:05:15 |
ERROR
|
position |
|
tiger_client |
Error getting positions: code=1200 msg=standard account response error(forbidden:请稍后再试) |
| 03-11 15:05:15 |
INFO
|
order |
|
trailing_stop_scheduler |
🔔 WS-triggered TS: ALAB → exit_failed_will_retry - ALAB exit order failed (code=1200 msg=standard account response error(forbidden:请稍后再试)), retry 1/5 |
| 03-11 15:05:15 |
INFO
|
order |
|
discord_notifier |
Discord通知发送成功: 🚨 **出场订单失败 (重试 1/5)**
股票: ALAB
账户: paper
错误: code=1200 msg=standard account response error(forbidden:请稍后再试)
将在60秒后自动重试 |