| | |
| | | except Exception as e: |
| | | logging.exception(e) |
| | | async_log_util.error(logger_l2_error, |
| | | f"参数:buy_single_index-{_buy_single_index} buy_exec_index-{_buy_exec_index}") |
| | | f"S撤出错 参数:buy_single_index-{_buy_single_index} buy_exec_index-{_buy_exec_index}") |
| | | async_log_util.exception(logger_l2_error, e) |
| | | finally: |
| | | # l2_data_log.l2_time(code, round(t.time() * 1000) - _start_time, |
| | |
| | | return b_cancel_data, "H撤销比例触发阈值" |
| | | except Exception as e: |
| | | async_log_util.error(logger_l2_error, |
| | | f"参数:buy_single_index-{_buy_single_index} buy_exec_index-{_buy_exec_index}") |
| | | f"H撤出错 参数:buy_single_index-{_buy_single_index} buy_exec_index-{_buy_exec_index}") |
| | | async_log_util.exception(logger_l2_error, e) |
| | | finally: |
| | | # l2_data_log.l2_time(code, round(t.time() * 1000) - _start_time, "已下单-H撤大单计算") |
| | |
| | | return b_cancel_data, f"L撤销比例触发阈值({extra_msg})" |
| | | except Exception as e: |
| | | async_log_util.error(logger_l2_error, |
| | | f"参数:buy_single_index-{_buy_single_index} buy_exec_index-{_buy_exec_index} 错误原因:{str(e)}") |
| | | f"L撤出错 参数:buy_single_index-{_buy_single_index} buy_exec_index-{_buy_exec_index} 错误原因:{str(e)}") |
| | | logger_l2_error.exception(e) |
| | | async_log_util.exception(logger_l2_error, e) |
| | | |
| | | raise e |
| | | finally: |
| | | # l2_data_log.l2_time(code, round(t.time() * 1000) - _start_time, "已下单-L撤大单计算") |