OpenBB-finance

    OpenBB-finance/OpenBB

    #347 this week

    Financial data platform for analysts, quants and AI agents.

    ai
    cryptography
    machine-learning
    crypto
    derivatives
    economics
    equity
    finance
    Python
    NOASSERTION
    66.7K stars
    6.7K forks
    66.7K GitHub watchers
    Updated 5/4/2026
    View on GitHub

    Backblaze Generative Media Hackathon

    Build the next generation of AI media apps with Genblaze, stored on Backblaze B2. $10,000 in prizes.

    Enter the hackathon

    Loading star history...

    Use Cases & Benefits

    • OpenBB is an open-source Python financial data platform for analysts, quants, and AI agents, providing access to equities, options, crypto, forex, macroeconomics, and fixed income data.
    • Key features include integration with multiple data vendors, a Python API, CLI interface, FastAPI backend, and AI agent support, leveraging technologies like FastAPI, Uvicorn, and Python 3.9+.
    • Strengths are its extensive data coverage, open-source nature, and active community; limitations include potential data accuracy issues and reliance on external data providers.
    • With over 51,000 stars and 4,800 forks since 2020, OpenBB shows strong adoption and community engagement in the quantitative finance and AI finance space.
    • Ideal for financial analysts, quantitative researchers, and AI developers seeking a customizable, extensible platform for financial data analysis and AI-driven investment strategies.

    About OpenBB


    OpenBB Platform logo OpenBB Platform logo

    Twitter Discord Shield Open in Dev Containers Open In Colab PyPI

    The first financial Platform that is open source.

    The OpenBB Platform offers access to equity, options, crypto, forex, macro economy, fixed income, and more while also offering a broad range of extensions to enhance the user experience according to their needs.

    Get started with: pip install openbb

    from openbb import obb
    output = obb.equity.price.historical("AAPL")
    df = output.to_dataframe()
    

    You can sign up to the OpenBB Hub to get the most out of the OpenBB ecosystem.

    Data integrations available can be found here: https://docs.openbb.co/platform/reference


    OpenBB Workspace

    While the OpenBB Platform is all about an integration to dozens of different data vendors, the interface is either Python or a CLI.

    If you want an enterprise UI to visualize this datasets and use AI agents on top, you can find OpenBB Workspace at https://pro.openbb.co.

    Logo

    Data integration:

    AI Agents integration:

    Integrating OpenBB Platform to the OpenBB Workspace

    Connect this library to the OpenBB Workspace with a few simple commands, in a Python (3.9.21 - 3.12) environment.

    Run OpenBB Platform backend

    • Install the packages.
    pip install "openbb[all]"
    
    • Start the API server over localhost.
    openbb-api
    

    This will launch a FastAPI server, via Uvicorn, at 127.0.0.1:6900.

    You can check that it works by going to http://127.0.0.1:6900.

    Integrate OpenBB Platform backend to OpenBB Workspace

    Sign-in to the OpenBB Workspace, and follow the following steps:

    CleanShot 2025-05-17 at 09 51 56@2x

    1. Go to the "Apps" tab
    2. Click on "Connect backend"
    3. Fill in the form with: Name: OpenBB Platform URL: http://127.0.0.1:6900
    4. Click on "Test". You should get a "Test successful" with the number of apps found.
    5. Click on "Add".

    That's it.


    Table of Contents

    1. Installation
    2. Contributing
    3. License
    4. Disclaimer
    5. Contacts
    6. Star History
    7. Contributors

    1. Installation

    The OpenBB Platform can be installed as a PyPI package by running pip install openbb

    or by cloning the repository directly with git clone https://github.com/OpenBB-finance/OpenBB.git.

    Please find more about the installation process, in the OpenBB Documentation.

    OpenBB Platform CLI installation

    The OpenBB Platform CLI is a command-line interface that allows you to access the OpenBB Platform directly from your command line.

    It can be installed by running pip install openbb-cli

    or by cloning the repository directly with git clone https://github.com/OpenBB-finance/OpenBB.git.

    Please find more about the installation process in the OpenBB Documentation.

    2. Contributing

    There are three main ways of contributing to this project. (Hopefully you have starred the project by now ⭐️)

    Become a Contributor

    Create a GitHub ticket

    Before creating a ticket make sure the one you are creating doesn't exist already here

    Provide feedback

    We are most active on our Discord, but feel free to reach out to us in any of our social media for feedback.

    3. License

    Distributed under the AGPLv3 License. See LICENSE for more information.

    4. Disclaimer

    Trading in financial instruments involves high risks including the risk of losing some, or all, of your investment amount, and may not be suitable for all investors.

    Before deciding to trade in a financial instrument you should be fully informed of the risks and costs associated with trading the financial markets, carefully consider your investment objectives, level of experience, and risk appetite, and seek professional advice where needed.

    The data contained in the OpenBB Platform is not necessarily accurate.

    OpenBB and any provider of the data contained in this website will not accept liability for any loss or damage as a result of your trading, or your reliance on the information displayed.

    All names, logos, and brands of third parties that may be referenced in our sites, products or documentation are trademarks of their respective owners. Unless otherwise specified, OpenBB and its products and services are not endorsed by, sponsored by, or affiliated with these third parties.

    Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.

    5. Contacts

    If you have any questions about the platform or anything OpenBB, feel free to email us at [email protected]

    If you want to say hi, or are interested in partnering with us, feel free to reach us at [email protected]

    Any of our social media platforms: openbb.co/links

    6. Star History

    This is a proxy of our growth and that we are just getting started.

    But for more metrics important to us check openbb.co/open.

    Star History Chart

    7. Contributors

    OpenBB wouldn't be OpenBB without you. If we are going to disrupt financial industry, every contribution counts. Thank you for being part of this journey.

    Discover Repositories

    Search across tracked repositories by name or description