openbb
OpenBB
Overview
OpenBB (Open Data Platform, repository OpenBB-finance/OpenBB, Apache-2.0) turns many financial data sources into one typed Python client (from openbb import obb), a FastAPI REST server (openbb-api) and an MCP server (openbb-mcp). Results are OBBject objects with .to_dataframe(), .to_dict() and .results. Checked against openbb 5.0.0 / openbb-core 2.0.1 (2026).
Version 5 is a modular rewrite: openbb-core ships no commands, and what you can call depends on which extension packages are installed. Older tutorials (4.x) rely on providers such as yfinance, fmp and polygon that are not part of 5.0; commands like obb.equity.fundamental.metrics and obb.equity.discovery.losers no longer exist. Always list what you have before writing code (see "Discover what is installed").
Instructions
Installation
python3 -m venv .venv && source .venv/bin/activate
pip install "openbb[routers]" # client + provider extensions + equity/economy/crypto/... routers
Plain pip install openbb installs the providers (cboe, nasdaq, sec, fred, oecd, ecb, imf, tmx, ...), obb.news, charting, the API and MCP servers, but not the equity, economy, crypto, currency, technical routers; those come with the [routers] extra or individual packages (pip install openbb-equity openbb-technical). After adding or removing an extension, openbb-build regenerates the static package (it also rebuilds on import).