{
 "schema_version": 1,
 "generated": "2026-10-25",
 "id": "openbq-org-openbb--query-financial-data-from-the-openbb-cli",
 "repo": "openbq-org/OpenBB",
 "repo_url": "https://github.com/openbq-org/OpenBB",
 "repo_slug": "openbq-org-openbb",
 "title": "Query financial data from the command line",
 "page_title": "How to query financial data from the command line with OpenBB",
 "summary": "Install the ODP CLI and pull data straight from your terminal.",
 "who": "A developer who wants quick data lookups without opening a notebook.",
 "problem": "Opening Python for every quick lookup breaks your flow.",
 "outcome": "Financial data queried and printed from the ODP CLI.",
 "steps": [
  "Run `pip install openbb-cli`",
  "Start the CLI and explore its menus",
  "Follow the CLI installation docs if you prefer cloning with `git clone https://github.com/OpenBB-finance/OpenBB.git`",
  "Add provider API keys for sources that need them"
 ],
 "agent_prompt": "Install openbq-org/OpenBB's CLI with pip install openbb-cli, look up price history for <ticker>, and tell me which commands you used.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The repo now lives under the openbq-org account, and older links to the previous account redirect there. Not financial advice: paper trade first, and remember you can lose money.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.10 to 3.14",
  "pip",
  "Optional API keys for the data providers you want to use",
  "For Workspace: a free OpenBB Workspace sign in"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/openbq-org-openbb/query-financial-data-from-the-openbb-cli/",
 "md": "https://dedupedai.com/use-cases/openbq-org-openbb/query-financial-data-from-the-openbb-cli/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/openbq-org-openbb--query-financial-data-from-the-openbb-cli.json",
 "api_version": "v1"
}
