核心内容摘要
HD老少同乐共享高清影视,畅享家庭时光,温馨陪伴,快乐无限
首个免费且完全开源的金融平台repohttps://github.com/OpenBB-finance/OpenBB手册https://docs.openbb.co/odp/python/quickstartagent:https://github.com/OpenBB-finance/agents-for-openbb提供股票、期权、加密货币、外汇、宏观经济、固定收益等多种金融工具的访问权限并提供广泛的扩展功能以满足用户的不同需求。
注册 OpenBB Hub充分利用 OpenBB 生态系统。
还开源了一个可以访问 OpenBB 中所有数据的 AI 金融分析师代理该存储库可以在此找到这里。
安装OpenBB 平台可以通过运行pip install openbb作为 PyPI 包 安装。
或者直接通过git clone https://github.com/OpenBB-finance/OpenBB.git克隆仓库。
请在 OpenBB 文档 中了解更多关于安装过程的信息。
OpenBB 平台 CLI 安装OpenBB 平台 CLI 是一个命令行界面允许您直接从终端访问 OpenBB 平台。
可以通过运行pip install openbb-cli安装。
或者直接通过git clone https://github.com/OpenBB-finance/OpenBB.git克隆仓库。
请在 OpenBB 文档 中了解更多关于安装过程的信息。
OpenBB 平台 CLI 提供了之前 OpenBB Terminal 的替代方案它具有相同的界面和感受同时提供了 OpenBB 平台的性能和可扩展性。
实践安装openbb平台pip install openbb安装命令行界面pip install openbb-cli测试python脚本from openbb import obb output obb.equity.price.historical(AAPL) df output.to_dataframe()看看拿到的信息 df open high low close volume date
2
39
39
38
38 2024993600
5
38
40
38
40 5530257600
6
40
40
39
40 7130872000
7
40
41
39
41 8216241600
8
41
42
41
42 6444244800 ... ... ... ... ... ...
6
2
42
2
56
2
80
2
41 55969234
7
2
15
2
95
2
21
2
27 49648271
8
2
65
2
86
2
51
2
44 41287971
9
2
96
2
65
2
41
2
28 67253009
0
2
14
2
90
2
18
2
48 92443408 [5558 rows x 5 columns]启动服务openbb-apiThis will launch a FastAPI server, via Uvicorn, at
127.
0.
1:
You can check that it works by going to http://
127.
0.
1:
第一次启动很慢To access this data from OpenBB Workspace, use the link displayed after the application startup completes. Chrome is the recommended browser. Other browsers may conflict or require additional configuration. Documentation is available at /docs. INFO: Started server process [56871] INFO: Waiting for application startup. INFO: ███╗ █████████████████╔══█████████████████╗ OpenBB Platform v
4.
0dev ███╔══════════███║ ███╔══════════███║ █████████████████║ █████████████████║ Authentication: DISABLED ╚═════════════███║ ███╔═════════════╝ ██████████████║ ██████████████╗ ███╔═══════███║ ███╔═══════███║ ██████████████║ ██████████████║ ╚═════════════╝ ╚═════════════╝ Investment research for everyone, anywhere. https://my.openbb.co/app/platform INFO: Application startup complete. INFO: Uvicorn running on http://
127.
0.
1:6900 (Press CTRLC to quit)我发现也绑定到
0.
0.
0了。
远程用浏览器打开
192.
168.
12:6900,页面如下改变端口和地址Defaults are, --host
127.
0.
1 --port 6900本地用openbb-cli连接安装pip install openbb-cli安装好后没有openbb-cli这个命令啊网上服务地址https://pro.openbb.co/app你好帮我看下近一个月600000指数走势分析一下。
网上服务但是调用自己架设的服务Sign in to OpenBB WorkspaceNavigate to the Apps tabClick on Connect backendFill in the form with:Name: OpenBB PlatformURL:http://
127.
0.
1:6900Click on Test - You should see Test successful with the number of apps foundClick on Add to complete the integration我这里自己架设的在
192.
168.
12所以填的是http://
192.
168.