init
This commit is contained in:
@@ -530,6 +530,7 @@ class AnalyzerSqlite:
|
||||
98<stock_daily['disparity_avg20'][0]<102 and 98<stock_daily['disparity_avg60'][0]<102 and
|
||||
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]:
|
||||
if stock_daily['slow_k'][0] < 20 and (stock_daily['slow_k'][1] < stock_daily['slow_d'][1] and stock_daily['slow_d'][0] < stock_monthly['slow_k'][0]):
|
||||
dir_code = "14"
|
||||
dir_name = "daily_이격도"
|
||||
final_status_count += 1
|
||||
@@ -545,7 +546,7 @@ class AnalyzerSqlite:
|
||||
|
||||
location = (max(stock_daily['close'][1:c_index]) - stock_daily['close'][0]) / max(stock_daily['close'][1:c_index])
|
||||
if location > 0.6:
|
||||
if stock_daily['close'][1] < stock_daily['avg5'][1] and stock_daily['avg5'][0] < stock_daily['close'][0]:
|
||||
if stock_daily['slow_k'][0] < 20 and (stock_daily['slow_k'][1] < stock_daily['slow_d'][1] and stock_daily['slow_d'][0] < stock_monthly['slow_k'][0]):
|
||||
dir_code = "15"
|
||||
dir_name = "daily_낙폭과대"
|
||||
final_status_count += 1
|
||||
|
||||
Reference in New Issue
Block a user