From cae126fafc3e5155af68c57bbfec3729e9069299 Mon Sep 17 00:00:00 2001 From: jackyu66git Date: Sat, 12 Sep 2026 02:15:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20pipeline=20MACD=20=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E4=B8=BA=E6=A0=87=E5=87=86=2012/26/9?= =?UTF-8?q?=EF=BC=88=E4=B8=8E=20web/=E4=BA=A4=E6=98=93=E6=89=80=E4=B8=80?= =?UTF-8?q?=E8=87=B4=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TF_DF.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TF_DF.py b/TF_DF.py index 28e0910..b5c9e09 100644 --- a/TF_DF.py +++ b/TF_DF.py @@ -73,8 +73,8 @@ class TF_DF(): return self.klc_list[-2] return None def add_indicators(self, df): - fast = 26 - slow = 52 + fast = 12 + slow = 26 period = 9 macd = ta.MACD(df, fastperiod=fast, slowperiod=slow, signalperiod=period) bb365 = ta.BBANDS(df, timeperiod=365, nbdevup=3.0, nbdevdn=3.0, matype=0)