--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Wed Jul 24 00:21:41 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.41, u'09:35': 0.34, u'09:40': 0.41, u'09:45': 0.37, u'09:50': 0.31, u'09:55': 0.29, u'10:00': 0.31, u'10:05': 0.25, u'10:10': 0.21, u'10:15': 0.22, ...}, u'exchange': None, u'high': 27368.8105, u'industry': None, u'low': 27204.5801, u'marketCap': 0, u'name': u'DOW JONES', u'open': 27231.8594, u'previousClose': 27171.9004, u'sector': None, ...}, u'.inx': {u'5mins': {u'09:30': 0.37, u'09:35': 0.28, u'09:40': 0.35, u'09:45': 0.31, u'09:50': 0.25, u'09:55': 0.23, u'10:00': 0.24, u'10:05': 0.17, u'10:10': 0.16, u'10:15': 0.16, ...}, u'exchange': None, u'high': 3005.8999, u'industry': None, u'low': 2988.5601, u'marketCap': 0, u'name': u'S&P 500', u'open': 2994.74, u'previousClose': 2985.03, u'sector': None, ...}, u'.ixic': {u'5mins': {u'09:30': 0.39, u'09:35': 0.24, u'09:40': 0.29, u'09:45': 0.22, u'09:50': 0.19, u'09:55': 0.15, u'10:00': 0.18, u'10:05': 0.07, u'10:10': 0.01, u'10:15': -0.02, ...}, u'exchange': None, u'high': 8251.8262, u'industry': None, u'low': 8193.8896, u'marketCap': 0, u'name': u'NASDAQ', u'open': 8242.5, u'previousClose': 8204.1396, u'sector': None, ...}, u'42s top10': {u'5mins': {u'09:30': 0.136, u'09:35': 0.167, u'09:40': 0.6660000000000001, u'09:45': 1.329, u'09:50': 1.5690000000000002, u'09:55': 1.465, u'10:00': 1.2559999999999998, u'10:05': 1.204, u'10:10': 1.0839999999999999, u'10:15': 0.9939999999999999, ...}, u'marketCap': 1160167583361.0}, u'42s top42': {u'5mins': {u'09:30': 0.0961904761904762, u'09:35': 0.12714285714285717, u'09:40': 0.20595238095238097, u'09:45': 0.4064285714285715, u'09:50': 0.3066666666666668, u'09:55': 0.19380952380952388, u'10:00': 0.07452380952380952, u'10:05': 0.12023809523809521, u'10:10': 0.10357142857142854, u'10:15': 0.16476190476190467, ...}, u'marketCap': 2491437074021.0}, u'a': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.48, u'09:45': 0.26, u'09:50': 0.26, u'09:55': 0.25, u'10:00': 0.26, u'10:05': 0.59, u'10:10': 0.88, u'10:15': 0.87, ...}, u'exchange': u'nyse', u'high': 70.17, u'industry': u'biotechnology laboratory analytical instruments', u'low': 69.16, u'marketCap': 22082057127, u'name': u'Agilent Technologies, Inc.', u'open': 69.4, u'previousClose': 69.09, u'sector': u'health care', ...}, u'aa': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.78, u'09:45': 1.31, u'09:50': 2.39, u'09:55': 2.05, u'10:00': 1.91, u'10:05': 1.74, u'10:10': 0.87, u'10:15': 1.09, ...}, u'exchange': u'nyse', u'high': 23.56, u'industry': u'aluminum', u'low': 22.86, u'marketCap': 4216083086, u'name': u'Alcoa Corporation', u'open': 23.16, u'previousClose': 22.98, u'sector': u'basic industries', ...}, u'aaba': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.35, u'09:45': 0.37, u'09:50': 0.2, u'09:55': 0.47, u'10:00': 0.52, u'10:05': 0.58, u'10:10': 0.47, u'10:15': 0.47, ...}, u'exchange': u'nasdaq', u'high': 71.09, u'industry': u'internet software services', u'low': 70.62, u'marketCap': 36951648183, u'name': u'Altaba Inc.', u'open': 70.69, u'previousClose': 70.55, u'sector': u'technology', ...}, u'aac': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 1.16, u'09:45': 1.16, u'09:50': 1.16, u'09:55': 7.7, u'10:00': 5.51, u'10:05': 7.48, u'10:10': 7.37, u'10:15': 2.21, ...}, u'exchange': u'nyse', u'high': 0.986, u'industry': u'health care facilities', u'low': 0.92, u'marketCap': 20725144, u'name': u'AAC Holdings, Inc.', u'open': 0.9205, u'previousClose': 0.9099, u'sector': u'health care', ...}, u'aal': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.59, u'09:45': 0.24, u'09:50': 0.3, u'09:55': 0.0, u'10:00': 0.16, u'10:05': 0.12, u'10:10': 0.3, u'10:15': 0.36, ...}, u'exchange': u'nasdaq', u'high': 33.79, u'industry': u'air freight delivery services', u'low': 32.57, u'marketCap': 14477472008, u'name': u'American Airlines Group, Inc.', u'open': 33.02, u'previousClose': 32.9, u'sector': u'transportation', ...}, ...}, symbol = 'kcap'

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