From be73e2b78857adaf006063275726b69c4c60f0d7 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 12 十月 2022 11:54:25 +0800 Subject: [PATCH] 买撤策略修改;加入报警功能 --- code_data_util.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/code_data_util.py b/code_data_util.py index de6525b..1387f1d 100644 --- a/code_data_util.py +++ b/code_data_util.py @@ -20,7 +20,7 @@ @classmethod def get(cls, code): redis = _redisManager.getRedis() - val = redis.get(code) + val = redis.get("zyltgb-{}".format(code)) if val is not None: return int(val) return None -- Gitblit v1.8.0