--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Wed Jan 29 12:07:03 2020

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 ()
   1043 
   1044 # get the open price
=> 1045 openPrice = float(fiveMinsData[symbol]['open'])
   1046 
   1047 # get the most-recent timestamp
openPrice undefined, builtin float = <type 'float'>, fiveMinsData = {u'.dji': {u'5mins': {u'09:30': 0.47, u'09:35': 0.47, u'09:40': 0.47, u'09:45': 0.47, u'09:50': 0.37, u'09:55': 0.33, u'10:00': 0.19, u'10:05': 0.08, u'10:10': 0.1, u'10:15': 0.1, ...}, u'exchange': None, u'high': 28944.2402, u'industry': u'', u'low': 28728.1895, u'marketCap': u'1/28/2020 10:32:01', u'name': u'DOW JONES', u'open': 28820.5293, u'previousClose': 28722.8496, u'sector': u'', ...}, u'.inx': {u'5mins': {u'09:30': 0.37, u'09:35': 0.37, u'09:40': 0.37, u'09:45': 0.37, u'09:50': 0.23, u'09:55': 0.23, u'10:00': 0.08, u'10:05': -0.09, u'10:10': -0.05, u'10:15': -0.06, ...}, u'exchange': None, u'high': 3292.26, u'industry': u'', u'low': 3271.8899, u'marketCap': u'', u'name': u'S&P 500', u'open': 3289.46, u'previousClose': 3276.24, u'sector': u'', ...}, u'.ixic': {u'5mins': {u'09:30': 0.48, u'09:35': 0.48, u'09:40': 0.48, u'09:45': 0.48, u'09:50': 0.32, u'09:55': 0.26, u'10:00': 0.07, u'10:05': -0.13, u'10:10': -0.14, u'10:15': -0.09, ...}, u'exchange': None, u'high': 9329.1143, u'industry': u'', u'low': 9249.0361, u'marketCap': u'', u'name': u'NASDAQ', u'open': 9318.2568, u'previousClose': 9269.6797, u'sector': u'', ...}, u'42s top10': {u'5mins': {u'09:30': 0.6279999999999999, u'09:35': 0.5609999999999999, u'09:40': -0.18799999999999997, u'09:45': 0.139, u'09:50': 0.7409999999999998, u'09:55': 0.54, u'10:00': 0.17500000000000004, u'10:05': -0.683, u'10:10': -0.683, u'10:15': -0.683, ...}, u'marketCap': 9770182473.0}, u'42s top42': {u'5mins': {u'09:30': 0.6507142857142857, u'09:35': 0.7840476190476191, u'09:40': 0.39499999999999996, u'09:45': 0.489047619047619, u'09:50': 0.5292857142857142, u'09:55': 0.5654761904761905, u'10:00': 0.27928571428571436, u'10:05': -0.1480952380952381, u'10:10': -0.1480952380952381, u'10:15': -0.1480952380952381, ...}, u'marketCap': 291428663263.0}, u'a': {u'5mins': {u'09:30': 0.15, u'09:35': 0.41, u'09:40': 0.21, u'09:45': 0.42, u'09:50': 0.52, u'09:55': 0.56, u'10:00': 0.36, u'10:05': 0.52, u'10:10': 0.52, u'10:15': 0.52, ...}, u'exchange': u'nyse', u'high': 88.18, u'industry': u'biotechnology laboratory analytical instruments', u'low': 87.2977, u'marketCap': 26848381314, u'name': u'Agilent Technologies, Inc.', u'open': 87.55, u'previousClose': 87.18, u'sector': u'health care', ...}, u'aa': {u'5mins': {u'09:30': 0.88, u'09:35': 0.6, u'09:40': -0.36, u'09:45': 0.68, u'09:50': 0.58, u'09:55': 0.27, u'10:00': -0.03, u'10:05': -0.75, u'10:10': -0.75, u'10:15': -0.75, ...}, u'exchange': u'nyse', u'high': 14.8744, u'industry': u'aluminum', u'low': 14.5, u'marketCap': 2778754965, u'name': u'Alcoa Corporation', u'open': 14.83, u'previousClose': 14.71, u'sector': u'basic industries', ...}, u'aacg': {u'5mins': {u'09:30': -4.37, u'09:35': -4.37, u'09:40': -4.37, u'09:45': 0.0, u'09:50': 0.0, u'09:55': 0.0, u'10:00': 0.0, u'10:05': -3.98, u'10:10': -3.98, u'10:15': -3.98, ...}, u'exchange': u'nasdaq', u'high': 1.26, u'industry': u'other consumer services', u'low': 1.18, u'marketCap': 104938740, u'name': u'ATA Creativity Global', u'open': 1.21, u'previousClose': 1.26, u'sector': u'consumer services', ...}, u'aal': {u'5mins': {u'09:30': 0.33, u'09:35': 0.59, u'09:40': 1.41, u'09:45': 1.71, u'09:50': 1.45, u'09:55': 1.1, u'10:00': 0.58, u'10:05': 0.52, u'10:10': 0.52, u'10:15': 0.52, ...}, u'exchange': u'nasdaq', u'high': 27.49, u'industry': u'air freight delivery services', u'low': 26.81, u'marketCap': 11437143529, u'name': u'American Airlines Group, Inc.', u'open': 26.88, u'previousClose': 26.9, u'sector': u'transportation', ...}, u'aamc': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.0, u'09:45': 0.0, 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'amex', u'high': 0.0, u'industry': u'real estate services', u'low': 0.0, u'marketCap': 21352306, u'name': u'Altisource Asset Management Corp Com (CV EM)', u'open': 0.0, u'previousClose': 13.34, u'sector': u'finance', ...}, ...}, symbol = 'jec'

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