Administrator
2023-08-28 7c9067ea601c6531a9ccf430ac033f09007b1746
虚拟设置交易时间
2个文件已修改
4 ■■■ 已修改文件
huaxin_client/l1_client.py 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
trade/huaxin/huaxin_trade_api.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
huaxin_client/l1_client.py
@@ -181,6 +181,8 @@
    # TODO 测试链路
    level1_data_dict["000969"] = (
        "000969", 9.46, 9.11, 771000*100, time.time())
    level1_data_dict["000961"] = (
        "000961", 10.29, 1.93, 2638000 * 100, time.time())
    # 等待程序结束
    while True:
trade/huaxin/huaxin_trade_api.py
@@ -76,7 +76,7 @@
# pipe的交易通道是否正常
def is_pipe_channel_normal():
    return trade_pipe_channel_error_count < 3
    return False #trade_pipe_channel_error_count < 3
# 测试交易通道