Administrator
2023-08-28 2a1e6fa771afc9120fc6a97c38a8efa85ec49f07
取消测试参数
3个文件已修改
13 ■■■■ 已修改文件
huaxin_client/l1_client.py 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
huaxin_client/tool.py 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
trade/huaxin/huaxin_trade_api.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
huaxin_client/l1_client.py
@@ -178,11 +178,11 @@
    api.Init()
    logger_system.info("L1订阅服务启动成功")
    # TODO 测试链路
    level1_data_dict["000969"] = (
        "000969", 9.46, 9.11, 771000*100, time.time())
    level1_data_dict["000961"] = (
        "000961",1.93, 10.29, 2638000 * 100, time.time())
    # 测试链路
    # level1_data_dict["000969"] = (
    #     "000969", 9.46, 9.11, 771000*100, time.time())
    # level1_data_dict["000961"] = (
    #     "000961",1.93, 10.29, 2638000 * 100, time.time())
    # 等待程序结束
    while True:
huaxin_client/tool.py
@@ -3,7 +3,6 @@
def is_trade_time():
    return True
    relative_timestamp = time.time() % (24 * 60 * 60) + 8 * 60 * 60
    start1 = 60 * 60 * 9 + 24 * 60
    end1 = 60 * 60 * 11 + 31 * 60
trade/huaxin/huaxin_trade_api.py
@@ -76,7 +76,7 @@
# pipe的交易通道是否正常
def is_pipe_channel_normal():
    return False #trade_pipe_channel_error_count < 3
    return trade_pipe_channel_error_count < 3
# 测试交易通道