1. Project Overview & Quickstart (OpenBB-finance/OpenBB)
[](https://pypi.org/project/openbb/)Open Data Platform by OpenBB (ODP) is the open-source toolset that helps data engineers integrate proprietary, licensed, and public data sources into downstream applications like AI copilots and research dashboards.
ODP operates as the "connect once, consume everywhere" infrastructure layer that consolidates and exposes data to multiple surfaces at once: Python environments for quants, OpenBB Workspace and Excel for analysts, MCP servers for AI agents, and REST APIs for other applications.
Get started with: pip install openbb
from openbb import obb
output = obb.equity.price.historical("AAPL")
df = output.to_dataframe()Data integrations available can be found here: https://docs.openbb.co/python/reference
OpenBB Workspace
While the Open Data Platform provides the open-source data integration foundation, OpenBB Workspace offers the enterprise UI for analysts to visualize datasets and leverage AI agents. The platform's "connect once, consume everywhere" architecture enables seamless integration between the two.
You can find OpenBB Workspace at https://pro.openbb.co.
Data integration:
- You can learn more about adding data to the OpenBB workspace from the docs or this open source repository.
AI Agents integration:
- You can learn more about adding AI agents to the OpenBB workspace from this open source repository.
Integrating Open Data 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 an ODP backend
- Install the packages.
pip install "openbb[all]"- Start the API server over localhost.
openbb-apiThis 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 the ODP Backend to OpenBB Workspace
Sign-in to the OpenBB Workspace, and follow the following steps:
- Go to the "Apps" tab
- Click on "Connect backend"
- Fill in the form with:
Name: Open Data Platform
URL: http://127.0.0.1:6900 - Click on "Test". You should get a "Test successful" with the number of apps found.
- Click on "Add".
That's it.
Table of Contents
- [Installation](#1-installation)
- [Contributing](#2-contributing)
- [License](#3-license)
- [Disclaimer](#4-disclaimer)
- [Contacts](#5-contacts)
- [Star History](#6-star-history)
- [Contributors](#7-contributors)
1. Installation
The ODP Python Package can be installed from 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.
ODP CLI installation
The ODP CLI is a command-line interface that allows you to access the ODP 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
- More information on our Developer Documentation.
Create a GitHub ticket
Before creating a ticket make sure the one you are creating doesn't exist already among the existing issues
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 Open Data 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.
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.
2. Official Technical Reference & Guides (OpenBB-finance/OpenBB-docs)
OpenBB Documentation Website
This repository contains the source code for the OpenBB Documentation Website.
The website was built using Docusaurus, a modern static website generator and TailwindCSS as styling solution. It uses algolia search for the search bar.
The final website can be found at https://docs.openbb.co.
Folder Structure
โโโ content # Markdown files
โ โโโ cli
โ โโโ excel
โ โโโ platform
โ โโโ pro
โ โโโ sdk
โ โโโ workspace
...
โโโ scripts
โ โโโ generate_excel_markdown.py
โ โโโ generate_platform_markdown.py
โ โโโ generate_widgets_library.py
...
โโโ src # react stuff for website
โโโ static # static filesMarkdown files
The markdown files are used to generate the website. The markdown files are located in the content folder. These files are generated with python scripts that can be found in scripts and should not be edited manually.
Syntax sugar
Code blocks
Code blocks are generated using the default markdown syntax:
print("Hello World")To generate a dynamic date for a certain code block (useful for options examples that need to have a valid date), you can use 2022-07-29 as a placeholder. The script will replace it with the third friday of the next month.
/op oichart ticker:AMD expiry:2022-07-29Run locally
Prerequisites
- Node.js >= 16.13.0
To check if you have Node.js installed, run this command in your terminal:
node --version # should be v16.13.0 or higherInstall dependencies
npm installStart development server
npm startThis command starts a local development server and open up a browser window in http://localhost:3000. Most changes are reflected live without having to restart the server.
Build
npm run buildThis command generates static content into the build directory and can be served using any static contents hosting service. We use Github Pages to host our website. It's deployed in the gh-pages branch.
Run tests
pytest tests/website --autodocIf tests are run locally, the
--autodocflag is required, otherwise tests will be skipped.
To install necessary dependencies for tests, runpoetry install -E docin the root directory of the repository.
Notes
iFrame
We are detecting whether the website is loaded inside an iframe. If it is, we are hiding the header and footer. This is done to have a better integration with our hub website.
Contributing
We welcome contributions to the OpenBB Documentation Website.