This commit is contained in:
dsyoon
2021-02-18 02:11:56 +09:00
parent 0f224f243b
commit a229732359

View File

@@ -429,7 +429,7 @@ class Analyzer:
fig = self.draw(stock)
title = "%s (%s), %s, buy_price (%d), stochastic(%.3f), rsi(%.3f), macd(%.3f), ichimoku(%d)) 차트" % (item_name, item_code, state, buy_price, stochastic_score, rsi_score, macd_score, ichimoku_score)
fig['layout'].update(title=title)
fileName = "%s/%s_%s.html" % (outPath, state, item_name.replace(" ", ""))
fileName = "%s/%s_%.3f_%.3f_%s.html" % (outPath, state, stochastic_score, rsi_score, item_name.replace(" ", ""))
po.write_html(fig, file=fileName, auto_open=False)
else:
if RSI[last_index]['rsi_buy'] == 1 and STOCK[last_index]['volume'] > 10000: