--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Sun Sep 22 23:18:15 2019

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/stocksco/public_html/cgi-bin/symbol.py in ()
    993 
    994 # get the open price
=>  995 openPrice = float(fiveMinsData[symbol]['open'])
    996 
    997 # get the most-recent timestamp
openPrice undefined, builtin float = <type 'float'>, fiveMinsData = {u'.dji': {u'5mins': {u'09:30': 0.22, u'09:35': 0.22, u'09:40': 0.22, u'09:45': 0.22, u'09:50': 0.18, u'09:55': 0.23, u'10:00': 0.2, u'10:05': 0.25, u'10:10': 0.3, u'10:15': 0.27, ...}, u'exchange': None, u'high': 27194.75, u'industry': None, u'low': 26926.6797, u'marketCap': 0, u'name': u'DOW JONES', u'open': 27102.1797, u'previousClose': 27094.7891, u'sector': None, ...}, u'.inx': {u'5mins': {u'09:30': 0.29, u'09:35': 0.29, u'09:40': 0.29, u'09:45': 0.29, u'09:50': 0.21, u'09:55': 0.24, u'10:00': 0.2, u'10:05': 0.23, u'10:10': 0.28, u'10:15': 0.21, ...}, u'exchange': None, u'high': 3016.3701, u'industry': None, u'low': 2984.6799, u'marketCap': 0, u'name': u'S&P 500', u'open': 3008.4199, u'previousClose': 3006.79, u'sector': None, ...}, u'.ixic': {u'5mins': {u'09:30': 0.24, u'09:35': 0.24, u'09:40': 0.24, u'09:45': 0.24, u'09:50': 0.14, u'09:55': 0.17, u'10:00': 0.09, u'10:05': 0.12, u'10:10': 0.18, u'10:15': 0.1, ...}, u'exchange': None, u'high': 8202.8193, u'industry': None, u'low': 8086.1592, u'marketCap': 0, u'name': u'NASDAQ', u'open': 8184.8828, u'previousClose': 8182.8799, u'sector': None, ...}, u'42s top10': {u'5mins': {u'09:30': -0.022, u'09:35': 0.32, u'09:40': 0.475, u'09:45': 0.49, u'09:50': 0.36199999999999993, u'09:55': 0.434, u'10:00': 0.27699999999999997, u'10:05': 0.25899999999999995, u'10:10': 0.311, u'10:15': 0.277, ...}, u'marketCap': 934388457819.0}, u'42s top42': {u'5mins': {u'09:30': 0.16214285714285717, u'09:35': 0.516904761904762, u'09:40': 0.4859523809523809, u'09:45': 0.484047619047619, u'09:50': 0.3064285714285715, u'09:55': 0.4497619047619048, u'10:00': 0.3816666666666666, u'10:05': 0.4392857142857144, u'10:10': 0.4864285714285715, u'10:15': 0.40261904761904765, ...}, u'marketCap': 1210744034234.0}, u'a': {u'5mins': {u'09:30': 0.0, u'09:35': 0.35, u'09:40': 0.05, u'09:45': 0.26, u'09:50': 0.23, u'09:55': 0.31, u'10:00': 0.2, u'10:05': 0.31, u'10:10': 0.38, u'10:15': 0.59, ...}, u'exchange': u'nyse', u'high': 78.74, u'industry': u'biotechnology laboratory analytical instruments', u'low': 77.91, u'marketCap': 24020830547, u'name': u'Agilent Technologies, Inc.', u'open': 78.22, u'previousClose': 78.07, u'sector': u'health care', ...}, u'aa': {u'5mins': {u'09:30': 0.46, u'09:35': 0.36, u'09:40': -0.82, u'09:45': -0.82, u'09:50': -0.59, u'09:55': -0.32, u'10:00': -0.46, u'10:05': -0.62, u'10:10': -1.09, u'10:15': -0.93, ...}, u'exchange': u'nyse', u'high': 22.0964, u'industry': u'aluminum', u'low': 21.5, u'marketCap': 3950974730, u'name': u'Alcoa Corporation', u'open': 22.04, u'previousClose': 21.94, u'sector': u'basic industries', ...}, u'aaba': {u'5mins': {u'09:30': -0.07, u'09:35': -0.04, u'09:40': -0.04, u'09:45': 0.0, u'09:50': -0.04, u'09:55': -0.01, u'10:00': -0.02, u'10:05': -0.02, u'10:10': 0.07, u'10:15': 0.04, ...}, u'exchange': u'nasdaq', u'high': 70.59, u'industry': u'internet software services', u'low': 70.28, u'marketCap': 36537415333, u'name': u'Altaba Inc.', u'open': 70.32, u'previousClose': 70.43, u'sector': u'technology', ...}, u'aac': {u'5mins': {u'09:30': -0.53, u'09:35': -2.19, u'09:40': -1.25, u'09:45': -1.25, u'09:50': 0.0, u'09:55': 0.0, u'10:00': 0.0, u'10:05': 0.0, u'10:10': 0.0, u'10:15': 0.0, ...}, u'exchange': u'nyse', u'high': 0.8, u'industry': u'health care facilities', u'low': 0.755, u'marketCap': 21071665, u'name': u'AAC Holdings, Inc.', u'open': 0.7958, u'previousClose': 0.8, u'sector': u'health care', ...}, u'aal': {u'5mins': {u'09:30': -0.39, u'09:35': 0.17, u'09:40': -0.32, u'09:45': -0.04, u'09:50': -0.71, u'09:55': -0.28, u'10:00': -0.39, u'10:05': -0.46, u'10:10': -0.55, u'10:15': -0.55, ...}, u'exchange': u'nasdaq', u'high': 28.435, u'industry': u'air freight delivery services', u'low': 27.96, u'marketCap': 12789124497, u'name': u'American Airlines Group, Inc.', u'open': 28.2, u'previousClose': 28.3, u'sector': u'transportation', ...}, ...}, symbol = 'vlo'

<type 'exceptions.KeyError'>: 'vlo'
      args = ('vlo',)
      message = 'vlo'