This commit is contained in:
dosang.yoon
2022-02-27 18:48:35 +09:00
parent dc10c1b995
commit 5c620e1474

View File

@@ -421,12 +421,14 @@ class AnalyzerSqlite:
self.makeDir("1_거래량_상승")
self.makeDir("1_코로나_근접")
self.makeDir("5_거래량 10배 이상")
self.makeDir("6_정배열")
self.makeDir("4_정배열")
self.makeDir("5_거래량 7배 이상_120일선_위_기준선")
self.makeDir("6_거래량 7배 이상_20일선_위_기준선")
self.makeDir("7_bolingerband 하단 돌파 상승")
self.makeDir("8_저점_매수관심")
self.makeDir("9_저점_매수")
return
def writeFile(self, type, CODE, NAME, top, stock, state):
@@ -716,16 +718,23 @@ class AnalyzerSqlite:
type = "1_코로나_근접"
self.writeFile(type, CODE, NAME, top, stock, state)
if len(volume)>2 and volume[0] > volume[1]*10:
type = "5_거래량 10배 이상"
self.writeFile(type, CODE, NAME, top, stock, state)
right_arrange = self.common.check_RightArrange(stock)
if right_arrange != "":
type = "6_정배열"
type = "4_정배열"
self.writeFile(type, CODE, NAME, top, stock, state)
if len(volume)>2:
if volume[0] > volume[1]*7:
if avg120[0] < ichimokucloud_baseLine[0]:
type = "5_거래량 7배 이상_120일선_위_기준선"
self.writeFile(type, CODE, NAME, top, stock, state)
if len(volume)>2:
if volume[0] > volume[1]*7:
if avg20[0] < ichimokucloud_baseLine[0]:
type = "6_거래량 7배 이상_20일선_위_기준선"
self.writeFile(type, CODE, NAME, top, stock, state)
if (len(close) > 60 and (bolingerband_lower[0] is not None and bolingerband_lower[1] is not None) and
close[0] > bolingerband_lower[0] and close[1] < bolingerband_lower[1]):
type = "7_bolingerband 하단 돌파 상승"