lohivol basic setup
This commit is contained in:
parent
206fd96dcd
commit
7874186761
@ -1964,6 +1964,18 @@ class StockTicker():
|
||||
else:
|
||||
stitchedStock = midFrame
|
||||
|
||||
try:
|
||||
if all_stocks_settings['lohivol']:
|
||||
font = ImageFont.load("./fonts/5x8.pil")
|
||||
try:
|
||||
day_low = '%.2f' % float(info['day_low'])
|
||||
day_high = '%.2f' % float(info['day_high'])
|
||||
volume = info['volume']
|
||||
except:
|
||||
pass
|
||||
except:
|
||||
pass
|
||||
|
||||
try:
|
||||
if all_stocks_settings['prepost']:
|
||||
font = ImageFont.load("./fonts/6x13.pil")
|
||||
@ -2128,7 +2140,14 @@ class StockTicker():
|
||||
pass
|
||||
|
||||
image_list.append(stitchedStock)
|
||||
|
||||
try:
|
||||
if all_stocks_settings['lohivol']:
|
||||
try:
|
||||
image_list.append(lohivol_img)
|
||||
except:
|
||||
pass
|
||||
except:
|
||||
pass
|
||||
try:
|
||||
if all_stocks_settings['prepost']:
|
||||
try:
|
||||
@ -2137,7 +2156,6 @@ class StockTicker():
|
||||
pass
|
||||
except:
|
||||
pass
|
||||
|
||||
try:
|
||||
if all_stocks_settings['chart'] and (symbol in portfolio_settings):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user