init
This commit is contained in:
@@ -546,6 +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['stochastic_slow_k'][0] is not None and stock_daily['stochastic_slow_k'][1] is not None and stock_daily['stochastic_slow_d'][1] is not None and stock_daily['stochastic_slow_d'][0] is not None and stock_monthly['stochastic_slow_k'][0] is not None:
|
||||
if stock_daily['stochastic_slow_k'][0] < 20 and (stock_daily['stochastic_slow_k'][1] < stock_daily['stochastic_slow_d'][1] and stock_daily['stochastic_slow_d'][0] < stock_monthly['stochastic_slow_k'][0]):
|
||||
dir_code = "15"
|
||||
dir_name = "daily_낙폭과대"
|
||||
|
||||
Reference in New Issue
Block a user