From 41847c8d3af39c0c3d716e79fcd2cbdbc1fb0ee5 Mon Sep 17 00:00:00 2001 From: hmo Date: Wed, 12 Aug 2026 00:13:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=5Fget=5Fexternal=5Ffa?= =?UTF-8?q?ctors=E9=87=8D=E6=9E=84=E6=AE=8B=E7=95=99=E7=9A=84except?= =?UTF-8?q?=E5=9D=97(=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- strategy_lab.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/strategy_lab.py b/strategy_lab.py index 23b7154d..bb7f444d 100644 --- a/strategy_lab.py +++ b/strategy_lab.py @@ -756,10 +756,6 @@ def _get_external_factors(code, dt): result['news3'] = hi - lo _EXTERNAL_CACHE[key] = result return result - except Exception: - pass - _EXTERNAL_CACHE[key] = result - return result def is_hk_code(code): return len(code) == 5 and code.startswith('0')