
The minion function caused an exception: Traceback (most recent call last):

 "/usr/lib/python2.7/dist-packages/salt/minion.py", line 1161, in _thread_return
return_data = func(*args, **kwargs)

 "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 297, in apply_
return highstate(**kwargs)

 "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 523, in highstate
whitelist=kwargs.get('whitelist')

 "/usr/lib/python2.7/dist-packages/salt/state.py", line 2968, in call_highstate
return self.state.call_high(high)

 "/usr/lib/python2.7/dist-packages/salt/state.py", line 2067, in call_high
ret = dict(list(disabled.items()) + list(self.call_chunks(chunks).items()))

 "/usr/lib/python2.7/dist-packages/salt/state.py", line 1623, in call_chunks
running = self.call_chunk(low, running, chunks)

 "/usr/lib/python2.7/dist-packages/salt/state.py", line 1769, in call_chunk
self._mod_init(low)

 "/usr/lib/python2.7/dist-packages/salt/state.py", line 612, in _mod_init
self.states['{0}.{1}'.format(low['state'], low['fun'])]
# pylint: disable=W0106

 "/usr/lib/python2.7/dist-packages/salt/utils/lazy.py", line 90, in __getitem__
raise KeyError(key)
KeyError: 'boto_route53.present'
Traceback (most recent call last):


 "E:/Quant/WebGrab/QueryTDX.py", line 114, in <module>

get_tdx_history_day()


 "E:/Quant/WebGrab/QueryTDX.py", line 71, in get_tdx_history_day

data = api.get_k_data('600031', '2017-09-14', '2017-09-15')


 "E:\Anaconda3\lib\site-packages\pytdx\hq.py", line 167, in get_k_data

data['date'] = data['datetime'].apply(lambda x: x[0:10])


 "E:\Anaconda3\lib\site-packages\pandas\core\frame.py", line 1964, in __getitem__

return self._getitem_column(key)


 "E:\Anaconda3\lib\site-packages\pandas\core\frame.py", line 1971, in _getitem_column

return self._get_item_cache(key)


 "E:\Anaconda3\lib\site-packages\pandas\core\generic.py", line 1645, in _get_item_cache

values = self._data.get(item)


 "E:\Anaconda3\lib\site-packages\pandas\core\internals.py", line 3590, in get

loc = self.items.get_loc(item)


 "E:\Anaconda3\lib\site-packages\pandas\core\indexes\base.py", line 2444, in get_loc

return self._engine.get_loc(self._maybe_cast_indexer(key))


 "pandas\_libs\index.pyx", line 132, in pandas._libs.index.IndexEngine.get_loc (pandas\_libs\index.c:5280)


 "pandas\_libs\index.pyx", line 154, in pandas._libs.index.IndexEngine.get_loc (pandas\_libs\index.c:5126)


 "pandas\_libs\hashtable_class_helper.pxi", line 1210, in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas\_libs\hashtable.c:20523)


 "pandas\_libs\hashtable_class_helper.pxi", line 1218, in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas\_libs\hashtable.c:20477)
KeyError: 'datetime'