掘金社区

linux下python sdk无法连接服务器Pinned highlighted

猪上树 发表在问题反馈 2020-02-25 22:55:00

问题反馈
526
3
0

2020-02-25 22:18:09,481 WARNING [history.py:25] error code=1001, error info=无法连接到终端服务
2020-02-25 22:18:09,482 WARNING [history.py:25] error code=1001, error info=无法连接到终端服务
2020-02-25 22:18:09,483 WARNING [history.py:25] error code=1001, error info=无法连接到终端服务
2020-02-25 22:18:09,483 ERROR [query.py:85] 获取不到数据服务地址
Traceback (most recent call last):
File "/home/hpc/anaconda3/lib/python3.7/site-packages/gm/api/query.py", line 43, in wrapper
return func(*args, **kw)
File "/home/hpc/anaconda3/lib/python3.7/site-packages/gm/retrying.py", line 37, in wrapped_f
return Retrying(*dargs, **dkw).call(f, *args, **kw)
File "/home/hpc/anaconda3/lib/python3.7/site-packages/gm/retrying.py", line 201, in call
raise attempt.get()
File "/home/hpc/anaconda3/lib/python3.7/site-packages/gm/retrying.py", line 239, in get
six.reraise(self.value[0], self.value[1], self.value[2])
File "/home/hpc/anaconda3/lib/python3.7/site-packages/six.py", line 693, in reraise
raise value
File "/home/hpc/anaconda3/lib/python3.7/site-packages/gm/retrying.py", line 189, in call
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
File "/home/hpc/anaconda3/lib/python3.7/site-packages/gm/api/query.py", line 360, in history
df=df)
File "/home/hpc/anaconda3/lib/python3.7/site-packages/gm/model/history.py", line 43, in get_history_bars
self._init_addr()
File "/home/hpc/anaconda3/lib/python3.7/site-packages/gm/model/history.py", line 27, in _init_addr
raise EnvironmentError("获取不到数据服务地址")
OSError: 获取不到数据服务地址

评论: 3
相关阅读
  • 问题反馈升级后点回测无反应
  • Looks like your connection to 掘金量化社区 - 量化交易者的策略交流学习社区 was lost, please wait while we try to reconnect.