--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Tue May 21 11:25:32 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.59, u'09:35': 0.51, u'09:40': 0.43, u'09:45': 0.47, u'09:50': 0.42, u'09:55': 0.46, u'10:00': 0.51, u'10:05': 0.51, u'10:10': 0.52, u'10:15': 0.56, ...}, u'exchange': None, u'high': 25875.3398, u'industry': None, u'low': 25779.6094, u'marketCap': 0, u'name': u'DOW JONES', u'open': 25782.3398, u'previousClose': 25679.9004, u'sector': None, ...}, u'.inx': {u'5mins': {u'09:30': 0.69, u'09:35': 0.66, u'09:40': 0.57, u'09:45': 0.63, u'09:50': 0.55, u'09:55': 0.6, u'10:00': 0.65, u'10:05': 0.63, u'10:10': 0.61, u'10:15': 0.66, ...}, u'exchange': None, u'high': 2868.8799, u'industry': None, u'low': 2854.02, u'marketCap': 0, u'name': u'S&P 500', u'open': 2854.02, u'previousClose': 2840.23, u'sector': None, ...}, u'.ixic': {u'5mins': {u'09:30': 0.94, u'09:35': 0.87, u'09:40': 0.8, u'09:45': 0.85, u'09:50': 0.78, u'09:55': 0.79, u'10:00': 0.87, u'10:05': 0.8, u'10:10': 0.73, u'10:15': 0.79, ...}, u'exchange': None, u'high': 7799.8823, u'industry': None, u'low': 7752.9243, u'marketCap': 0, u'name': u'NASDAQ', u'open': 7765.5674, u'previousClose': 7702.3799, u'sector': None, ...}, u'42s top10': {u'5mins': {u'09:30': 0.8109999999999999, u'09:35': 0.958, u'09:40': 1.0739999999999998, u'09:45': 1.1630000000000003, u'09:50': 1.1079999999999999, u'09:55': 1.014, u'10:00': 1.242, u'10:05': 1.2, u'10:10': 1.1329999999999998, u'10:15': 1.2060000000000002, ...}, u'marketCap': 714437035465.0}, u'42s top42': {u'5mins': {u'09:30': 0.7226190476190477, u'09:35': 0.6388095238095238, u'09:40': 0.7654761904761904, u'09:45': 0.9285714285714288, u'09:50': 0.8799999999999999, u'09:55': 0.824047619047619, u'10:00': 0.9692857142857142, u'10:05': 0.9273809523809521, u'10:10': 0.8257142857142855, u'10:15': 0.8878571428571427, ...}, u'marketCap': 3937208919892.0}, u'a': {u'5mins': {u'09:30': 2.13, u'09:35': 1.41, u'09:40': 0.64, u'09:45': 1.52, u'09:50': 1.41, u'09:55': 1.31, u'10:00': 1.36, u'10:05': 1.47, u'10:10': 1.35, u'10:15': 1.18, ...}, u'exchange': u'nyse', u'high': 70.44, u'industry': u'biotechnology laboratory analytical instruments', u'low': 69.1, u'marketCap': 20496408120, u'name': u'Agilent Technologies, Inc.', u'open': 69.37, u'previousClose': 68.93, u'sector': u'health care', ...}, u'aa': {u'5mins': {u'09:30': 0.92, u'09:35': 0.38, u'09:40': 1.42, u'09:45': 0.63, u'09:50': 0.38, u'09:55': 1.25, u'10:00': 1.46, u'10:05': 1.63, u'10:10': 1.71, u'10:15': 1.99, ...}, u'exchange': u'nyse', u'high': 24.66, u'industry': u'aluminum', u'low': 23.89, u'marketCap': 4534471040, u'name': u'Alcoa Corporation', u'open': 24.29, u'previousClose': 23.99, u'sector': u'basic industries', ...}, u'aaba': {u'5mins': {u'09:30': 2.02, u'09:35': 1.06, u'09:40': 1.15, u'09:45': 1.27, u'09:50': 1.06, u'09:55': 1.17, u'10:00': 1.48, u'10:05': 1.47, u'10:10': 1.15, u'10:15': 1.31, ...}, u'exchange': u'nasdaq', u'high': 66.08, u'industry': u'internet software services', u'low': 64.97, u'marketCap': 36222675742, u'name': u'Altaba Inc.', u'open': 65.4, u'previousClose': 64.43, 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': -1.08, u'09:50': 0.0, u'09:55': -1.08, u'10:00': -1.08, u'10:05': -1.08, u'10:10': -3.24, u'10:15': -3.6, ...}, u'exchange': u'nyse', u'high': 1.39, u'industry': u'health care facilities', u'low': 1.34, u'marketCap': 41230912, u'name': u'AAC Holdings, Inc.', u'open': 1.39, u'previousClose': 1.39, u'sector': u'health care', ...}, u'aal': {u'5mins': {u'09:30': 1.13, u'09:35': 1.32, u'09:40': 0.81, u'09:45': 1.49, u'09:50': 1.32, u'09:55': 1.49, u'10:00': 1.61, u'10:05': 1.84, u'10:10': 1.71, u'10:15': 1.99, ...}, u'exchange': u'nasdaq', u'high': 31.635, u'industry': u'air freight delivery services', u'low': 31.13, u'marketCap': 14181365426, u'name': u'American Airlines Group, Inc.', u'open': 31.21, u'previousClose': 30.96, u'sector': u'transportation', ...}, ...}, symbol = 'caw'

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