From 2a1e6fa771afc9120fc6a97c38a8efa85ec49f07 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期一, 28 八月 2023 17:51:57 +0800
Subject: [PATCH] 取消测试参数

---
 huaxin_client/tool.py            |    1 -
 trade/huaxin/huaxin_trade_api.py |    2 +-
 huaxin_client/l1_client.py       |   10 +++++-----
 3 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/huaxin_client/l1_client.py b/huaxin_client/l1_client.py
index bc3ea73..ddf4d6b 100644
--- a/huaxin_client/l1_client.py
+++ b/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:
diff --git a/huaxin_client/tool.py b/huaxin_client/tool.py
index 3ab4ea2..cb1a4e0 100644
--- a/huaxin_client/tool.py
+++ b/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
diff --git a/trade/huaxin/huaxin_trade_api.py b/trade/huaxin/huaxin_trade_api.py
index 07f7e33..907e197 100644
--- a/trade/huaxin/huaxin_trade_api.py
+++ b/trade/huaxin/huaxin_trade_api.py
@@ -76,7 +76,7 @@
 
 # pipe鐨勪氦鏄撻�氶亾鏄惁姝e父
 def is_pipe_channel_normal():
-    return False #trade_pipe_channel_error_count < 3
+    return trade_pipe_channel_error_count < 3
 
 
 # 娴嬭瘯浜ゆ槗閫氶亾

--
Gitblit v1.8.0