usa 종목 ㅊ추가

This commit is contained in:
dosang.yoon
2022-03-19 17:38:36 +09:00
parent 5c620e1474
commit 20a7f43fa2
3 changed files with 91 additions and 8 deletions

View File

@@ -581,9 +581,10 @@ class AnalyzerSqlite:
self.writeFile(type, CODE, NAME, top, stock, state)
# 0_bolingerband 하단
if len(close) > 60 and bolingerband_lower[0] is not None and close[0] < bolingerband_lower[0]:
type = "참고_0_bolingerband 하단"
self.writeFile(type, CODE, NAME, top, stock, state)
if len(close) > 60:
if bolingerband_lower[0] is not None and close[0] < bolingerband_lower[0]:
type = "참고_0_bolingerband 하단"
self.writeFile(type, CODE, NAME, top, stock, state)
# 0_260일 위치 에너지가 10% 미만
if len(close) > 5 and positionalEnergy1 is not None and positionalEnergy1 < 0.1:
@@ -735,10 +736,11 @@ class AnalyzerSqlite:
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
if len(close) > 60:
if ((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 하단 돌파 상승"
self.writeFile(type, CODE, NAME, top, stock, state)
type = "7_bolingerband 하단 돌파 상승"
self.writeFile(type, CODE, NAME, top, stock, state)
if len(close) > 50:
if avg5[0]<avg20[0]<avg60[0]: