Administrator
2023-08-17 b4480ad745510c8e81c88c20fb67cb65eef79cc5
huaxin_api/trade_client.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
import json
import logging
import os
import threading
import time
@@ -12,7 +13,7 @@
from huaxin_api.log import logger
# 正式账号
from log_module.log import logger_local_huaxin_trade_debug
from log_module.log import logger_local_huaxin_trade_debug, logger_system
UserID = '388000013349'
# 登陆密码
@@ -975,6 +976,7 @@
def run(pipe_l2=None, pipe_strategy=None):
    logger_system.info("交易进程ID:", os.getpid())
    __init_trade_data_server()
    global l2pipe
    l2pipe = pipe_l2