init
This commit is contained in:
@@ -316,14 +316,14 @@ class AnalyzerSqlite:
|
|||||||
if item['business_profits'] > 0:
|
if item['business_profits'] > 0:
|
||||||
check = True
|
check = True
|
||||||
|
|
||||||
if check:
|
#if check:
|
||||||
fig = self.draw(stock)
|
fig = self.draw(stock)
|
||||||
title = "%s (%s), %d, %s 차트 (<a href=\"https://alphasquare.co.kr/home/stock/financial-information?code=%s\">URL1</a>, <a href=\"https://www.tradingview.com/chart/jJ8zOXz0/?symbol=KRX:%s\">URL2</a>, <a href=\"https://www.investing.com/search/?q=%s\">URL3</a>)" % (NAME, CODE, stock['close'][0], dir_name, CODE, CODE, CODE)
|
title = "%s (%s), %d, %s 차트 (<a href=\"https://alphasquare.co.kr/home/stock/financial-information?code=%s\">URL1</a>, <a href=\"https://www.tradingview.com/chart/jJ8zOXz0/?symbol=KRX:%s\">URL2</a>, <a href=\"https://www.investing.com/search/?q=%s\">URL3</a>)" % (NAME, CODE, stock['close'][0], dir_name, CODE, CODE, CODE)
|
||||||
fig['layout'].update(title=title)
|
fig['layout'].update(title=title)
|
||||||
|
|
||||||
fileName = self.outPath + "/" + dir_name
|
fileName = self.outPath + "/" + dir_name
|
||||||
fileName = "%s/%s_%s_%s_%s_%s.html" % (fileName, datetime.today().strftime("%Y%m%d"), state, top, NAME.replace(" ", ""), CODE)
|
fileName = "%s/%s_%s_%s_%s_%s.html" % (fileName, datetime.today().strftime("%Y%m%d"), state, top, NAME.replace(" ", ""), CODE)
|
||||||
po.write_html(fig, file=fileName, auto_open=False)
|
po.write_html(fig, file=fileName, auto_open=False)
|
||||||
return
|
return
|
||||||
|
|
||||||
def checkVolume(self, p_volume, volume):
|
def checkVolume(self, p_volume, volume):
|
||||||
|
|||||||
Reference in New Issue
Block a user