--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Sat Oct 19 20:48:01 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 ()
   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.14, u'09:35': -0.14, u'09:40': -0.14, u'09:45': -0.14, u'09:50': -0.1, u'09:55': -0.11, u'10:00': -0.09, u'10:05': -0.27, u'10:10': -0.21, u'10:15': -0.25, ...}, u'exchange': None, u'high': 27018.25, u'industry': None, u'low': 26770.1309, u'marketCap': 0, u'name': u'DOW JONES', u'open': 27004.4902, u'previousClose': 27025.8809, u'sector': None, ...}, u'.inx': {u'5mins': {u'09:30': -0.01, u'09:35': -0.01, u'09:40': -0.01, u'09:45': -0.01, u'09:50': 0.04, u'09:55': 0.01, u'10:00': 0.03, u'10:05': -0.11, u'10:10': -0.07, u'10:15': -0.13, ...}, u'exchange': None, u'high': 3000.0, u'industry': None, u'low': 2976.3101, u'marketCap': 0, u'name': u'S&P 500', u'open': 2996.8401, u'previousClose': 2997.95, u'sector': None, ...}, u'.ixic': {u'5mins': {u'09:30': -0.11, u'09:35': -0.11, u'09:40': -0.11, u'09:45': -0.11, u'09:50': -0.02, u'09:55': -0.03, u'10:00': -0.04, u'10:05': -0.18, u'10:10': -0.13, u'10:15': -0.24, ...}, u'exchange': None, u'high': 8157.356, u'industry': None, u'low': 8045.3745, u'marketCap': 0, u'name': u'NASDAQ', u'open': 8149.8496, u'previousClose': 8156.8501, u'sector': None, ...}, u'42s top10': {u'5mins': {u'09:30': -0.04600000000000002, u'09:35': -0.278, u'09:40': -0.11499999999999998, u'09:45': -0.25099999999999995, u'09:50': -0.165, u'09:55': -0.16399999999999998, u'10:00': -0.11699999999999998, u'10:05': -0.03600000000000002, u'10:10': -0.11600000000000002, u'10:15': -0.18800000000000003, ...}, u'marketCap': 63895267970.0}, u'42s top42': {u'5mins': {u'09:30': -0.19476190476190477, u'09:35': -0.24000000000000007, u'09:40': -0.13214285714285715, u'09:45': -0.22428571428571423, u'09:50': -0.07833333333333335, u'09:55': -0.06928571428571428, u'10:00': -0.028809523809523785, u'10:05': -0.10785714285714292, u'10:10': -0.08976190476190479, u'10:15': -0.15119047619047618, ...}, u'marketCap': 2046733092902.0}, u'a': {u'5mins': {u'09:30': -1.0, u'09:35': -0.84, u'09:40': -0.61, u'09:45': -0.56, u'09:50': -0.37, u'09:55': -0.39, u'10:00': -0.27, u'10:05': -0.36, u'10:10': -0.37, u'10:15': -0.48, ...}, u'exchange': u'nyse', u'high': 74.82, u'industry': u'biotechnology laboratory analytical instruments', u'low': 73.77, u'marketCap': 23158633948, u'name': u'Agilent Technologies, Inc.', u'open': 74.0, u'previousClose': 74.92, u'sector': u'health care', ...}, u'aa': {u'5mins': {u'09:30': 2.07, u'09:35': 0.99, u'09:40': 0.89, u'09:45': 0.54, u'09:50': 1.82, u'09:55': 1.87, u'10:00': 2.27, u'10:05': 2.56, u'10:10': 2.81, u'10:15': 2.56, ...}, u'exchange': u'nyse', u'high': 21.64, u'industry': u'aluminum', u'low': 20.34, u'marketCap': 3700943355, u'name': u'Alcoa Corporation', u'open': 20.66, u'previousClose': 20.3, u'sector': u'basic industries', ...}, u'aac': {u'5mins': {u'09:30': 0.0, u'09:35': -2.5, u'09:40': -6.48, u'09:45': -2.48, u'09:50': 0.0, u'09:55': 0.07, u'10:00': 0.02, u'10:05': 0.02, u'10:10': 0.02, u'10:15': 0.02, ...}, u'exchange': u'nyse', u'high': 0.41, u'industry': u'health care facilities', u'low': 0.3731, u'marketCap': 10367725, u'name': u'AAC Holdings, Inc.', u'open': 0.4, u'previousClose': 0.4, u'sector': u'health care', ...}, u'aal': {u'5mins': {u'09:30': -0.81, u'09:35': 0.3, u'09:40': 0.29, u'09:45': 0.74, u'09:50': 0.79, u'09:55': 1.02, u'10:00': 1.11, u'10:05': 0.9, u'10:10': 0.97, u'10:15': 0.62, ...}, u'exchange': u'nasdaq', u'high': 28.32, u'industry': u'air freight delivery services', u'low': 27.705, u'marketCap': 12436419584.0, u'name': u'American Airlines Group, Inc.', u'open': 27.8, u'previousClose': 27.93, u'sector': u'transportation', ...}, u'aamc': {u'5mins': {u'09:30': 1.43, u'09:35': 1.43, u'09:40': 1.43, u'09:45': 1.43, u'09:50': 1.43, u'09:55': 1.43, u'10:00': 1.43, u'10:05': 1.43, u'10:10': 2.63, u'10:15': 2.63, ...}, u'exchange': u'amex', u'high': 15.7, u'industry': u'real estate services', u'low': 14.15, u'marketCap': 21894690, u'name': u'Altisource Asset Management Corp Com (CV EM)', u'open': 14.2, u'previousClose': 14.0, u'sector': u'finance', ...}, ...}, symbol = 'tss'

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