init
This commit is contained in:
@@ -754,12 +754,12 @@ class AnalyzerSqlite:
|
|||||||
self.writeFile(type, CODE, NAME, top, stock, state)
|
self.writeFile(type, CODE, NAME, top, stock, state)
|
||||||
|
|
||||||
if len(close) > 60:
|
if len(close) > 60:
|
||||||
if bolingerband_lower[0] is not None and close[0] < bolingerband_lower[0] * 1.1:
|
if bolingerband_lower[0] is not None and close[0] <= bolingerband_lower[0]:
|
||||||
type = "9_bolingerband 하단 근접 매수"
|
type = "9_bolingerband 하단 근접 매수"
|
||||||
self.writeFile(type, CODE, NAME, top, stock, state)
|
self.writeFile(type, CODE, NAME, top, stock, state)
|
||||||
|
|
||||||
if len(close) > 60:
|
if len(close) > 60:
|
||||||
if bolingerband_upper[0] is not None and close[0] > bolingerband_upper[0] * 0.9:
|
if bolingerband_upper[0] is not None and close[0] >= bolingerband_upper[0]:
|
||||||
type = "-9_bolingerband 상단 근접 매도"
|
type = "-9_bolingerband 상단 근접 매도"
|
||||||
self.writeFile(type, CODE, NAME, top, stock, state)
|
self.writeFile(type, CODE, NAME, top, stock, state)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user