OpenBB-finance/OpenBB
Financial data platform for analysts, quants and AI agents.
OpenBB is an open-source Python platform for financial data access, analysis, and AI-powered research. It connects to dozens of data providers covering stocks, crypto, options, derivatives, and fixed income -- a free Bloomberg Terminal alternative for analysts and quants in 2026.
Our Review
Didier Lopes built the first version of what became OpenBB in early 2021, during the WallStreetBets and GameStop short squeeze -- initially called the Gamestonk Terminal, a reference to both GameStop and Elon Musk's "Gamestonk!!" tweet. The premise was that retail traders and small quant teams should not need a $2,000/month Bloomberg Terminal to access structured financial data. The terminal grew into a platform, rebranded as OpenBB in 2022, and by 2026 had crossed 67,000 GitHub stars as the reference open-source financial data stack for analysts and increasingly for AI agents that need market data as a tool.
Key capabilities
- •Unified data access: one API connects to dozens of data providers across equities, crypto, options, fixed income, derivatives, and macroeconomic data
- •AI agent integration: the OpenBB Platform exposes financial data as tool-callable endpoints that AI agents can query directly, making it a data layer for financial AI workflows
- •Quant-ready: returns structured data (Pandas DataFrames, JSON) that plugs directly into quantitative analysis notebooks and pipelines
- •Extensibility: OpenBB Hub lets developers publish custom data connectors and widgets as community extensions
- •Python SDK and REST API: access all data programmatically from notebooks, scripts, or orchestration systems
- •Dashboard: a web-based terminal with pre-built charts, screeners, and financial report views for analysts who prefer a GUI
Getting started
pip install openbb. Import with from openbb import obb, authenticate with obb.account.login(), and query data with obb.equity.price.historical("AAPL"). No API keys required for community-tier data; premium data sources require provider-specific API keys configured in the environment.
Limitation
Real-time intraday data for equities and options requires paid subscriptions to data providers (Polygon, Intrinio, Alpha Vantage) -- the free tier covers end-of-day historical data. Some data provider integrations are community-maintained and may lag the main release. OpenBB is a data access layer, not a backtesting or execution framework -- order execution requires integration with a broker API separately.
Our Verdict
OpenBB earns its 67,000 GitHub stars by delivering on a simple but valuable proposition: unified, Python-native access to financial data across asset classes, data providers, and time horizons. For a quant team or analyst who currently manages five different API integrations -- one for equities, one for options, one for crypto, one for macro -- replacing them with a single obb.* interface is a meaningful productivity improvement.
The AI agent integration angle is the most interesting development in 2026. OpenBB's data endpoints are structured as tool-callable APIs, which means financial AI agents can query market data, earnings reports, and economic indicators the same way they call any other tool. For teams building research agents or portfolio analysis workflows on top of LLMs, OpenBB provides the data layer without requiring the agent to scrape or parse financial websites.
The ceiling is in real-time and execution capabilities. OpenBB solves the data access problem cleanly, but does not replace a broker API for execution or a dedicated backtesting framework like Backtrader for strategy validation. Teams building a complete quantitative trading pipeline still need to compose OpenBB with those additional components -- it is the right data foundation for that stack in 2026, but not the whole stack.
Frequently Asked Questions
What is OpenBB and how does it compare to a Bloomberg Terminal?
OpenBB is an open-source Python platform that provides unified access to financial data across equities, crypto, options, fixed income, and macroeconomic indicators. Bloomberg Terminal costs $2,000-$2,500 per month per user and is a fully managed closed platform. OpenBB is free for community data, extensible via the OpenBB Hub, and designed to integrate with Python analysis workflows. It does not replicate Bloomberg's execution, messaging, or real-time streaming capabilities, but covers the data access and analysis use case for most quant and analyst workflows in 2026.
Does OpenBB provide real-time market data?
OpenBB supports real-time data through third-party data provider integrations (Polygon.io, Intrinio, Alpha Vantage) that require separate API subscriptions. The community tier without paid subscriptions provides end-of-day historical data, earnings, economic indicators, and other non-real-time datasets. For professional use cases requiring tick data or sub-minute intraday data, you connect your existing data provider credentials to OpenBB rather than using a default data source in 2026.
How does OpenBB work with AI agents?
OpenBB exposes its financial data as tool-callable REST API endpoints and Python functions. An AI agent can call obb.equity.price.historical() or obb.economy.indicators() the same way it calls any other tool -- querying specific tickers, date ranges, or indicators as part of a research or analysis workflow. This makes OpenBB a natural data layer for financial AI agents that need structured market data without scraping or parsing financial websites in 2026.
Can I use OpenBB for backtesting trading strategies?
OpenBB is a data platform, not a backtesting engine. It provides the historical OHLCV data, financials, and indicators that a backtest needs, but you need a separate backtesting framework -- Backtrader, VectorBT, or Zipline -- to run strategy simulations. The typical pattern is to use OpenBB to pull and clean the historical data, then pass it to your backtesting library. OpenBB has adapter examples in its documentation for this workflow in 2026.
How do I extend OpenBB with a custom data source?
OpenBB uses a router pattern where data providers register as extensions via the OpenBB Hub. To add a custom data source: implement the provider interface (a Python class with defined inputs/outputs), register it in the router, and it becomes callable via obb.your_provider.endpoint(). Community-contributed providers are published to the OpenBB Hub and installable via pip. This makes it possible to add proprietary or niche data sources without forking the core platform in 2026.
What is OpenBB?
OpenBB is an open-source Python platform for financial data access, analysis, and AI-powered research. It connects to dozens of data providers covering stocks, crypto, options, derivatives, and fixed income -- a free Bloomberg Terminal alternative for analysts and quants in 2026.
What license does OpenBB use?
OpenBB uses the MIT license.
What are alternatives to OpenBB?
Explore related tools and alternatives on My AI Guide.
Open source & community-verified
MIT licensed: free to use in any project, no strings attached. 67,844 developers have starred this, meaning the community has reviewed and trusted it.
Reviewed by My AI Guide for relevance, quality, and active maintenance before listing.
Topics