diff --git a/stockTicker.py b/stockTicker.py index 85eabad..04837b9 100755 --- a/stockTicker.py +++ b/stockTicker.py @@ -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: