Administrator
2025-02-06 723efd89c2e6132400d9796be2a0dd01111e6034
模拟账户修改
1个文件已修改
2 ■■■■■ 已修改文件
trade/huaxin_trade_api.py 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
trade/huaxin_trade_api.py
@@ -12,6 +12,7 @@
import requests
from log_module.log import logger_debug
from utils import socket_util, tool
__response_thread_pool = concurrent.futures.ThreadPoolExecutor(max_workers=15)
@@ -45,6 +46,7 @@
                        try:
                            # 交易回调
                            data_json = data_json["data"]
                            logger_debug.info(f"交易回调:{val}")
                            # 将交易回调传递给交易服务器
                            __response_thread_pool.submit(__send_to_trade_server, val)
                            # 记录交易反馈日志