From 892b50e242e3c59a738b92dfdfee1bf1ff8932f2 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 21 十月 2022 16:59:58 +0800
Subject: [PATCH] 新策略修改

---
 alert_util.py |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/alert_util.py b/alert_util.py
index f12cac2..5646f23 100644
--- a/alert_util.py
+++ b/alert_util.py
@@ -4,9 +4,15 @@
 
 
 # 鎶ヨ
+import tool
+
+
 def alarm():
-    AlertUtil().stop_audio()
-    AlertUtil().play_audio()
+    if not tool.is_trade_time():
+        return
+    # TODO 鏆傛椂鍏抽棴鎶ヨ
+    # AlertUtil().stop_audio()
+    # AlertUtil().play_audio()
 
 
 class AlertUtil:

--
Gitblit v1.8.0