init
This commit is contained in:
@@ -596,7 +596,7 @@ class AnalyzerSqlite:
|
||||
if len(stock_daily['close']) < c_index:
|
||||
c_index = len(stock_daily['close'])
|
||||
location = (max(stock_daily['close'][1:c_index]) - stock_daily['close'][0]) / max(stock_daily['close'][1:c_index])
|
||||
if location < 0.5:
|
||||
if location > 0.5:
|
||||
type = "daily_낙폭과대"
|
||||
final_status += " " + type
|
||||
final_status_count += 1
|
||||
|
||||
Reference in New Issue
Block a user