init
This commit is contained in:
@@ -513,7 +513,7 @@ class Analyzer:
|
||||
|
||||
isbuy = 0
|
||||
|
||||
if stochastic_score < 30 and bolingerband_score < 0.3:
|
||||
if stochastic_score < 20 and bolingerband_score < 0.3:
|
||||
# 종가가 240일선 아래에 있으면 매수한다.
|
||||
if isbuy > 0 and STOCK[last_index]['close'] < STOCK[last_index]['avg240']:
|
||||
isbuy = 1
|
||||
|
||||
Reference in New Issue
Block a user