--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Mon Jul 22 12:57:40 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.02, u'09:35': 0.01, u'09:40': 0.11, u'09:45': 0.16, u'09:50': 0.24, u'09:55': 0.2, u'10:00': 0.12, u'10:05': 0.07, u'10:10': 0.05, u'10:15': -0.02, ...}, u'exchange': None, u'high': 27227.7695, u'industry': None, u'low': 27088.9004, u'marketCap': 0, u'name': u'DOW JONES', u'open': 27174.1797, u'previousClose': 27154.1992, u'sector': None, ...}, u'.inx': {u'5mins': {u'09:30': 0.17, u'09:35': 0.18, u'09:40': 0.22, u'09:45': 0.28, u'09:50': 0.34, u'09:55': 0.35, u'10:00': 0.31, u'10:05': 0.26, u'10:10': 0.24, u'10:15': 0.18, ...}, u'exchange': None, u'high': 2987.25, u'industry': None, u'low': 2976.6499, u'marketCap': 0, u'name': u'S&P 500', u'open': 2981.9299, u'previousClose': 2976.6101, u'sector': None, ...}, u'.ixic': {u'5mins': {u'09:30': 0.36, u'09:35': 0.41, u'09:40': 0.54, u'09:45': 0.61, u'09:50': 0.7, u'09:55': 0.73, u'10:00': 0.71, u'10:05': 0.64, u'10:10': 0.58, u'10:15': 0.51, ...}, u'exchange': None, u'high': 8208.3242, u'industry': None, u'low': 8171.5405, u'marketCap': 0, u'name': u'NASDAQ', u'open': 8171.9893, u'previousClose': 8146.4902, u'sector': None, ...}, u'42s top10': {u'5mins': {u'09:30': 0.0, u'09:35': 0.053, u'09:40': 0.22700000000000004, u'09:45': 0.166, u'09:50': 0.014000000000000007, u'09:55': 0.09700000000000002, u'10:00': 0.262, u'10:05': 0.27199999999999996, u'10:10': 0.31000000000000005, u'10:15': 0.22499999999999998, ...}, u'marketCap': 1472804429293.0}, u'42s top42': {u'5mins': {u'09:30': 0.029523809523809525, u'09:35': 0.02761904761904762, u'09:40': 0.21095238095238097, u'09:45': 0.25214285714285717, u'09:50': 0.22999999999999998, u'09:55': 0.33785714285714286, u'10:00': 0.4088095238095238, u'10:05': 0.4423809523809523, u'10:10': 0.4821428571428572, u'10:15': 0.4402380952380954, ...}, u'marketCap': 2411808072771.0}, u'a': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.31, u'09:45': 0.42, u'09:50': 0.09, u'09:55': 0.03, u'10:00': 0.39, u'10:05': 0.44, u'10:10': 0.2, u'10:15': 0.48, ...}, u'exchange': u'nyse', u'high': 69.25, u'industry': u'biotechnology laboratory analytical instruments', u'low': 68.46, u'marketCap': 21708718080.0, u'name': u'Agilent Technologies, Inc.', u'open': 68.91, u'previousClose': 68.7, u'sector': u'health care', ...}, u'aa': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.3, u'09:45': 0.48, u'09:50': 0.17, u'09:55': -0.22, u'10:00': 0.09, u'10:05': 0.13, u'10:10': -0.78, u'10:15': -1.47, ...}, u'exchange': u'nyse', u'high': 23.3901, u'industry': u'aluminum', u'low': 22.695, u'marketCap': 4287714048.0, u'name': u'Alcoa Corporation', u'open': 23.18, u'previousClose': 23.11, u'sector': u'basic industries', ...}, u'aaba': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.06, u'09:45': 0.13, u'09:50': 0.02, u'09:55': 0.23, u'10:00': 0.22, u'10:05': 0.09, u'10:10': 0.12, u'10:15': 0.09, ...}, u'exchange': u'nasdaq', u'high': 70.5059, u'industry': u'internet software services', u'low': 70.15, u'marketCap': 36502051274, u'name': u'Altaba Inc.', u'open': 70.3, u'previousClose': 70.26, u'sector': u'technology', ...}, u'aac': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 1.15, u'09:45': 1.15, u'09:50': 4.28, u'09:55': 4.28, u'10:00': 4.28, u'10:05': 5.43, u'10:10': 3.34, u'10:15': 3.38, ...}, u'exchange': u'nyse', u'high': 1.02, u'industry': u'health care facilities', u'low': 0.97, u'marketCap': 24264623, u'name': u'AAC Holdings, Inc.', u'open': 0.97, u'previousClose': 0.959, u'sector': u'health care', ...}, u'aal': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.36, u'09:45': 0.76, u'09:50': 0.33, u'09:55': 0.33, u'10:00': 0.48, u'10:05': 0.42, u'10:10': 0.39, u'10:15': -0.09, ...}, u'exchange': u'nasdaq', u'high': 33.42, u'industry': u'air freight delivery services', u'low': 32.8515, u'marketCap': 14714563017, u'name': u'American Airlines Group, Inc.', u'open': 33.22, u'previousClose': 33.08, u'sector': u'transportation', ...}, ...}, symbol = 'insy'

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