* add snowflake integration video (#6339) * [HotFix] Fix broken URLs in docs page. (#6368) * Fix broken URLs * use full URL to other docs pages. * remove nest_asyncio.apply() * fix: sort tradingeconomics country choices * fix lint * fix: clean _callback function * assign to empty dict * feat: add licence to .toml files * fix: readmes * fix: add CLA url * release: 4.20 % dependencies * Skip deprecation test * lint * Sync with main (#6421) * add snowflake integration video (#6339) * [HotFix] Fix broken URLs in docs page. (#6368) * Fix broken URLs * use full URL to other docs pages. --------- Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com> Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> * pylint disable possibly-used-before-assignment * Update CLI toml --------- Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com> Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> Co-authored-by: Diogo Sousa <montezdesousa@gmail.com> Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
OpenBB Platform CLI
| OpenBB is committed to build the future of investment research by focusing on an open source infrastructure accessible to everyone, everywhere. |
|---|
![]() |
| Check our website at openbb.co |
Overview
The OpenBB CLI is a command line interface that wraps OpenBB Platform.
It offers a convenient way to interact with the OpenBB Platform and its extensions, as well as automate data collection via OpenBB Routine Scripts.
Find the most complete documentation, examples, and usage guides for the OpenBB Platform CLI here.
Installation
The command below provides access to the all the available OpenBB extensions behind the OpenBB Platform, find the complete list here.
pip install openbb-cli
Note: Find the most complete installation hints and tips here.
After the installation is complete, you can deploy the OpenBB CLI by running the following command:
openbb
Which should result in the following output:
API keys
To fully leverage the OpenBB Platform you need to get some API keys to connect with data providers. Here are the 3 options on where to set them:
- OpenBB Hub
- Local file
1. OpenBB Hub
Set your keys at OpenBB Hub and get your personal access token from https://my.openbb.co/app/platform/pat to connect with your account.
Once you log in, on the Platform CLI (through the
/accountmenu, all your credentials will be in sync with the OpenBB Hub.)
2. Local file
You can specify the keys directly in the ~/.openbb_platform/user_settings.json file.
Populate this file with the following template and replace the values with your keys:
{
"credentials": {
"fmp_api_key": "REPLACE_ME",
"polygon_api_key": "REPLACE_ME",
"benzinga_api_key": "REPLACE_ME",
"fred_api_key": "REPLACE_ME"
}
}
