| 04-22 19:54:14 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:54:13 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:52:59 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:52:58 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:51:44 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:51:43 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:50:27 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:50:26 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:49:14 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:49:13 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:47:59 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:47:58 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:46:47 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:46:46 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:45:36 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:45:35 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:44:12 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:44:11 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:43:00 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:42:59 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:41:49 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:41:48 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:40:31 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:40:30 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:39:20 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:39:19 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:38:10 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:38:09 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:36:59 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:36:58 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:35:37 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:35:36 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:34:25 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:34:24 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:33:14 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:33:13 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:32:02 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:32:02 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:30:50 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:30:49 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:29:22 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:29:21 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:28:10 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:28:09 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:26:59 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:26:58 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:25:42 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:25:41 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:24:30 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:24:29 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:23:08 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:23:07 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:21:57 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:21:56 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:20:40 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:20:39 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:19:29 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:19:28 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:18:17 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:18:16 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:17:06 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:17:05 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:15:54 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:15:53 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:14:36 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:14:35 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:13:25 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:13:23 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:12:11 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:12:09 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:10:54 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:10:51 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:09:36 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:09:34 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:08:25 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:08:23 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:07:13 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:07:11 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:05:53 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:05:51 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:04:39 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:04:37 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:03:26 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:03:24 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:02:13 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:02:11 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:01:00 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:00:58 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 19:00:32 |
ERROR
|
order |
|
routes |
📝 [PAPER] Critical error in webhook: 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.ForeignKeyViolation) insert or update on table "signal_log" violates foreign key constraint "signal_log_trade_id_fkey"
DETAIL: Key (trade_id)=(13901) is not present in table "trade".
[SQL: INSERT INTO signal_log (id, raw_signal, parsed_successfully, error_message, ip_address, created_at, trade_id, endpoint, account_type, tiger_status, tiger_order_id, tiger_response, ml_quality_score, ml_grade, ml_model_used, ml_prob_loss, ml_prob_big_win) VALUES (%(id)s, %(raw_signal)s, %(parsed_successfully)s, %(error_message)s, %(ip_address)s, %(created_at)s, %(trade_id)s, %(endpoint)s, %(account_type)s, %(tiger_status)s, %(tiger_order_id)s, %(tiger_response)s, %(ml_quality_score)s, %(ml_grade)s, %(ml_model_used)s, %(ml_prob_loss)s, %(ml_prob_big_win)s)]
[parameters: {'id': 31497, 'raw_signal': '{"data":{"ETFQTY":"1000","obData":"Timeframe: ; Bullish OB: 12.98 - 12.98; Bearish OB: 12.98 - 12.98","symbol":"TSLL","MAtrend":"-1","pmaText":"PMA B ... (3603 characters truncated) ... I=-29.26 > -38.5 (避免超卖)"},"tsi_value":-29.263694732173796},"htf_mismatch":true},"signal_type":"filtered","forwarded_at":"2026-04-22T19:00:27.488538"}', 'parsed_successfully': True, 'error_message': None, 'ip_address': '45.32.178.91', 'created_at': datetime.datetime(2026, 4, 22, 19, 0, 29, 505063), 'trade_id': 13901, 'endpoint': '/webhook_paper', 'account_type': 'paper', 'tiger_status': 'success', 'tiger_order_id': '42989679983608832', 'tiger_response': '{\n "success": true,\n "order_id": "42989679983608832"\n}', 'ml_quality_score': -0.1036, 'ml_grade': 'bearish', 'ml_model_used': 'short', 'ml_prob_loss': 0.4559, 'ml_prob_big_win': 0.0069}]
(Background on this error at: https://sqlalche.me/e/20/gkpj) (Background on this error at: https://sqlalche.me/e/20/7s2a) |
| 04-22 19:00:32 |
ERROR
|
order |
|
routes |
📝 [PAPER] Error processing signal: (psycopg2.errors.ForeignKeyViolation) insert or update on table "signal_log" violates foreign key constraint "signal_log_trade_id_fkey"
DETAIL: Key (trade_id)=(13901) is not present in table "trade".
[SQL: INSERT INTO signal_log (id, raw_signal, parsed_successfully, error_message, ip_address, created_at, trade_id, endpoint, account_type, tiger_status, tiger_order_id, tiger_response, ml_quality_score, ml_grade, ml_model_used, ml_prob_loss, ml_prob_big_win) VALUES (%(id)s, %(raw_signal)s, %(parsed_successfully)s, %(error_message)s, %(ip_address)s, %(created_at)s, %(trade_id)s, %(endpoint)s, %(account_type)s, %(tiger_status)s, %(tiger_order_id)s, %(tiger_response)s, %(ml_quality_score)s, %(ml_grade)s, %(ml_model_used)s, %(ml_prob_loss)s, %(ml_prob_big_win)s)]
[parameters: {'id': 31497, 'raw_signal': '{"data":{"ETFQTY":"1000","obData":"Timeframe: ; Bullish OB: 12.98 - 12.98; Bearish OB: 12.98 - 12.98","symbol":"TSLL","MAtrend":"-1","pmaText":"PMA B ... (3603 characters truncated) ... I=-29.26 > -38.5 (避免超卖)"},"tsi_value":-29.263694732173796},"htf_mismatch":true},"signal_type":"filtered","forwarded_at":"2026-04-22T19:00:27.488538"}', 'parsed_successfully': True, 'error_message': None, 'ip_address': '45.32.178.91', 'created_at': datetime.datetime(2026, 4, 22, 19, 0, 29, 505063), 'trade_id': 13901, 'endpoint': '/webhook_paper', 'account_type': 'paper', 'tiger_status': 'success', 'tiger_order_id': '42989679983608832', 'tiger_response': '{\n "success": true,\n "order_id": "42989679983608832"\n}', 'ml_quality_score': -0.1036, 'ml_grade': 'bearish', 'ml_model_used': 'short', 'ml_prob_loss': 0.4559, 'ml_prob_big_win': 0.0069}]
(Background on this error at: https://sqlalche.me/e/20/gkpj) |
| 04-22 19:00:30 |
ERROR
|
order |
|
order_tracker_service |
Error registering order 42989679983608832: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "ix_order_tracker_tiger_order_id"
DETAIL: Key (tiger_order_id)=(42989679983608832) already exists.
[SQL: INSERT INTO order_tracker (tiger_order_id, parent_order_id, symbol, account_type, role, side, quantity, order_type, limit_price, stop_price, status, filled_quantity, avg_fill_price, realized_pnl, commission, fill_time, oca_group_id, leg_role, signal_content, custom_trailing_config, signal_group_id, indicator, trade_id, trailing_stop_id, closed_position_id, position_id, signal_log_id, fill_source, created_at, updated_at) VALUES (%(tiger_order_id)s, %(parent_order_id)s, %(symbol)s, %(account_type)s, %(role)s, %(side)s, %(quantity)s, %(order_type)s, %(limit_price)s, %(stop_price)s, %(status)s, %(filled_quantity)s, %(avg_fill_price)s, %(realized_pnl)s, %(commission)s, %(fill_time)s, %(oca_group_id)s, %(leg_role)s, %(signal_content)s, %(custom_trailing_config)s, %(signal_group_id)s, %(indicator)s, %(trade_id)s, %(trailing_stop_id)s, %(closed_position_id)s, %(position_id)s, %(signal_log_id)s, %(fill_source)s, %(created_at)s, %(updated_at)s) RETURNING order_tracker.id]
[parameters: {'tiger_order_id': '42989679983608832', 'parent_order_id': None, 'symbol': 'TSLL', 'account_type': 'paper', 'role': 'ENTRY', 'side': 'SELL', 'quantity': 308.0, 'order_type': None, 'limit_price': None, 'stop_price': None, 'status': 'PENDING', 'filled_quantity': None, 'avg_fill_price': None, 'realized_pnl': None, 'commission': None, 'fill_time': None, 'oca_group_id': None, 'leg_role': None, 'signal_content': None, 'custom_trailing_config': None, 'signal_group_id': None, 'indicator': 'x snipersell vidya', 'trade_id': 13901, 'trailing_stop_id': None, 'closed_position_id': None, 'position_id': None, 'signal_log_id': 31497, 'fill_source': None, 'created_at': datetime.datetime(2026, 4, 22, 19, 0, 29, 572110), 'updated_at': datetime.datetime(2026, 4, 22, 19, 0, 29, 572119)}]
( |
| 04-22 18:59:20 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 18:59:18 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 18:58:08 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 18:58:06 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 18:56:56 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 18:56:54 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 18:55:39 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 18:55:37 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |
| 04-22 18:54:27 |
ERROR
|
order |
|
tiger_client |
Error getting order status: code=1200 msg=standard account response error(not_found:订单不存在) |