init
This commit is contained in:
@@ -735,13 +735,13 @@ class AnalyzerSqlite:
|
|||||||
|
|
||||||
if len(close) > 50:
|
if len(close) > 50:
|
||||||
if avg5[0]<avg20[0]<avg60[0]:
|
if avg5[0]<avg20[0]<avg60[0]:
|
||||||
if close[0] <= bolingerband_lower[0]:
|
if open[0] <= bolingerband_lower[0] and close[0] < bolingerband_lower[0]:
|
||||||
type = "8_저점_매수관심"
|
type = "8_저점_매수관심"
|
||||||
self.writeFile(type, CODE, NAME, top, stock, state)
|
self.writeFile(type, CODE, NAME, top, stock, state)
|
||||||
|
|
||||||
if len(close) > 50:
|
if len(close) > 50:
|
||||||
if avg5[0]<avg20[0]<avg60[0]<avg120[0]<avg240[0]:
|
if avg5[0]<avg20[0]<avg60[0]<avg120[0]<avg240[0]:
|
||||||
if close[0] <= bolingerband_lower[0]:
|
if open[0] <= bolingerband_lower[0] and close[0] < bolingerband_lower[0]:
|
||||||
type = "9_저점_매수"
|
type = "9_저점_매수"
|
||||||
self.writeFile(type, CODE, NAME, top, stock, state)
|
self.writeFile(type, CODE, NAME, top, stock, state)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user