init
This commit is contained in:
@@ -619,6 +619,9 @@ class AnalyzerSqlite:
|
||||
|
||||
def sendMsg(self, result_3_5, result_5_20, result_ichimok):
|
||||
pStr = '[Stock Analysis]\n'
|
||||
self.bot.sendMsg(pStr)
|
||||
|
||||
pStr = ''
|
||||
i = 0
|
||||
for item in result_3_5:
|
||||
pStr += " <{}> {} {} ({:.2f})\n".format(item['type'], item['ticker_code'], item['ticker_name'], item['close'])
|
||||
@@ -630,6 +633,7 @@ class AnalyzerSqlite:
|
||||
if i > 0:
|
||||
self.bot.sendMsg(pStr)
|
||||
|
||||
pStr = ''
|
||||
i = 0
|
||||
for item in result_5_20:
|
||||
pStr += " <{}> {} {} ({:.2f})\n".format(item['type'], item['ticker_code'], item['ticker_name'], item['close'])
|
||||
@@ -641,6 +645,7 @@ class AnalyzerSqlite:
|
||||
if i > 0:
|
||||
self.bot.sendMsg(pStr)
|
||||
|
||||
pStr = ''
|
||||
i = 0
|
||||
for item in result_ichimok:
|
||||
pStr += " <{}> {} {} ({:.2f})\n".format(item['type'], item['ticker_code'], item['ticker_name'], item['close'])
|
||||
|
||||
Reference in New Issue
Block a user