试图读取Google Colab中的Bloomberg数据(一段时间以来一直在通过anaconda使用python中的Bloomberg数据)。有什么想法如何在Colab环境中加载它吗? ^非常感谢您!
!python -m pip install --index-url = https://bloomberg.bintray.com/pip/simple blpapi
显示以下内容
Looking in indexes: https://bloomberg.bintray.com/pip/simple
Collecting blpapi
Downloading https://bloomberg.bintray.com/pip/simple/blpapi/blpapi-3.14.0.tar.gz (221kB)
|████████████████████████████████| 225kB 3.7MB/s
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
答案 0 :(得分:0)
我不知道您是否可以直接从提供的URL下载它,但是google Collab本身提供了Bloomberg Open API。
(命令:!pip install pdblp)
(在此处记录:https://pypi.org/project/pdblp/)