This commit is contained in:
dosangyoon
2022-07-26 00:20:09 +09:00
parent 61574dd9f5
commit b3dfdf19f7

View File

@@ -455,7 +455,7 @@ class AnalyzerSqlite:
if len(stock_weekly['volume']) > 6:
# BB 하단에 부딪힘
for c_index in range(1, 5):
if stock_weekly['close'][c_index] <= (stock_weekly['bolingerband_lower'][c_index+1]):
if stock_weekly['bolingerband_lower'][c_index+1] is not None and stock_weekly['close'][c_index] <= (stock_weekly['bolingerband_lower'][c_index+1]):
type = "weekly_BB하단_내려옴"
final_status += " " + type
final_status_count += 1