init
This commit is contained in:
@@ -424,8 +424,7 @@ class AnalyzerSqlite:
|
||||
po.write_html(fig, file=fileName, auto_open=False)
|
||||
return
|
||||
|
||||
def checkVolume(self, p_volume, p_close, volume, close):
|
||||
if p_close < close:
|
||||
def checkVolume(self, p_volume, volume):
|
||||
if 0 < p_volume <= 10000 and p_volume * 700 < volume:
|
||||
return True
|
||||
if 10000 < p_volume <= 50000 and p_volume * 40 < volume:
|
||||
@@ -693,7 +692,8 @@ class AnalyzerSqlite:
|
||||
type = "-3_후행스팬_캔들_아래로_내려옴"
|
||||
self.writeFile(type, CODE, NAME, stock, state)
|
||||
|
||||
if len(close) > 2 and self.checkVolume(volume[1], close[1], volume[0], close[0]):
|
||||
if (len(close) > 2 and close[1] < close[0] and open[0] < close[0] and
|
||||
self.checkVolume(volume[1], volume[0])):
|
||||
type = "1_거래량_상승"
|
||||
self.writeFile(type, CODE, NAME, stock, state)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user