--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Mon Jan 27 02:15:54 2020

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 ()
   1043 
   1044 # get the open price
=> 1045 openPrice = float(fiveMinsData[symbol]['open'])
   1046 
   1047 # get the most-recent timestamp
openPrice undefined, builtin float = <type 'float'>, fiveMinsData = {u'.dji': {u'5mins': {u'09:30': 0.33, u'09:35': 0.33, u'09:40': 0.33, u'09:45': 0.33, u'09:50': 0.29, u'09:55': 0.28, u'10:00': 0.4, u'10:05': 0.31, u'10:10': 0.27, u'10:15': 0.27, ...}, u'exchange': None, u'high': 29288.7891, u'industry': u'', u'low': 28843.3105, u'marketCap': u'1/23/2020 9:31:43', u'name': u'DOW JONES', u'open': 29230.3906, u'previousClose': 29160.0898, u'sector': u'', ...}, u'.inx': {u'5mins': {u'09:30': 0.1, u'09:35': 0.1, u'09:40': 0.1, u'09:45': 0.1, u'09:50': 0.05, u'09:55': 0.03, u'10:00': 0.11, u'10:05': 0.04, u'10:10': -0.0, u'10:15': 0.03, ...}, u'exchange': None, u'high': 3333.1799, u'industry': u'', u'low': 3281.53, u'marketCap': u'', u'name': u'S&P 500', u'open': 3333.1001, u'previousClose': 3325.54, u'sector': u'', ...}, u'.ixic': {u'5mins': {u'09:30': 0.39, u'09:35': 0.39, u'09:40': 0.39, u'09:45': 0.39, u'09:50': 0.32, u'09:55': 0.28, u'10:00': 0.37, u'10:05': 0.3, u'10:10': 0.25, u'10:15': 0.31, ...}, u'exchange': None, u'high': 9451.4316, u'industry': u'', u'low': 9273.2314, u'marketCap': u'', u'name': u'NASDAQ', u'open': 9446.2051, u'previousClose': 9402.4805, u'sector': u'', ...}, u'42s top10': {u'5mins': {u'09:30': 1.062, u'09:35': 0.31600000000000006, u'09:40': 0.18000000000000002, u'09:45': 0.07499999999999998, u'09:50': -0.2770000000000001, u'09:55': -0.32, u'10:00': -0.6589999999999998, u'10:05': -0.48900000000000005, u'10:10': -0.7499999999999998, u'10:15': -0.64, ...}, u'marketCap': 24409414052.0}, u'42s top42': {u'5mins': {u'09:30': 0.6235714285714287, u'09:35': 0.27285714285714296, u'09:40': 0.21142857142857144, u'09:45': 0.2616666666666666, u'09:50': 0.07690476190476186, u'09:55': 0.009523809523809537, u'10:00': 0.019285714285714305, u'10:05': 0.057619047619047604, u'10:10': -0.02190476190476189, u'10:15': 0.0783333333333333, ...}, u'marketCap': 388496976596.0}, u'a': {u'5mins': {u'09:30': 0.36, u'09:35': -0.02, u'09:40': -0.02, u'09:45': 0.13, u'09:50': -0.06, u'09:55': -0.34, u'10:00': -0.27, u'10:05': -0.56, u'10:10': -0.53, u'10:15': -0.45, ...}, u'exchange': u'nyse', u'high': 89.46, u'industry': u'biotechnology laboratory analytical instruments', u'low': 87.58, u'marketCap': 27956793344.0, u'name': u'Agilent Technologies, Inc.', u'open': 89.45, u'previousClose': 89.07, u'sector': u'health care', ...}, u'aa': {u'5mins': {u'09:30': 0.06, u'09:35': -1.41, u'09:40': -2.21, u'09:45': -1.63, u'09:50': -2.92, u'09:55': -2.77, u'10:00': -2.41, u'10:05': -2.58, u'10:10': -2.76, u'10:15': -2.76, ...}, u'exchange': u'nyse', u'high': 16.32, u'industry': u'aluminum', u'low': 15.355, u'marketCap': 3075210984, u'name': u'Alcoa Corporation', u'open': 16.3, u'previousClose': 16.29, u'sector': u'basic industries', ...}, u'aacg': {u'5mins': {u'09:30': 0.0, u'09:35': 2.08, u'09:40': 2.08, u'09:45': 2.08, u'09:50': 2.08, u'09:55': 2.08, u'10:00': 2.08, u'10:05': 2.08, u'10:10': 2.08, u'10:15': 2.08, ...}, u'exchange': u'nasdaq', u'high': 1.4699, u'industry': u'other consumer services', u'low': 1.35, u'marketCap': 104938740, u'name': u'ATA Creativity Global', u'open': 1.4699, u'previousClose': 1.44, u'sector': u'consumer services', ...}, u'aal': {u'5mins': {u'09:30': -0.62, u'09:35': -1.84, u'09:40': -1.32, u'09:45': -1.39, u'09:50': -1.37, u'09:55': -1.28, u'10:00': -1.16, u'10:05': -2.01, u'10:10': -2.27, u'10:15': -2.43, ...}, u'exchange': u'nasdaq', u'high': 28.8612, u'industry': u'air freight delivery services', u'low': 27.01, u'marketCap': 11980711462, u'name': u'American Airlines Group, Inc.', u'open': 28.85, u'previousClose': 28.8, 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'amex', u'high': 13.2898, u'industry': u'real estate services', u'low': 12.88, u'marketCap': 21290025, u'name': u'Altisource Asset Management Corp Com (CV EM)', u'open': 13.25, u'previousClose': 13.47, u'sector': u'finance', ...}, ...}, symbol = 'ubnt'

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