| 02-18 23:28:43 |
INFO
|
order |
|
tiger_client |
Retrieved 3 filled orders |
| 02-18 23:28:43 |
INFO
|
order |
|
tiger_client |
Getting filled orders from 2026-02-17 to 2026-02-18 |
| 02-18 23:28:43 |
WARN
|
trailing_stop |
|
trailing_stop_scheduler |
⚠️ Qty mismatch for NFLX (real): DB trailing_stop=1.0, Tiger=7 |
| 02-18 23:28:43 |
ERROR
|
error |
|
tiger_client |
Error getting latest trade for NFLX: code=4 msg=4000:permission denied(Current user and device do not have permissions in the US market) |
| 02-18 23:28:43 |
WARN
|
general |
|
tiger_client |
Extended hours price not available for NFLX, falling back to briefs |
| 02-18 23:28:43 |
ERROR
|
error |
|
tiger_client |
Error getting extended hours price for NFLX: code=4 msg=4000:permission denied(Current user and device do not have permissions in the US market) |
| 02-18 23:28:43 |
INFO
|
sync |
|
trailing_stop_engine |
📊 Syncing avg cost for NFLX: 77.93 -> 78.23 |
| 02-18 23:28:43 |
ERROR
|
error |
|
tiger_client |
Error getting latest trade for NFLX: code=4 msg=4000:permission denied(Current user and device do not have permissions in the US market) |
| 02-18 23:28:43 |
WARN
|
general |
|
tiger_client |
Extended hours price not available for NFLX, falling back to briefs |
| 02-18 23:28:43 |
ERROR
|
error |
|
tiger_client |
Error getting extended hours price for NFLX: code=4 msg=4000:permission denied(Current user and device do not have permissions in the US market) |
| 02-18 23:28:43 |
INFO
|
position |
|
trailing_stop_engine |
📊 Syncing quantity for NFLX: 1.0 -> 7 |
| 02-18 23:28:43 |
INFO
|
sync |
|
trailing_stop_engine |
📊 Syncing avg cost for NFLX: 77.94 -> 77.97 |
| 02-18 23:28:43 |
INFO
|
trailing_stop |
|
trailing_stop_scheduler |
🔄 Full sync: Processing 2 active trailing stop positions (API verification) |
| 02-18 23:28:43 |
INFO
|
error |
|
trailing_stop_engine |
⚡ Paper account: API failed, using database fallback |
| 02-18 23:28:43 |
INFO
|
position |
|
trailing_stop_engine |
📦 paper: using DB holdings fallback (1 positions) |
| 02-18 23:28:43 |
ERROR
|
position |
|
tiger_client |
Error getting positions: code=1000 msg=common param error(failed to get developer information) |
| 02-18 23:28:43 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 02-18 23:28:42 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1000 msg=common param error(failed to get developer information) |
| 02-18 23:28:42 |
INFO
|
position |
|
tiger_client |
Position: NFLX, Qty: 7, Cost: 77.9651 |
| 02-18 23:28:42 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 02-18 23:28:42 |
ERROR
|
trailing_stop |
|
trailing_stop_scheduler |
Error in trailing stop fast check: 'TigerPushManager' object has no attribute 'get_adaptive_cache_max_age' |
| 02-18 23:28:42 |
ERROR
|
order |
|
tiger_client |
Error getting filled orders: code=1000 msg=common param error(failed to get developer information) |
| 02-18 23:28:42 |
INFO
|
order |
|
tiger_client |
Getting filled orders from 2026-02-17 to 2026-02-18 |
| 02-18 23:28:41 |
INFO
|
sync |
|
trailing_stop_scheduler |
📊 Reconciliation (real): entries=1, exits=0, updated=0, linked=0, ts_deactivated=0 |
| 02-18 23:28:41 |
INFO
|
order |
|
trailing_stop_scheduler |
📊 Created EntrySignalRecord for NFLX order 42278335978539008 |
| 02-18 23:28:41 |
INFO
|
order |
|
tiger_client |
Retrieved 3 filled orders |
| 02-18 23:28:41 |
INFO
|
order |
|
tiger_client |
Getting filled orders from 2026-02-17 to 2026-02-18 |
| 02-18 23:28:41 |
WARN
|
trailing_stop |
|
trailing_stop_scheduler |
⚠️ Qty mismatch for NFLX (real): DB trailing_stop=1.0, Tiger=7 |
| 02-18 23:28:41 |
ERROR
|
error |
|
tiger_client |
Error getting latest trade for NFLX: code=4 msg=4000:permission denied(Current user and device do not have permissions in the US market) |
| 02-18 23:28:40 |
WARN
|
general |
|
tiger_client |
Extended hours price not available for NFLX, falling back to briefs |
| 02-18 23:28:40 |
ERROR
|
error |
|
tiger_client |
Error getting extended hours price for NFLX: code=4 msg=4000:permission denied(Current user and device do not have permissions in the US market) |
| 02-18 23:28:40 |
INFO
|
sync |
|
trailing_stop_engine |
📊 Syncing avg cost for NFLX: 77.93 -> 78.23 |
| 02-18 23:28:40 |
ERROR
|
error |
|
tiger_client |
Error getting latest trade for NFLX: code=4 msg=4000:permission denied(Current user and device do not have permissions in the US market) |
| 02-18 23:28:40 |
WARN
|
general |
|
tiger_client |
Extended hours price not available for NFLX, falling back to briefs |
| 02-18 23:28:40 |
ERROR
|
error |
|
tiger_client |
Error getting extended hours price for NFLX: code=4 msg=4000:permission denied(Current user and device do not have permissions in the US market) |
| 02-18 23:28:40 |
INFO
|
position |
|
trailing_stop_engine |
📊 Syncing quantity for NFLX: 1.0 -> 7 |
| 02-18 23:28:40 |
INFO
|
sync |
|
trailing_stop_engine |
📊 Syncing avg cost for NFLX: 77.94 -> 77.97 |
| 02-18 23:28:40 |
INFO
|
trailing_stop |
|
trailing_stop_scheduler |
🔄 Full sync: Processing 2 active trailing stop positions (API verification) |
| 02-18 23:28:40 |
INFO
|
error |
|
trailing_stop_engine |
⚡ Paper account: API failed, using database fallback |
| 02-18 23:28:40 |
INFO
|
position |
|
trailing_stop_engine |
📦 paper: using DB holdings fallback (1 positions) |
| 02-18 23:28:40 |
ERROR
|
position |
|
tiger_client |
Error getting positions: code=1000 msg=common param error(failed to get developer information) |
| 02-18 23:28:40 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 02-18 23:28:39 |
INFO
|
position |
|
tiger_client |
Position: NFLX, Qty: 7, Cost: 77.9651 |
| 02-18 23:28:39 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: all |
| 02-18 23:28:39 |
ERROR
|
trailing_stop |
|
trailing_stop_scheduler |
Error in trailing stop fast check: 'TigerPushManager' object has no attribute 'get_adaptive_cache_max_age' |
| 02-18 23:28:37 |
ERROR
|
trailing_stop |
|
trailing_stop_scheduler |
Error in trailing stop fast check: 'TigerPushManager' object has no attribute 'get_adaptive_cache_max_age' |
| 02-18 23:28:35 |
INFO
|
order |
|
tiger_client |
Order 42277667946497024 Tiger data: avgFillPrice=77.94, filledQuantity=1, totalQuantity=1, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True |
| 02-18 23:28:35 |
INFO
|
order |
|
tiger_client |
Order 42277667946497024 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'] |
| 02-18 23:28:35 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1000 msg=common param error(failed to get developer information) |
| 02-18 23:28:34 |
INFO
|
order |
|
tiger_client |
Order 42277911787734016 Tiger data: avgFillPrice=77.9486, filledQuantity=3, totalQuantity=3, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True |
| 02-18 23:28:34 |
INFO
|
order |
|
tiger_client |
Order 42277911787734016 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'] |
| 02-18 23:28:34 |
INFO
|
order |
|
tiger_client |
Order 42278335978539008 Tiger data: avgFillPrice=77.99, filledQuantity=3, totalQuantity=3, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True |
| 02-18 23:28:34 |
INFO
|
order |
|
tiger_client |
Order 42278335978539008 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'] |
| 02-18 23:28:34 |
ERROR
|
trailing_stop |
|
trailing_stop_scheduler |
Error in trailing stop fast check: 'TigerPushManager' object has no attribute 'get_adaptive_cache_max_age' |
| 02-18 23:28:32 |
ERROR
|
trailing_stop |
|
trailing_stop_scheduler |
Error in trailing stop fast check: 'TigerPushManager' object has no attribute 'get_adaptive_cache_max_age' |
| 02-18 23:28:29 |
ERROR
|
trailing_stop |
|
trailing_stop_scheduler |
Error in trailing stop fast check: 'TigerPushManager' object has no attribute 'get_adaptive_cache_max_age' |
| 02-18 23:28:27 |
INFO
|
order |
|
routes |
Discord notification sent with real Tiger data: filled, price: 77.99 |
| 02-18 23:28:27 |
ERROR
|
trailing_stop |
|
trailing_stop_scheduler |
Error in trailing stop fast check: 'TigerPushManager' object has no attribute 'get_adaptive_cache_max_age' |
| 02-18 23:28:27 |
INFO
|
order |
|
routes |
📊 Entry fill processed via OrderTracker: already_filled |
| 02-18 23:28:27 |
ERROR
|
order |
|
routes |
Failed to apply auto-protection: failed: Failed to create any protection orders |
| 02-18 23:28:27 |
ERROR
|
order |
|
oca_service |
Failed to create OCA protection: Failed to create any protection orders |
| 02-18 23:28:27 |
INFO
|
order |
|
tiger_client |
OCA group 'NFLX-1771457306' creation completed with 0 orders |
| 02-18 23:28:27 |
ERROR
|
trailing_stop |
|
tiger_client |
Fallback take profit failed: code=1200 msg=standard account response error(bad_request:当前时段不支持下单) |
| 02-18 23:28:27 |
ERROR
|
trailing_stop |
|
tiger_client |
Fallback stop loss failed: code=1200 msg=standard account response error(bad_request:当前时段不支持下单) |
| 02-18 23:28:27 |
INFO
|
order |
|
tiger_client |
Falling back to individual orders |
| 02-18 23:28:27 |
ERROR
|
order |
|
tiger_client |
OCA creation failed: ApiException: code=1200 msg=standard account response error(bad_request:当前时段不支持下单) |
| 02-18 23:28:26 |
INFO
|
order |
|
tiger_client |
OCA TP leg: price=$86.0, outside_rth=True |
| 02-18 23:28:26 |
INFO
|
order |
|
tiger_client |
OCA stop leg: trigger=$76.0, limit=$75.62, outside_rth=True |
| 02-18 23:28:26 |
INFO
|
order |
|
tiger_client |
Real account: TIF=GTC, both orders outside_rth=True |
| 02-18 23:28:26 |
INFO
|
order |
|
tiger_client |
Cancelled existing orders for NFLX |
| 02-18 23:28:26 |
INFO
|
order |
|
tiger_client |
No open orders found for NFLX |
| 02-18 23:28:26 |
INFO
|
order |
|
tiger_client |
Retrieved 0 open orders for NFLX |
| 02-18 23:28:26 |
INFO
|
order |
|
tiger_client |
Creating OCA orders for LONG position: 7 shares of NFLX |
| 02-18 23:28:26 |
INFO
|
position |
|
tiger_client |
Skipping position check for NFLX, using provided side=long, qty=7 |
| 02-18 23:28:26 |
INFO
|
position |
|
tiger_client |
Position: NFLX, Qty: 7, Cost: 77.9651 |
| 02-18 23:28:26 |
INFO
|
position |
|
tiger_client |
Getting positions for symbol: NFLX |
| 02-18 23:28:26 |
INFO
|
order |
|
routes |
Applying OCA protection for NFLX via create_oca_protection (dedup-safe) |
| 02-18 23:28:26 |
INFO
|
order |
|
routes |
Order 42278335978539008 filled, applying auto-protection for position increase |
| 02-18 23:28:26 |
INFO
|
order |
|
tiger_client |
Order 42278335978539008 Tiger data: avgFillPrice=77.99, filledQuantity=3, totalQuantity=3, realizedPnl=0, commission=0, reason=, order_type=LMT, outside_rth=True |
| 02-18 23:28:26 |
INFO
|
order |
|
tiger_client |
Order 42278335978539008 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'] |
| 02-18 23:28:25 |
INFO
|
order |
|
push_event_handlers |
✅ WebSocket fill routed via OrderTracker: 42278335978539008 → filled |
| 02-18 23:28:25 |
WARN
|
signal |
|
discord_notifier |
Discord TTS webhook URL未配置,语音通知将被禁用 |
| 02-18 23:28:25 |
WARN
|
signal |
|
discord_notifier |
Discord webhook URL未配置,格式化通知将被禁用 |
| 02-18 23:28:25 |
INFO
|
order |
|
order_tracker_service |
📦 Entry fill → Position updated: NFLX 3@$77.99 |
| 02-18 23:28:25 |
INFO
|
order |
|
order_tracker_service |
📋 Order 42278335978539008 FILLED (source=websocket): NFLX entry qty=3 price=$77.99 pnl=$0.00 |
| 02-18 23:28:25 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: NFLX BUY status=FILLED filled=3 @ $77.99 |
| 02-18 23:28:25 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42278335978539008
account: "41592544"
symbol: "NFLX"
identifier: "NFLX"
multiplier: 1
action: "BUY"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "LMT"
isLong: true
totalQuantity: 3
filledQuantity: 3
avgFillPrice: 77.99
limitPrice: 78
status: "FILLED"
replaceStatus: "NONE"
cancelStatus: "NONE"
outsideRth: true
name: "奈飞"
source: "OpenAPI"
openTime: 1771457305000
timestamp: 1771457305554
timeInForce: "DAY"
|
| 02-18 23:28:25 |
INFO
|
order |
|
push_event_handlers |
📋 WebSocket order event: NFLX BUY status=HELD filled=3 @ $0 |
| 02-18 23:28:25 |
INFO
|
order |
|
tiger_push_client |
📋 Order update received: id: 42278335978539008
account: "41592544"
symbol: "NFLX"
identifier: "NFLX"
multiplier: 1
action: "BUY"
market: "US"
currency: "USD"
segType: "S"
secType: "STK"
orderType: "LMT"
isLong: true
totalQuantity: 3
limitPrice: 78
status: "HELD"
replaceStatus: "NONE"
cancelStatus: "NONE"
outsideRth: true
canModify: true
canCancel: true
name: "奈飞"
source: "OpenAPI"
openTime: 1771457305000
timestamp: 1771457305441
timeInForce: "DAY"
|
| 02-18 23:28:25 |
INFO
|
order |
|
routes |
Order placed successfully: 42278335978539008 |
| 02-18 23:28:25 |
INFO
|
order |
|
routes |
Order requires auto-protection after execution: NFLX |
| 02-18 23:28:25 |
INFO
|
order |
|
order_tracker_service |
📋 Registered order 42278335978539008: NFLX entry (real) |
| 02-18 23:28:25 |
INFO
|
order |
|
tiger_client |
Position increase order placed successfully. Protection info saved for later application. |
| 02-18 23:28:25 |
INFO
|
order |
|
tiger_client |
Order placed successfully: 42278335978539008 |
| 02-18 23:28:25 |
INFO
|
order |
|
tiger_client |
Position increase detected: will place main order without attachments, then set protection for entire position |
| 02-18 23:28:25 |
INFO
|
order |
|
tiger_client |
No open orders found for NFLX, proceeding with position increase |
| 02-18 23:28:25 |
INFO
|
order |
|
tiger_client |
Position increase detected for NFLX. Checking for existing orders to cancel... |
| 02-18 23:28:25 |
INFO
|
position |
|
tiger_client |
✅ Detected LONG position increase: current 4 shares, adding 3.0 shares |
| 02-18 23:28:25 |
INFO
|
position |
|
tiger_client |
🧮 Position increase logic check: current_qty=4, action=BUY |
| 02-18 23:28:25 |
INFO
|
position |
|
tiger_client |
📋 Current position for NFLX: quantity=4, cost=77.9465, value=311.954 |