297 views
0

TqApi(account=XXX, auth=TqAuth(xxx_user, xxx_password), _stock=False)
File “python3.8/site-packages/tqsdk/api.py”, line 279, in __init__
self._setup_connection() # 初始化通讯连接
File “python3.8/site-packages/tqsdk/api.py”, line 2446, in _setup_connection
self._md_url = self._auth._get_md_url(self._stock) # 如果用户未指定行情地址,则使用名称服务获取行情地址
File “python3.8/site-packages/tqsdk/auth.py”, line 123, in _get_md_url
response = requests.get(url=url, params=params, headers=self._base_headers, timeout=30)
File “python3.8/site-packages/requests/api.py”, line 76, in get
return request(‘get’, url, params=params, **kwargs)
File “python3.8/site-packages/requests/api.py”, line 61, in request
return session.request(method=method, url=url, **kwargs)
File “python3.8/site-packages/requests/sessions.py”, line 542, in request
resp = self.send(prep, **send_kwargs)
File “python3.8/site-packages/requests/sessions.py”, line 655, in send
r = adapter.send(request, **kwargs)
File “python3.8/site-packages/requests/adapters.py”, line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=’api.shinnytech.com’, port=443): Max retries exceeded

Answered question
0

昨天下午服务器有维护,今天还可以吗?维护的通知之类的会在qq群发布,群号是619870862

Answered question
You are viewing 1 out of 1 answers, click here to view all answers.