--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Fri Apr 26 11:49:43 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:40': -0.1, u'09:45': -0.11, u'09:50': -0.2, u'09:55': -0.19, u'10:10': -0.2, u'10:15': -0.18, u'10:20': -0.08, u'10:25': -0.02, u'10:30': 0.02, u'10:35': 0.0, ...}, u'exchange': None, u'high': 26497.25, u'industry': None, u'low': 26392.5508, u'marketCap': 0, u'name': u'DOW JONES', u'open': 26454.6191, u'previousClose': 26462.0801, u'sector': None, ...}, u'.inx': {u'5mins': {u'09:40': -0.14, u'09:45': -0.08, u'09:50': -0.22, u'09:55': -0.21, u'10:10': -0.17, u'10:15': -0.13, u'10:20': -0.02, u'10:25': -0.0, u'10:30': 0.04, u'10:35': 0.01, ...}, u'exchange': None, u'high': 2931.8301, u'industry': None, u'low': 2917.5601, u'marketCap': 0, u'name': u'S&P 500', u'open': 2925.8101, u'previousClose': 2926.1699, u'sector': None, ...}, u'.ixic': {u'5mins': {u'09:40': -0.52, u'09:45': -0.39, u'09:50': -0.59, u'09:55': -0.59, u'10:10': -0.45, u'10:15': -0.39, u'10:20': -0.3, u'10:25': -0.33, u'10:30': -0.27, u'10:35': -0.31, ...}, u'exchange': None, u'high': 8117.875, u'industry': None, u'low': 8060.8936, u'marketCap': 0, u'name': u'NASDAQ', u'open': 8100.2788, u'previousClose': 8118.6802, u'sector': None, ...}, u'42s top10': {u'5mins': {u'09:40': -0.141, u'09:45': -0.04000000000000002, u'09:50': 0.012000000000000031, u'09:55': 0.013000000000000025, u'10:10': 0.10200000000000004, u'10:15': 0.439, u'10:20': 0.539, u'10:25': 0.45899999999999996, u'10:30': 0.6629999999999999, u'10:35': 0.643, ...}, u'marketCap': 288026641051.0}, u'42s top42': {u'5mins': {u'09:40': -0.42166666666666675, u'09:45': -0.2864285714285715, u'09:50': -0.4411904761904761, u'09:55': -0.4054761904761905, u'10:10': -0.5621428571428572, u'10:15': -0.38833333333333336, u'10:20': -0.33595238095238095, u'10:25': -0.3914285714285713, u'10:30': -0.3435714285714285, u'10:35': -0.3419047619047618, ...}, u'marketCap': 1583880013443.0}, u'a': {u'5mins': {u'09:40': 0.09, u'09:45': -0.07, u'09:50': -0.4, u'09:55': -0.31, u'10:10': -0.47, u'10:15': -0.14, u'10:20': -0.29, u'10:25': -0.47, u'10:30': 0.21, u'10:35': 0.4, ...}, u'exchange': u'nyse', u'high': 77.12, u'industry': u'biotechnology laboratory analytical instruments', u'low': 76.3, u'marketCap': 23951425145, u'name': u'Agilent Technologies, Inc. Common Stock', u'open': 76.98, u'previousClose': 76.72, u'sector': u'health care', ...}, u'aa': {u'5mins': {u'09:40': -0.26, u'09:45': 0.27, u'09:50': -0.04, u'09:55': -0.26, u'10:10': -0.33, u'10:15': -0.3, u'10:20': -0.26, u'10:25': -0.33, u'10:30': 0.15, u'10:35': -0.12, ...}, u'exchange': u'nyse', u'high': 27.25, u'industry': u'aluminum', u'low': 26.86, u'marketCap': 5137157998, u'name': u'Alcoa Corporation Common Stock', u'open': 27.05, u'previousClose': 27.11, u'sector': u'basic industries', ...}, u'aaba': {u'5mins': {u'09:40': -0.61, u'09:45': -0.72, u'09:50': -0.93, u'09:55': -1.01, u'10:10': -0.65, u'10:15': -0.77, u'10:20': -0.68, u'10:25': -0.65, u'10:30': -0.29, u'10:35': -0.34, ...}, u'exchange': u'nasdaq', u'high': 76.68, u'industry': u'internet software services', u'low': 75.53, u'marketCap': 43192436993, u'name': u'Altaba Inc. - Common Stock', u'open': 76.44, u'previousClose': 76.49, u'sector': u'technology', ...}, u'aac': {u'5mins': {u'09:40': -0.64, u'09:45': -0.64, u'09:50': -2.54, u'09:55': 0.0, u'10:10': -1.27, u'10:15': -1.27, u'10:20': -1.27, u'10:25': -1.27, u'10:30': -1.27, u'10:35': -1.27, ...}, u'exchange': u'nyse', u'high': 1.59, u'industry': u'health care facilities', u'low': 1.53, u'marketCap': 42808028, u'name': u'AAC Holdings, Inc. Common Stock', u'open': 1.59, u'previousClose': 1.57, u'sector': u'health care', ...}, u'aal': {u'5mins': {u'09:40': -2.27, u'09:45': -2.42, u'09:50': -2.48, u'09:55': -2.78, u'10:10': -2.74, u'10:15': -2.01, u'10:20': -1.95, u'10:25': -2.74, u'10:30': -2.45, u'10:35': -1.76, ...}, u'exchange': u'nasdaq', u'high': 33.35, u'industry': u'air freight delivery services', u'low': 32.1, u'marketCap': 15438784192, u'name': u'American Airlines Group, Inc. - Common Stock', u'open': 32.15, u'previousClose': 33.41, u'sector': u'transportation', ...}, ...}, symbol = 'kcap'

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