Traceback (most recent call last):


 "/opt/conda/bin/quantaxis", line 8, in <module>

sys.exit(QA_cmd())


 "/opt/conda/lib/python3.8/site-packages/QUANTAXIS/QACmd/__init__.py", line 735, in QA_cmd

cli.cmdloop()


 "/opt/conda/lib/python3.8/cmd.py", line 138, in cmdloop

stop = self.onecmd(line)


 "/opt/conda/lib/python3.8/cmd.py", line 217, in onecmd

return func(arg)


 "/opt/conda/lib/python3.8/site-packages/QUANTAXIS/QACmd/__init__.py", line 380, in do_save

QA_SU_save_stock_day("tdx")


 "/opt/conda/lib/python3.8/site-packages/QUANTAXIS/QAUtil/__init__.py", line 169, in wrapper

func(*args, **kwargs)


 "/opt/conda/lib/python3.8/site-packages/QUANTAXIS/QASU/main.py", line 222, in QA_SU_save_stock_day

engine.QA_SU_save_stock_day(client=client)


 "/opt/conda/lib/python3.8/site-packages/QUANTAXIS/QASU/save_tdx.py", line 196, in QA_SU_save_stock_day

stock_list = QA_fetch_get_stock_list().code.unique().tolist()


 "/opt/conda/lib/python3.8/site-packages/retrying.py", line 49, in wrapped_f

return Retrying(*dargs, **dkw).call(f, *args, **kw)


 "/opt/conda/lib/python3.8/site-packages/retrying.py", line 212, in call

raise attempt.get()


 "/opt/conda/lib/python3.8/site-packages/retrying.py", line 247, in get

six.reraise(self.value[0], self.value[1], self.value[2])


 "/opt/conda/lib/python3.8/site-packages/six.py", line 703, in reraise

raise value


 "/opt/conda/lib/python3.8/site-packages/retrying.py", line 200, in call

attempt = Attempt(fn(*args, **kwargs), attempt_number, False)


 "/opt/conda/lib/python3.8/site-packages/QUANTAXIS/QAFetch/QATdx.py", line 704, in QA_fetch_get_stock_list

with api.connect(ip, port):
AttributeError: __enter__

Traceback (most recent call last):


 "/home/tj/.virtualenvs/omnio3/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner

response = get_response(request)


 "/home/tj/.virtualenvs/omnio3/lib/python3.8/site-packages/django/utils/deprecation.py", line 94, in __call__

response = response or self.get_response(request)


 "/home/tj/.virtualenvs/omnio3/lib/python3.8/site-packages/django/core/handlers/exception.py", line 36, in inner

response = response_for_exception(request, exc)


 "/home/tj/.virtualenvs/omnio3/lib/python3.8/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception

response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())


 "/home/tj/.virtualenvs/omnio3/lib/python3.8/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception

return debug.technical_500_response(request, *exc_info)


 "/home/tj/.virtualenvs/omnio3/lib/python3.8/site-packages/django/views/debug.py", line 94, in technical_500_response

html = reporter.get_traceback_html()


 "/home/tj/.virtualenvs/omnio3/lib/python3.8/site-packages/django/views/debug.py", line 333, in get_traceback_html

c = Context(self.get_traceback_data(), use_l10n=False)


 "/home/tj/.virtualenvs/omnio3/lib/python3.8/site-packages/django/views/debug.py", line 305, in get_traceback_data

'filtered_POST_items': list(self.filter.get_post_parameters(self.request).items()),
AttributeError: 'list' object has no attribute 'items'
