--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Sun Apr 21 14:13:34 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.01, u'09:35': -0.01, u'09:40': 0.34, u'09:45': 0.34, u'09:50': 0.34, u'09:55': 0.25, u'10:00': 0.25, u'10:05': 0.25, u'10:10': 0.25, u'10:15': 0.17, ...}, u'exchange': u'.dji', u'high': 26501.02, u'industry': u'DOW JONES', u'low': 26391.86, u'marketCap': u'4/17/2019 17:04:43', u'name': u'DOW JONES', u'open': 26468.53, u'previousClose': 26452.66, u'sector': u'DOW JONES', ...}, u'.inx': {u'5mins': {u'09:30': -0.23, u'09:35': -0.23, u'09:40': -0.23, u'09:45': -0.23, u'09:50': -0.23, u'09:55': 0.17, u'10:00': 0.17, u'10:05': 0.17, u'10:10': 0.17, u'10:15': 0.02, ...}, u'exchange': u'.inx', u'high': 2908.4, u'industry': u'S&P 500', u'low': 2891.9, u'marketCap': u'', u'name': u'S&P 500', u'open': 2904.81, u'previousClose': 2900.45, u'sector': u'S&P 500', ...}, u'.ixic': {u'5mins': {u'09:30': -0.09, u'09:35': -0.09, u'09:40': 0.01, u'09:45': 0.01, u'09:50': 0.01, u'09:55': -0.26, u'10:00': -0.26, u'10:05': -0.26, u'10:10': -0.34, u'10:15': -0.32, ...}, u'exchange': u'.ixic', u'high': 8002.31, u'industry': u'NASDAQ', u'low': 7950.97, u'marketCap': u'', u'name': u'NASDAQ', u'open': 7998.45, u'previousClose': 7996.08, u'sector': u'NASDAQ', ...}, u'42s top10': {u'5mins': {u'09:30': -0.085, u'09:35': 0.091, u'09:40': -0.20400000000000001, u'09:45': -0.22400000000000003, u'09:50': -0.22000000000000006, u'09:55': -0.282, u'10:00': -0.36999999999999994, u'10:05': -0.296, u'10:10': -0.411, u'10:15': -0.498, ...}, u'marketCap': 159008093229.0}, u'42s top42': {u'5mins': {u'09:30': -0.14523809523809522, u'09:35': 0.049523809523809526, u'09:40': 0.019285714285714288, u'09:45': 0.05214285714285714, u'09:50': 0.06952380952380952, u'09:55': 0.1464285714285715, u'10:00': 0.10833333333333331, u'10:05': 0.07571428571428573, u'10:10': -0.11476190476190473, u'10:15': -0.23880952380952383, ...}, u'marketCap': 650611906840.0}, u'a': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 1.07, u'09:45': 1.07, u'09:50': 1.07, u'09:55': 0.54, u'10:00': 0.54, u'10:05': 0.54, u'10:10': 0.54, u'10:15': 0.32, ...}, u'exchange': u'nyse', u'high': 76.54, u'industry': u'biotechnology: laboratory analytical instruments', u'low': 75.31, u'marketCap': 23951425145, u'name': u'Agilent Technologies Inc', u'open': 75.73, u'previousClose': 75.43, u'sector': u'health care', ...}, u'aa': {u'5mins': {u'09:30': 0.07, u'09:35': 0.07, u'09:40': -6.93, u'09:45': -6.93, u'09:50': -6.93, u'09:55': -5.34, u'10:00': -5.34, u'10:05': -5.34, u'10:10': -5.52, u'10:15': -5.52, ...}, u'exchange': u'nyse', u'high': 27.41, u'industry': u'aluminum', u'low': 25.71, u'marketCap': 5137157998, u'name': u'Alcoa Corp', u'open': 27.36, u'previousClose': 27.7, u'sector': u'basic industries', ...}, u'aaba': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': -0.75, u'09:45': -0.75, u'09:50': -0.75, u'09:55': -0.66, u'10:00': -0.66, u'10:05': -0.51, u'10:10': -0.51, u'10:15': -0.51, ...}, u'exchange': u'nasdaq', u'high': 76.13, u'industry': u'internet software & services', u'low': 75.34, u'marketCap': 43192436993, u'name': u'Altaba Inc', u'open': 76.13, u'previousClose': 76.11, u'sector': u'technology', ...}, u'aac': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': -3.72, u'09:45': -3.72, u'09:50': -3.72, u'09:55': -5.44, u'10:00': -5.44, u'10:05': -5.44, u'10:10': -5.44, u'10:15': -9.46, ...}, u'exchange': u'nyse', u'high': 1.74, u'industry': u'health care facilities', u'low': 1.55, u'marketCap': 42808028, u'name': u'AAC Holdings Inc', u'open': 1.74, u'previousClose': 1.74, u'sector': u'health care', ...}, u'aal': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': -0.2, u'09:45': 0.23, u'09:50': -0.2, u'09:55': -0.2, u'10:00': 0.35, u'10:05': 0.35, u'10:10': 0.35, u'10:15': 0.0, ...}, u'exchange': u'nasdaq', u'high': 34.62, u'industry': u'air freight/delivery services', u'low': 33.9, u'marketCap': 15438784192, u'name': u'American Airlines Group Inc', u'open': 34.43, u'previousClose': 34.38, u'sector': u'transportation', ...}, ...}, symbol = 'mnga'

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