init
This commit is contained in:
@@ -394,13 +394,13 @@ class Analyzer:
|
|||||||
count = 0
|
count = 0
|
||||||
if bolingerband_score < 0.15:
|
if bolingerband_score < 0.15:
|
||||||
fileName = self.bolingerband_path
|
fileName = self.bolingerband_path
|
||||||
fileName = "%s/%d__p(%.2f)__b(%.2f)__s(%.2f)__%s__%d__%s_%s.html" % (fileName, isbuy, positionalEnergy, bolingerband_score, stochastic_score, state, buy_price, item_name.replace(" ", ""), item_code)
|
fileName = "%s/%d__b(%.2f)__p(%.2f)__s(%.2f)__%s__%d__%s_%s.html" % (fileName, isbuy, bolingerband_score, positionalEnergy, stochastic_score, state, buy_price, item_name.replace(" ", ""), item_code)
|
||||||
po.write_html(fig, file=fileName, auto_open=False)
|
po.write_html(fig, file=fileName, auto_open=False)
|
||||||
count += 1
|
count += 1
|
||||||
|
|
||||||
if stochastic_score < 15:
|
if stochastic_score < 15:
|
||||||
fileName = self.stochastic_path
|
fileName = self.stochastic_path
|
||||||
fileName = "%s/%d__p(%.2f)__b(%.2f)__s(%.2f)__%s__%d__%s_%s.html" % (fileName, isbuy, positionalEnergy, bolingerband_score, stochastic_score, state, buy_price, item_name.replace(" ", ""), item_code)
|
fileName = "%s/%d__s(%.2f)__b(%.2f)__p(%.2f)__%s__%d__%s_%s.html" % (fileName, isbuy, stochastic_score, bolingerband_score, positionalEnergy, state, buy_price, item_name.replace(" ", ""), item_code)
|
||||||
po.write_html(fig, file=fileName, auto_open=False)
|
po.write_html(fig, file=fileName, auto_open=False)
|
||||||
|
|
||||||
if positionalEnergy < 0.15:
|
if positionalEnergy < 0.15:
|
||||||
|
|||||||
Reference in New Issue
Block a user