--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Fri Feb 22 13:15:45 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.34, u'09:35': 0.34, u'09:40': 0.34, u'09:45': 0.34, u'09:50': 0.33, u'09:55': 0.33, u'10:00': 0.33, u'10:05': 0.45, u'10:10': 0.45, u'10:15': 0.45, ...}, u'exchange': u'.dji', u'high': 26052.9, u'industry': u'DOW JONES', u'low': 25906.27, u'marketCap': u'2/22/2019 9:32:06', u'name': u'DOW JONES', u'open': 25906.27, u'previousClose': 25850.63, u'sector': u'DOW JONES', ...}, u'.inx': {u'5mins': {u'09:30': -0.35, u'09:35': -0.35, u'09:40': -0.35, u'09:45': 0.3, u'09:50': 0.3, u'09:55': 0.3, u'10:00': 0.29, u'10:05': 0.29, u'10:10': 0.29, u'10:15': 0.42, ...}, u'exchange': u'.inx', u'high': 2794.2, u'industry': u'S&P 500', u'low': 2779.11, u'marketCap': u'', u'name': u'S&P 500', u'open': 2780.67, u'previousClose': 2784.7, u'sector': u'S&P 500', ...}, u'.ixic': {u'5mins': {u'09:30': -0.39, u'09:35': -0.39, u'09:40': -0.39, u'09:45': 0.36, u'09:50': 0.36, u'09:55': 0.36, u'10:00': 0.53, u'10:05': 0.53, u'10:10': 0.53, u'10:15': 0.53, ...}, u'exchange': u'.ixic', u'high': 7526.78, u'industry': u'NASDAQ', u'low': 7479.01, u'marketCap': u'', u'name': u'NASDAQ', u'open': 7481.63, u'previousClose': 7489.07, u'sector': u'NASDAQ', ...}, u'42s top10': {u'5mins': {u'09:30': 0.507, u'09:35': 0.507, u'09:40': 0.507, u'09:45': 1.026, u'09:50': 1.1760000000000002, u'09:55': 1.1760000000000002, u'10:00': 1.395, u'10:05': 1.5849999999999995, u'10:10': 1.5849999999999995, u'10:15': 1.5400000000000003, ...}, u'marketCap': 61835710656.0}, u'42s top42': {u'5mins': {u'09:30': 0.3935714285714286, u'09:35': 0.3973809523809525, u'09:40': 0.36380952380952386, u'09:45': 0.6023809523809522, u'09:50': 0.6757142857142857, u'09:55': 0.7476190476190477, u'10:00': 0.9230952380952382, u'10:05': 0.961190476190476, u'10:10': 0.9316666666666668, u'10:15': 0.9292857142857146, ...}, u'marketCap': 868549236880.0}, u'a': {u'5mins': {u'09:30': -0.03, u'09:35': -0.03, u'09:40': -0.03, u'09:45': 0.4, u'09:50': 0.4, u'09:55': 0.4, u'10:00': 0.23, u'10:05': 0.23, u'10:10': 0.23, u'10:15': 0.23, ...}, u'exchange': u'nyse', u'high': 78.38, u'industry': u'biotechnology: laboratory analytical instruments', u'low': 77.83, u'marketCap': 24869332992.0, u'name': u'Agilent Technologies Inc', u'open': 78.16, u'previousClose': 77.91, u'sector': u'health care', ...}, u'aa': {u'5mins': {u'09:30': 2.37, u'09:35': 2.37, u'09:40': 2.37, u'09:45': 2.06, u'09:50': 2.06, u'09:55': 2.06, u'10:00': 0.74, u'10:05': 0.74, u'10:10': 0.74, u'10:15': 0.07, ...}, u'exchange': u'nyse', u'high': 30.48, u'industry': u'aluminum', u'low': 29.36, u'marketCap': 5272185344.0, u'name': u'Alcoa Corp', u'open': 29.88, u'previousClose': 29.59, u'sector': u'basic industries', ...}, u'aac': {u'5mins': {u'09:30': 0.34, u'09:35': 0.34, u'09:40': 0.34, u'09:45': -1.02, u'09:50': -1.02, u'09:55': -1.02, u'10:00': -1.02, u'10:05': 0.0, u'10:10': 0.0, u'10:15': 0.0, ...}, u'exchange': u'nyse', u'high': 3.03, u'industry': u'health care facilities', u'low': 2.89, u'marketCap': 72329881, u'name': u'AAC Holdings Inc', u'open': 2.94, u'previousClose': 2.93, u'sector': u'health care', ...}, u'aal': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.0, u'09:45': 1.03, u'09:50': 1.03, u'09:55': 1.03, u'10:00': 1.0, u'10:05': 1.0, u'10:10': 1.0, u'10:15': 1.0, ...}, u'exchange': u'nasdaq', u'high': 35.52, u'industry': u'air freight/delivery services', u'low': 35, u'marketCap': 16143363072.0, u'name': u'American Airlines Group Inc', u'open': 35.0, u'previousClose': 34.98, u'sector': u'transportation', ...}, u'aamc': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.0, u'09:45': 0.0, u'09:50': 0.0, u'09:55': 0.0, u'10:00': 0.0, u'10:05': 0.0, u'10:10': 0.0, u'10:15': 0.0, ...}, u'exchange': u'nyseamerican', u'high': 39.47, u'industry': u'real estate services', u'low': 34.55, u'marketCap': 55489340.0, u'name': u'Altisource Asset Management Corp', u'open': 35.05, u'previousClose': 35, u'sector': u'finance', ...}, ...}, symbol = 'mnga'

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