From 7e5853b480e35e4a4f1781a26fcace30158fdecf Mon Sep 17 00:00:00 2001 From: monoid Date: Wed, 1 Nov 2023 01:30:35 +0900 Subject: [PATCH] =?UTF-8?q?5=20=EC=9D=BC=EC=84=A0=20=EB=B0=98=EB=93=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gen.py | 6 +++--- pages.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gen.py b/gen.py index 24af290..2e1721d 100644 --- a/gen.py +++ b/gen.py @@ -216,6 +216,9 @@ def collect(data: DataStore, collector: OutputCollector, corp: database.KRXCorp if (d60[nday + 1] < d60[nday]): collector.collect("정배열60", corp, stock.index[nday]) + if d5[nday + 2] >= d5[nday + 1] and d5[nday + 1] <= d5[nday]: + collector.collect("60일 5일선 반등", corp, stock.index[nday]) + if (d20[nday + 1] < d20[nday]): collector.collect("정배열20", corp, stock.index[nday]) if (D240BiggerThanYesterDay): @@ -247,9 +250,6 @@ def collect(data: DataStore, collector: OutputCollector, corp: database.KRXCorp if (d45[2+nday] > d45[1+nday] and d45[1+nday] < d45[nday]): collector.collect("45일선 반등",corp, stock.index[nday]) - if(d60[10+nday] <= d60[nday]): - collector.collect("60일 10일 반등", corp, stock.index[nday]) - if(d20[2+nday] > d20[1+nday] and d20[1+nday] < d20[nday]): collector.collect("20일선 반등",corp, stock.index[nday]) diff --git a/pages.yaml b/pages.yaml index 151d6d8..da3fdb2 100644 --- a/pages.yaml +++ b/pages.yaml @@ -52,8 +52,8 @@ - name: 뭉침1% 120선 상승 description: 뭉침1% 120선 상승 -- name: 60일 10일 반등 - description: 60일선이 10일 전보다 크면 +- name: 60일 5일선 반등 + description: 60일선이 상향, 5일 반등 - name: RSI 30 이하 description: RSI 14일 이 30이하 - name: d20d5돌파