--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.7.5: /usr/bin/python
Sun Jul 21 11:20:24 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.28, u'09:35': 0.33, u'09:40': 0.29, u'09:45': 0.25, u'09:50': 0.22, u'09:55': 0.3, u'10:00': 0.28, u'10:05': 0.21, u'10:10': 0.26, u'10:15': 0.36, ...}, u'exchange': None, u'high': 27342.9609, u'industry': None, u'low': 27145.7793, u'marketCap': 0, u'name': u'DOW JONES', u'open': 27246.3809, u'previousClose': 27222.9707, u'sector': None, ...}, u'.inx': {u'5mins': {u'09:30': 0.29, u'09:35': 0.29, u'09:40': 0.27, u'09:45': 0.25, u'09:50': 0.2, u'09:55': 0.26, u'10:00': 0.25, u'10:05': 0.13, u'10:10': 0.14, u'10:15': 0.26, ...}, u'exchange': None, u'high': 3006.02, u'industry': None, u'low': 2975.8601, u'marketCap': 0, u'name': u'S&P 500', u'open': 3004.26, u'previousClose': 2995.1101, u'sector': None, ...}, u'.ixic': {u'5mins': {u'09:30': 0.42, u'09:35': 0.35, u'09:40': 0.36, u'09:45': 0.37, u'09:50': 0.32, u'09:55': 0.39, u'10:00': 0.39, u'10:05': 0.21, u'10:10': 0.23, u'10:15': 0.35, ...}, u'exchange': None, u'high': 8245.7764, u'industry': None, u'low': 8144.626, u'marketCap': 0, u'name': u'NASDAQ', u'open': 8241.3408, u'previousClose': 8207.2402, u'sector': None, ...}, u'42s top10': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.31799999999999995, u'09:45': 0.463, u'09:50': 0.34299999999999997, u'09:55': 0.584, u'10:00': 0.6730000000000002, u'10:05': 0.68, u'10:10': 0.864, u'10:15': 0.6480000000000001, ...}, u'marketCap': 1395847705828.0}, u'42s top42': {u'5mins': {u'09:30': 0.0, u'09:35': -0.0033333333333333335, u'09:40': 0.15404761904761907, u'09:45': 0.1659523809523809, u'09:50': 0.17547619047619048, u'09:55': 0.17000000000000007, u'10:00': 0.17571428571428566, u'10:05': 0.17571428571428574, u'10:10': 0.25476190476190474, u'10:15': 0.2580952380952382, ...}, u'marketCap': 3415178962788.0}, u'a': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.0, u'09:45': 0.16, u'09:50': 0.13, u'09:55': -0.04, u'10:00': -0.11, u'10:05': -0.24, u'10:10': -0.3, u'10:15': -0.28, ...}, u'exchange': u'nyse', u'high': 70.58, u'industry': u'biotechnology laboratory analytical instruments', u'low': 68.6, u'marketCap': 22162615287, u'name': u'Agilent Technologies, Inc.', u'open': 70.58, u'previousClose': 70.13, u'sector': u'health care', ...}, u'aa': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.0, u'09:45': 0.47, u'09:50': 0.38, u'09:55': 1.15, u'10:00': 1.28, u'10:05': 0.0, u'10:10': 0.43, u'10:15': 0.34, ...}, u'exchange': u'nyse', u'high': 23.78, u'industry': u'aluminum', u'low': 22.87, u'marketCap': 4343309425, u'name': u'Alcoa Corporation', u'open': 23.36, u'previousClose': 23.41, u'sector': u'basic industries', ...}, u'aaba': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.0, u'09:45': 0.43, u'09:50': 0.37, u'09:55': 0.4, u'10:00': 0.47, u'10:05': 0.38, u'10:10': 0.45, u'10:15': 0.4, ...}, u'exchange': u'nasdaq', u'high': 70.72, u'industry': u'internet software services', u'low': 70.21, u'marketCap': 36553225791, u'name': u'Altaba Inc.', u'open': 70.52, u'previousClose': 70.36, u'sector': u'technology', ...}, u'aac': {u'5mins': {u'09:30': 0.0, u'09:35': 0.0, u'09:40': 0.0, u'09:45': 2.7, u'09:50': 2.7, u'09:55': 2.23, u'10:00': 2.23, u'10:05': 2.23, u'10:10': 2.23, u'10:15': 2.23, ...}, u'exchange': u'nyse', u'high': 1.0661, u'industry': u'health care facilities', u'low': 0.95, u'marketCap': 25807938.0, u'name': u'AAC Holdings, Inc.', u'open': 1.03, u'previousClose': 1.02, 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': 0.24, u'09:50': 0.56, u'09:55': 0.62, u'10:00': 0.62, u'10:05': 0.41, u'10:10': 0.39, u'10:15': 0.33, ...}, u'exchange': u'nasdaq', u'high': 34.02, u'industry': u'air freight delivery services', u'low': 33.06, u'marketCap': 15008734208.0, u'name': u'American Airlines Group, Inc.', u'open': 33.82, u'previousClose': 33.74, u'sector': u'transportation', ...}, ...}, symbol = 'ncom'

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