Actively developed

OpenBB guide

OpenBB began as a community “Bloomberg terminal” and became a data integration layer for research.

Last reviewed · Also known as OpenBB Platform, OpenBB Terminal

Quick answer

OpenBB is an open-source investment research platform. Its Python package (openbb) exposes a single, consistent interface to dozens of data providers such as FMP, Polygon/Massive, Intrinio, FRED, SEC, Yahoo Finance and Benzinga, covering equities, options, crypto, FX, fixed income, macro and news. Provider keys are configured once; OpenBB Workspace adds a hosted UI.

OpenBB at a glance

Category
Broker, exchange & data libraries
Language
Python
License
AGPL-3.0
Does
Market data, Performance analytics
Markets
Stocks, ETFs, Options, Crypto, Forex, Bonds, Macro & economic, Fundamentals, News
Best for
Research across many data vendors through one API.
In AlgoGP
Use the exported strategy object from your own code

Pick it if

Research across many data vendors through one API.

Watch out for

Data quality depends on the underlying provider and your keys.

OpenBB strengths and limitations

Strengths

  • Many providers behind one interface.
  • Standardized outputs.
  • Extensions and a REST server.

Limitations

  • Data quality depends on the underlying provider and your keys.
  • Not a backtesting or execution engine.

OpenBB example

pip install openbb
Install
from openbb import obb
df = obb.equity.price.historical("AAPL", start_date="2024-01-01", provider="yfinance").to_df()
print(df.tail())
Historical prices via a chosen provider.

Use OpenBB with AlgoGP

AlgoGP does not add OpenBB to projects automatically yet, but nothing stops you using them together. Every AlgoGP project exports plain Python with a framework-neutral strategy object, so you can call it from OpenBB yourself.

  1. 1

    Design and backtest in AlgoGP

    Describe the idea to the copilot and backtest it on AlgoGP’s normalized history.

  2. 2

    Add any bridge to get the adapter core

    Adding a bridged framework (for example Backtrader) writes frameworks/algogp_bridge.py, whose StrategyBridge.on_bar() returns the orders the strategy wants.

  3. 3

    Call it from OpenBB

    Feed OpenBB’s bars to StrategyBridge, place the returned orders with OpenBB, and report fills back with sync().

OpenBB connects to Massive (Polygon.io), Financial Modeling Prep, Alpha Vantage, Tiingo, Intrinio, FRED (St. Louis Fed), SEC EDGAR, Yahoo Finance, Benzinga, Tradier. Each guide shows how to create the API key, which you can store in the project’s Keys & secrets.

OpenBB: frequently asked questions

Is OpenBB free?

The platform is AGPL-3.0 open source; some data providers and OpenBB Workspace tiers are paid.

OpenBB alternatives

Independent guide. AlgoGP is not affiliated with OpenBB. Features, licenses and maintenance change; check the official documentation. Nothing here is investment advice.

Build a strategy