Skip to content

获取股票历史数据(以中国银行为例)运行失败 #10

Description

@zhoup15

(一)终端运行报错
[Unexpected Error] -> ConnectionError -> ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
(二)python运行报错
Traceback (most recent call last):
File "c:\Users\Administrator.openbb_platform\providers\tets.py", line 8, in
data = obb.equity.price.historical(symbol=symbol, start_date=start, end_date=end,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\OpenBB\conda\envs\a-stock\Lib\site-packages\openbb_core\app\static\utils\decorators.py", line 102, in wrapper
raise OpenBBError(
File "C:\Users\Administrator\OpenBB\conda\envs\a-stock\Lib\site-packages\requests\adapters.py", line 659, in send
raise ConnectionError(err, request=request)
openbb_core.app.model.abstract.error.OpenBBError:
[Unexpected Error] -> ConnectionError -> ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

使用OpenBB CLI获取中国银行财务数据案例运行正常。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions