--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Sun Aug 25 01:08:48 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.46, u'09:35': -0.45, u'09:40': -0.41, u'09:45': -0.36, u'09:50': -0.63, u'09:55': -0.48, u'10:00': -0.49, u'10:05': -0.09, u'10:10': -0.26, u'10:15': -0.15, ...}, u'exchange': None, u'high': 26320.2891, u'industry': None, u'low': 25507.1797, u'marketCap': 0, u'name': u'DOW JONES', u'open': 26134.2109, u'previousClose': 26252.2402, u'sector': None, ...}, u'.inx': {u'5mins': {u'09:30': -0.47, u'09:35': -0.51, u'09:40': -0.47, u'09:45': -0.43, u'09:50': -0.72, u'09:55': -0.56, u'10:00': -0.61, u'10:05': -0.26, u'10:10': -0.39, u'10:15': -0.28, ...}, u'exchange': None, u'high': 2927.01, u'industry': None, u'low': 2834.97, u'marketCap': 0, u'name': u'S&P 500', u'open': 2911.0701, u'previousClose': 2922.95, u'sector': None, ...}, u'.ixic': {u'5mins': {u'09:30': -0.59, u'09:35': -0.58, u'09:40': -0.59, u'09:45': -0.55, u'09:50': -0.89, u'09:55': -0.84, u'10:00': -0.72, u'10:05': -0.4, u'10:10': -0.51, u'10:15': -0.4, ...}, u'exchange': None, u'high': 8005.3442, u'industry': None, u'low': 7730.7705, u'marketCap': 0, u'name': u'NASDAQ', u'open': 7943.6504, u'previousClose': 7991.3901, u'sector': None, ...}, u'42s top10': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.0, u'09:45': -0.4790000000000001, u'09:50': -0.8990000000000001, u'09:55': -1.015, u'10:00': -0.9119999999999999, u'10:05': -1.266, u'10:10': -0.8990000000000001, u'10:15': -0.677, ...}, u'marketCap': 174467741832.0}, u'42s top42': {u'5mins': {u'09:30': 0.01261904761904762, u'09:35': 0.011428571428571427, u'09:40': 0.01261904761904762, u'09:45': -0.6123809523809524, u'09:50': -0.6319047619047621, u'09:55': -0.6914285714285714, u'10:00': -0.5071428571428572, u'10:05': -0.8373809523809524, u'10:10': -0.656904761904762, u'10:15': -0.5009523809523809, ...}, u'marketCap': 1779742795230.0}, u'a': {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.98, u'09:55': -0.81, u'10:00': -0.56, u'10:05': -0.89, u'10:10': -0.89, u'10:15': -0.88, ...}, u'exchange': u'nyse', u'high': 71.67, u'industry': u'biotechnology laboratory analytical instruments', u'low': 69.25, u'marketCap': 22238060695, u'name': u'Agilent Technologies, Inc.', u'open': 71.5, u'previousClose': 71.74, u'sector': u'health care', ...}, u'aa': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.0, u'09:45': -1.25, u'09:50': -1.88, u'09:55': -2.05, u'10:00': -1.99, u'10:05': -1.99, u'10:10': -1.11, u'10:15': -0.94, ...}, u'exchange': u'nyse', u'high': 18.0, u'industry': u'aluminum', u'low': 17.31, u'marketCap': 3349439337, u'name': u'Alcoa Corporation', u'open': 17.83, u'previousClose': 18.05, u'sector': u'basic industries', ...}, u'aaba': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.0, u'09:45': -0.06, u'09:50': -0.04, u'09:55': -0.01, u'10:00': 0.0, u'10:05': -0.01, u'10:10': -0.04, u'10:15': 0.0, ...}, u'exchange': u'nasdaq', u'high': 69.58, u'industry': u'internet software services', u'low': 69.39, u'marketCap': 36120693580, u'name': u'Altaba Inc.', u'open': 69.47, u'previousClose': 69.53, u'sector': u'technology', ...}, u'aac': {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': -1.59, u'09:55': -10.32, u'10:00': -5.84, u'10:05': -6.35, u'10:10': -8.38, u'10:15': -8.0, ...}, u'exchange': u'nyse', u'high': 0.62, u'industry': u'health care facilities', u'low': 0.563, u'marketCap': 15939156, u'name': u'AAC Holdings, Inc.', u'open': 0.6, u'previousClose': 0.63, u'sector': u'health care', ...}, u'aal': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.0, u'09:45': -1.06, u'09:50': -1.73, u'09:55': -1.13, u'10:00': -1.73, u'10:05': -1.85, u'10:10': -1.51, u'10:15': -1.05, ...}, u'exchange': u'nasdaq', u'high': 26.51, u'industry': u'air freight delivery services', u'low': 25.35, u'marketCap': 11812987703, u'name': u'American Airlines Group, Inc.', u'open': 26.27, u'previousClose': 26.53, u'sector': u'transportation', ...}, ...}, symbol = 'ncs'

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