--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Mon Jul 22 23:00:31 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': 2990.71, 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': 8218.4219, 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.015000000000000001, u'09:40': 0.24400000000000002, u'09:45': 0.12800000000000003, u'09:50': -0.023999999999999994, u'09:55': 0.056999999999999995, u'10:00': 0.23900000000000007, u'10:05': 0.172, u'10:10': 0.24800000000000005, u'10:15': 0.19900000000000004, ...}, u'marketCap': 1373319800093.0}, u'42s top42': {u'5mins': {u'09:30': 0.029523809523809525, u'09:35': 0.0661904761904762, u'09:40': 0.16595238095238096, u'09:45': 0.21166666666666664, u'09:50': 0.1930952380952381, u'09:55': 0.29738095238095236, u'10:00': 0.3295238095238096, u'10:05': 0.32619047619047625, u'10:10': 0.35476190476190483, u'10:15': 0.3297619047619048, ...}, u'marketCap': 2190316367777.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.465, 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.78, 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.88, 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 = 'nite'

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