init
This commit is contained in:
@@ -387,7 +387,8 @@ class AnalyzerSqlite:
|
||||
self.makeDir("0_260일 위치 에너지가 10% 미만")
|
||||
self.makeDir("0_260일 가격 반토막 이상")
|
||||
self.makeDir("0_240일선 아래")
|
||||
self.makeDir("1_기준선 위 전환선")
|
||||
self.makeDir("1_기준선 위 전환선 올라옴")
|
||||
self.makeDir("1_기준선 위 120일선 올라옴")
|
||||
self.makeDir("1_240일선 돌파")
|
||||
self.makeDir("1_20일선 돌파")
|
||||
self.makeDir("1_60일선 돌파")
|
||||
@@ -527,13 +528,22 @@ class AnalyzerSqlite:
|
||||
type = "0_240일선 아래"
|
||||
self.writeFile(type, CODE, NAME, stock, state)
|
||||
|
||||
# 기준선 위 전환선
|
||||
# 기준선 위 전환선 올라옴
|
||||
if len(close) > 50:
|
||||
if ((ichimokucloud_changeLine[0] > ichimokucloud_baseLine[0] and
|
||||
ichimokucloud_changeLine[1] < ichimokucloud_baseLine[1] and
|
||||
ichimokucloud_changeLine[2] < ichimokucloud_baseLine[2]) and
|
||||
volume[0] > volume[1]):
|
||||
type = "1_기준선 위 전환선"
|
||||
type = "1_기준선 위 전환선 올라옴"
|
||||
self.writeFile(type, CODE, NAME, stock, state)
|
||||
|
||||
# "1_기준선 위 120일선 올라옴"
|
||||
if len(close) > 50:
|
||||
if ((avg120[0] > ichimokucloud_baseLine[0] and
|
||||
avg120[1] < ichimokucloud_baseLine[1] and
|
||||
avg120[2] < ichimokucloud_baseLine[2]) and
|
||||
volume[0] > volume[1]):
|
||||
type = "1_기준선 위 120일선 올라옴"
|
||||
self.writeFile(type, CODE, NAME, stock, state)
|
||||
|
||||
# 종가가 240일선 돌파
|
||||
|
||||
Reference in New Issue
Block a user