| 06-09 14:19:25 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:19:20 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:19:15 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:19:10 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:19:05 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:19:00 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:18:55 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:18:50 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:18:45 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:18:40 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:18:35 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:18:30 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:18:25 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:18:20 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:18:15 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:18:10 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:18:05 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:18:00 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:17:55 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:17:50 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:17:45 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:17:40 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:17:35 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:17:30 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:17:25 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:17:20 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:17:15 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:17:10 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:17:05 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:17:00 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:16:55 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:16:50 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:16:45 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:16:40 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:16:35 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:16:30 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 14:16:25 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to close Position via no-TS fallback: unsupported format string passed to NoneType.__format__ |
| 06-09 13:58:31 |
ERROR
|
order |
|
order_tracker_service |
❌ Error in handle_fill_event for 43530886865226752: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
(psycopg2.errors.DeadlockDetected) deadlock detected
DETAIL: Process 231799 waits for ShareLock on transaction 34764001; blocked by process 230622.
Process 230622 waits for ShareLock on transaction 34764007; blocked by process 231799.
HINT: See server log for query details.
CONTEXT: while updating tuple (354,19) in relation "trailing_stop_position"
[SQL: UPDATE trailing_stop_position SET is_active=%(is_active)s, is_triggered=%(is_triggered)s, triggered_at=%(triggered_at)s, trigger_reason=%(trigger_reason)s, updated_at=%(updated_at)s WHERE trailing_stop_position.id = %(trailing_stop_position_id)s]
[parameters: {'is_active': False, 'is_triggered': True, 'triggered_at': datetime.datetime(2026, 6, 9, 13, 58, 30, 727208), 'trigger_reason': 'exit_trailing_filled', 'updated_at': datetime.datetime(2026, 6, 9, 13, 58, 30, 730477), 'trailing_stop_position_id': 7058}]
(Background on this error at: https://sqlalche.me/e/20/e3q8) (Background on this error at: https://sqlalche.me/e/20/7s2a) |
| 06-09 13:58:31 |
ERROR
|
order |
|
order_tracker_service |
Error deactivating trailing stop: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
(psycopg2.errors.DeadlockDetected) deadlock detected
DETAIL: Process 231799 waits for ShareLock on transaction 34764001; blocked by process 230622.
Process 230622 waits for ShareLock on transaction 34764007; blocked by process 231799.
HINT: See server log for query details.
CONTEXT: while updating tuple (354,19) in relation "trailing_stop_position"
[SQL: UPDATE trailing_stop_position SET is_active=%(is_active)s, is_triggered=%(is_triggered)s, triggered_at=%(triggered_at)s, trigger_reason=%(trigger_reason)s, updated_at=%(updated_at)s WHERE trailing_stop_position.id = %(trailing_stop_position_id)s]
[parameters: {'is_active': False, 'is_triggered': True, 'triggered_at': datetime.datetime(2026, 6, 9, 13, 58, 30, 727208), 'trigger_reason': 'exit_trailing_filled', 'updated_at': datetime.datetime(2026, 6, 9, 13, 58, 30, 730477), 'trailing_stop_position_id': 7058}]
(Background on this error at: https://sqlalche.me/e/20/e3q8) (Background on this error at: https://sqlalche.me/e/20/7s2a) |
| 06-09 13:53:57 |
ERROR
|
order |
|
order_tracker_service |
❌ Error in handle_fill_event for 43530850991754240: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
(psycopg2.errors.DeadlockDetected) deadlock detected
DETAIL: Process 230041 waits for ShareLock on transaction 34760425; blocked by process 230068.
Process 230068 waits for ShareLock on transaction 34760427; blocked by process 230041.
HINT: See server log for query details.
CONTEXT: while updating tuple (353,2) in relation "trailing_stop_position"
[SQL: UPDATE trailing_stop_position SET is_active=%(is_active)s, is_triggered=%(is_triggered)s, triggered_at=%(triggered_at)s, trigger_reason=%(trigger_reason)s, updated_at=%(updated_at)s WHERE trailing_stop_position.id = %(trailing_stop_position_id)s]
[parameters: {'is_active': False, 'is_triggered': True, 'triggered_at': datetime.datetime(2026, 6, 9, 13, 53, 56, 764429), 'trigger_reason': 'exit_trailing_filled', 'updated_at': datetime.datetime(2026, 6, 9, 13, 53, 56, 770765), 'trailing_stop_position_id': 7041}]
(Background on this error at: https://sqlalche.me/e/20/e3q8) (Background on this error at: https://sqlalche.me/e/20/7s2a) |
| 06-09 13:53:57 |
ERROR
|
order |
|
order_tracker_service |
Error deactivating trailing stop: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
(psycopg2.errors.DeadlockDetected) deadlock detected
DETAIL: Process 230041 waits for ShareLock on transaction 34760425; blocked by process 230068.
Process 230068 waits for ShareLock on transaction 34760427; blocked by process 230041.
HINT: See server log for query details.
CONTEXT: while updating tuple (353,2) in relation "trailing_stop_position"
[SQL: UPDATE trailing_stop_position SET is_active=%(is_active)s, is_triggered=%(is_triggered)s, triggered_at=%(triggered_at)s, trigger_reason=%(trigger_reason)s, updated_at=%(updated_at)s WHERE trailing_stop_position.id = %(trailing_stop_position_id)s]
[parameters: {'is_active': False, 'is_triggered': True, 'triggered_at': datetime.datetime(2026, 6, 9, 13, 53, 56, 764429), 'trigger_reason': 'exit_trailing_filled', 'updated_at': datetime.datetime(2026, 6, 9, 13, 53, 56, 770765), 'trailing_stop_position_id': 7041}]
(Background on this error at: https://sqlalche.me/e/20/e3q8) (Background on this error at: https://sqlalche.me/e/20/7s2a) |
| 06-09 13:30:23 |
ERROR
|
order |
SOXL |
trailing_stop_scheduler |
WS-triggered TS check failed for SOXL: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (psycopg2.errors.DeadlockDetected) deadlock detected
DETAIL: Process 221533 waits for ShareLock on transaction 34743554; blocked by process 220957.
Process 220957 waits for ShareLock on transaction 34743555; blocked by process 221533.
HINT: See server log for query details.
CONTEXT: while updating tuple (586,6) in relation "order_tracker"
[SQL: UPDATE order_tracker SET status=%(status)s, updated_at=%(updated_at)s WHERE order_tracker.id = %(order_tracker_id)s]
[parameters: {'status': 'CANCELLED', 'updated_at': datetime.datetime(2026, 6, 9, 13, 30, 22, 511734), 'order_tracker_id': 37174}]
(Background on this error at: https://sqlalche.me/e/20/e3q8) (Background on this error at: https://sqlalche.me/e/20/7s2a) |
| 06-09 13:30:23 |
ERROR
|
order |
|
trailing_stop_engine |
Error logging trailing stop event: (psycopg2.errors.DeadlockDetected) deadlock detected
DETAIL: Process 221533 waits for ShareLock on transaction 34743554; blocked by process 220957.
Process 220957 waits for ShareLock on transaction 34743555; blocked by process 221533.
HINT: See server log for query details.
CONTEXT: while updating tuple (586,6) in relation "order_tracker"
[SQL: UPDATE order_tracker SET status=%(status)s, updated_at=%(updated_at)s WHERE order_tracker.id = %(order_tracker_id)s]
[parameters: {'status': 'CANCELLED', 'updated_at': datetime.datetime(2026, 6, 9, 13, 30, 22, 511734), 'order_tracker_id': 37174}]
(Background on this error at: https://sqlalche.me/e/20/e3q8) |
| 06-09 08:16:07 |
ERROR
|
order |
|
tiger_client |
Error placing order: code=1200 msg=standard account response error(bad_request:当主订单为平仓或部分平仓时,不允许附加子订单。) |
| 06-08 14:00:33 |
ERROR
|
order |
|
order_tracker_service |
❌ Error in handle_fill_event for 43519578106773504: (psycopg2.errors.DeadlockDetected) deadlock detected
DETAIL: Process 4060950 waits for ShareLock on transaction 34257448; blocked by process 4062204.
Process 4062204 waits for ShareLock on transaction 34257459; blocked by process 4060950.
HINT: See server log for query details.
CONTEXT: while updating tuple (816,32) in relation "order_tracker"
[SQL: UPDATE order_tracker SET status=%(status)s, filled_quantity=%(filled_quantity)s, avg_fill_price=%(avg_fill_price)s, realized_pnl=%(realized_pnl)s, commission=%(commission)s, fill_time=%(fill_time)s, fill_source=%(fill_source)s, updated_at=%(updated_at)s WHERE order_tracker.id = %(order_tracker_id)s]
[parameters: {'status': 'FILLED', 'filled_quantity': 64, 'avg_fill_price': 202.96, 'realized_pnl': 0, 'commission': 3.08, 'fill_time': datetime.datetime(2026, 6, 8, 14, 0, 32, 844640), 'fill_source': 'polling_paper_entry', 'updated_at': datetime.datetime(2026, 6, 8, 14, 0, 32, 886045), 'order_tracker_id': 37073}]
(Background on this error at: https://sqlalche.me/e/20/e3q8) |
| 06-08 13:33:34 |
ERROR
|
order |
|
order_tracker_service |
❌ Error in handle_fill_event for 43519365919412224: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
(psycopg2.errors.DeadlockDetected) deadlock detected
DETAIL: Process 4054191 waits for ShareLock on transaction 34249785; blocked by process 4053766.
Process 4053766 waits for ShareLock on transaction 34249786; blocked by process 4054191.
HINT: See server log for query details.
CONTEXT: while updating tuple (347,1) in relation "trailing_stop_position"
[SQL: UPDATE trailing_stop_position SET is_active=%(is_active)s, is_triggered=%(is_triggered)s, triggered_at=%(triggered_at)s, trigger_reason=%(trigger_reason)s, updated_at=%(updated_at)s WHERE trailing_stop_position.id = %(trailing_stop_position_id)s]
[parameters: {'is_active': False, 'is_triggered': True, 'triggered_at': datetime.datetime(2026, 6, 8, 13, 33, 33, 350746), 'trigger_reason': 'exit_trailing_filled', 'updated_at': datetime.datetime(2026, 6, 8, 13, 33, 33, 352204), 'trailing_stop_position_id': 7004}]
(Background on this error at: https://sqlalche.me/e/20/e3q8) (Background on this error at: https://sqlalche.me/e/20/7s2a) |
| 06-08 13:33:34 |
ERROR
|
order |
|
order_tracker_service |
Error deactivating trailing stop: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
(psycopg2.errors.DeadlockDetected) deadlock detected
DETAIL: Process 4054191 waits for ShareLock on transaction 34249785; blocked by process 4053766.
Process 4053766 waits for ShareLock on transaction 34249786; blocked by process 4054191.
HINT: See server log for query details.
CONTEXT: while updating tuple (347,1) in relation "trailing_stop_position"
[SQL: UPDATE trailing_stop_position SET is_active=%(is_active)s, is_triggered=%(is_triggered)s, triggered_at=%(triggered_at)s, trigger_reason=%(trigger_reason)s, updated_at=%(updated_at)s WHERE trailing_stop_position.id = %(trailing_stop_position_id)s]
[parameters: {'is_active': False, 'is_triggered': True, 'triggered_at': datetime.datetime(2026, 6, 8, 13, 33, 33, 350746), 'trigger_reason': 'exit_trailing_filled', 'updated_at': datetime.datetime(2026, 6, 8, 13, 33, 33, 352204), 'trailing_stop_position_id': 7004}]
(Background on this error at: https://sqlalche.me/e/20/e3q8) (Background on this error at: https://sqlalche.me/e/20/7s2a) |
| 06-08 13:33:32 |
ERROR
|
order |
ORCX |
trailing_stop_scheduler |
WS-triggered TS check failed for ORCX: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (psycopg2.errors.DeadlockDetected) deadlock detected
DETAIL: Process 4054739 waits for ShareLock on transaction 34249768; blocked by process 4054191.
Process 4054191 waits for ShareLock on transaction 34249766; blocked by process 4054739.
HINT: See server log for query details.
CONTEXT: while updating tuple (816,11) in relation "order_tracker"
[SQL: UPDATE order_tracker SET status=%(status)s, updated_at=%(updated_at)s WHERE order_tracker.id = %(order_tracker_id)s]
[parameters: {'status': 'CANCELLED', 'updated_at': datetime.datetime(2026, 6, 8, 13, 33, 31, 771670), 'order_tracker_id': 37057}]
(Background on this error at: https://sqlalche.me/e/20/e3q8) (Background on this error at: https://sqlalche.me/e/20/7s2a) |
| 06-08 08:00:05 |
ERROR
|
position |
|
push_event_handlers |
❌ Failed to add exit leg to Position via fallback: unsupported format string passed to NoneType.__format__ |