--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Tue Sep 17 00:16:31 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.38, u'09:35': -0.38, u'09:40': -0.38, u'09:45': -0.38, u'09:50': -0.42, u'09:55': -0.28, u'10:00': -0.28, u'10:05': -0.3, u'10:10': -0.37, u'10:15': -0.41, ...}, u'exchange': None, u'high': 27172.8691, u'industry': None, u'low': 27032.5605, u'marketCap': 0, u'name': u'DOW JONES', u'open': 27146.0605, u'previousClose': 27219.5195, u'sector': None, ...}, u'.inx': {u'5mins': {u'09:30': -0.29, u'09:35': -0.29, u'09:40': -0.29, u'09:45': -0.29, u'09:50': -0.32, u'09:55': -0.22, u'10:00': -0.2, u'10:05': -0.21, u'10:10': -0.23, u'10:15': -0.28, ...}, u'exchange': None, u'high': 3002.1899, u'industry': None, u'low': 2990.6699, u'marketCap': 0, u'name': u'S&P 500', u'open': 2996.4099, u'previousClose': 3007.3899, u'sector': None, ...}, u'.ixic': {u'5mins': {u'09:30': -0.32, u'09:35': -0.32, u'09:40': -0.32, u'09:45': -0.32, u'09:50': -0.38, u'09:55': -0.24, u'10:00': -0.2, u'10:05': -0.25, u'10:10': -0.2, u'10:15': -0.26, ...}, u'exchange': None, u'high': 8165.3252, u'industry': None, u'low': 8121.2515, u'marketCap': 0, u'name': u'NASDAQ', u'open': 8121.6392, u'previousClose': 8176.71, u'sector': None, ...}, u'42s top10': {u'5mins': {u'09:30': -0.9440000000000001, u'09:35': 0.2589999999999999, u'09:40': 0.3159999999999999, u'09:45': 0.2519999999999999, u'09:50': 0.2090000000000001, u'09:55': 0.4109999999999998, u'10:00': 0.07300000000000015, u'10:05': -0.21900000000000008, u'10:10': 0.02500000000000009, u'10:15': -0.1630000000000001, ...}, u'marketCap': 123016640608.0}, u'42s top42': {u'5mins': {u'09:30': -0.6611904761904761, u'09:35': -0.20023809523809524, u'09:40': -0.12261904761904764, u'09:45': -0.03142857142857147, u'09:50': -0.08761904761904761, u'09:55': 0.14666666666666658, u'10:00': -0.04023809523809522, u'10:05': -0.105, u'10:10': -0.10880952380952379, u'10:15': -0.2121428571428572, ...}, u'marketCap': 1182173877728.0}, u'a': {u'5mins': {u'09:30': -0.76, u'09:35': -1.39, u'09:40': -1.41, u'09:45': -0.98, u'09:50': -1.12, u'09:55': -1.13, u'10:00': -0.99, u'10:05': -0.91, u'10:10': -1.0, u'10:15': -0.87, ...}, u'exchange': u'nyse', u'high': 77.43, u'industry': u'biotechnology laboratory analytical instruments', u'low': 76.46, u'marketCap': 24107556864.0, u'name': u'Agilent Technologies, Inc.', u'open': 77.32, u'previousClose': 77.9, u'sector': u'health care', ...}, u'aa': {u'5mins': {u'09:30': -2.23, u'09:35': -0.22, u'09:40': -1.05, u'09:45': -1.18, u'09:50': -0.96, u'09:55': -0.17, u'10:00': -0.39, u'10:05': -0.48, u'10:10': -1.31, u'10:15': -1.18, ...}, u'exchange': u'nyse', u'high': 22.87, u'industry': u'aluminum', u'low': 22.38, u'marketCap': 4247399424.0, u'name': u'Alcoa Corporation', u'open': 22.56, u'previousClose': 22.89, u'sector': u'basic industries', ...}, u'aaba': {u'5mins': {u'09:30': -0.03, u'09:35': 0.06, u'09:40': 0.09, u'09:45': 0.08, u'09:50': 0.09, u'09:55': 0.09, u'10:00': 0.09, u'10:05': 0.1, u'10:10': 0.24, u'10:15': 0.15, ...}, u'exchange': u'nasdaq', u'high': 70.251, u'industry': u'internet software services', u'low': 70.0, u'marketCap': 36391747584.0, u'name': u'Altaba Inc.', u'open': 70.01, u'previousClose': 70.05, u'sector': u'technology', ...}, u'aac': {u'5mins': {u'09:30': 3.7, u'09:35': 0.13, u'09:40': 0.13, u'09:45': 0.13, u'09:50': 3.7, u'09:55': 4.58, u'10:00': 4.58, u'10:05': 4.58, u'10:10': 4.59, u'10:15': 7.19, ...}, u'exchange': u'nyse', u'high': 0.834, u'industry': u'health care facilities', u'low': 0.765, u'marketCap': 19292840.0, u'name': u'AAC Holdings, Inc.', u'open': 0.7933, u'previousClose': 0.765, u'sector': u'health care', ...}, u'aal': {u'5mins': {u'09:30': -5.01, u'09:35': -4.47, u'09:40': -4.49, u'09:45': -5.08, u'09:50': -5.84, u'09:55': -5.28, u'10:00': -5.83, u'10:05': -5.64, u'10:10': -5.88, u'10:15': -5.28, ...}, u'exchange': u'nasdaq', u'high': 28.7892, u'industry': u'air freight delivery services', u'low': 27.7, u'marketCap': 13335867392.0, u'name': u'American Airlines Group, Inc.', u'open': 28.56, u'previousClose': 29.95, u'sector': u'transportation', ...}, ...}, symbol = 'mpo'

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