init
This commit is contained in:
@@ -486,6 +486,7 @@ class AnalyzerSqlite:
|
|||||||
if stock_monthly['envelope_lower'][0] is not None and stock_monthly['envelope_lower'][1] is not None:
|
if stock_monthly['envelope_lower'][0] is not None and stock_monthly['envelope_lower'][1] is not None:
|
||||||
# env 하단에 부딪힘
|
# env 하단에 부딪힘
|
||||||
if stock_monthly['close'][1] < stock_monthly['envelope_lower'][1] and stock_monthly['envelope_lower'][0] < stock_monthly['close'][0]:
|
if stock_monthly['close'][1] < stock_monthly['envelope_lower'][1] and stock_monthly['envelope_lower'][0] < stock_monthly['close'][0]:
|
||||||
|
if stock_daily['close'][1] < stock_daily['avg5'][1] and stock_daily['avg5'][0] < stock_daily['close'][0]:
|
||||||
dir_code = "3"
|
dir_code = "3"
|
||||||
dir_name = "monthly_EV하단위로_올라옴"
|
dir_name = "monthly_EV하단위로_올라옴"
|
||||||
final_status_count += 1
|
final_status_count += 1
|
||||||
@@ -528,6 +529,7 @@ class AnalyzerSqlite:
|
|||||||
if (98<stock_daily['disparity_avg5'][0]<102 and 98<stock_daily['disparity_avg10'][0]<102 and
|
if (98<stock_daily['disparity_avg5'][0]<102 and 98<stock_daily['disparity_avg10'][0]<102 and
|
||||||
98<stock_daily['disparity_avg20'][0]<102 and 98<stock_daily['disparity_avg60'][0]<102 and
|
98<stock_daily['disparity_avg20'][0]<102 and 98<stock_daily['disparity_avg60'][0]<102 and
|
||||||
98<stock_daily['disparity_avg120'][0]<102):
|
98<stock_daily['disparity_avg120'][0]<102):
|
||||||
|
if stock_daily['close'][1] < stock_daily['avg5'][1] and stock_daily['avg5'][0] < stock_daily['close'][0]:
|
||||||
dir_code = "14"
|
dir_code = "14"
|
||||||
dir_name = "daily_이격도"
|
dir_name = "daily_이격도"
|
||||||
final_status_count += 1
|
final_status_count += 1
|
||||||
|
|||||||
Reference in New Issue
Block a user