Skip to main content

Investment Research for Everyone, Anywhere.

Project description


title: Installation sidebar_position: 2 description: The OpenBB SDK can be directly installed on your computer via our installation instructions. Within this section, you are guided through the installation process and how to launch the program. If you struggle with the installation process, please don’t hesitate to reach us on Discord or visit our contact page. keywords: [installation, installer, install, guide, mac, windows, linux, python, github, macos, how to, explanation, openbb sdk]

Installation

We provide a simple installation method in order to utilize the OpenBB SDK. You must first create an environment, which allows you to isolate the SDK from the rest of your system. It is our recommendation that you utilize a conda environment because there are optional features, such as forecast, that utilize libraries that are specifically sourced from conda-forge. Due to this, if you do not use a conda environment, you will not be able to use some of these features. As such, the installation steps will be written under the assumption that you are using conda.

Steps

:::note NOTE Make sure you meet all requirements before proceeding. :::

Follow along with the instructions of the video or use the steps below to use the OpenBB SDK:

<iframe width="100%" height="450" src="https://www.youtube.com/embed/gQu6Paz5xN4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

1. Install Miniconda

Download the x86_64 Miniconda for your respective system and follow along with it's installation instructions. The Miniconda architecture MUST be x86_64 in order to use certain features.

2. Create the virtual environment

conda create -n obb python=3.9.6 -y

3. Activate the virtual environment

conda activate obb

4. Install OpenBB SDK Core package

pip install openbb

5. (Optional) Install the Toolkits

5.1 If you would like to use the Portfolio Optimization features

:::note NOTE If on Apple Silicon Macs (M1/M2) you will need to install dependency from conda-forge first

conda install -c conda-forge cvxpy=1.2.2 -y

:::

Install the Portfolio Optimization Toolkit

pip install "openbb[optimization]"

5.2 If you would like ML Forecasting features

:::note NOTE If on Apple Silicon Macs (M1/M2) you will need to install the dependency from conda-forge first

conda install -c conda-forge lightgbm=3.3.3 -y

:::

Install the Forecasting Toolkit

pip install "openbb[prediction]"

5.3 If you would like to use both Portfolio Optimization and ML forecast features

:::note NOTE If on Apple Silicon Macs (M1/M2) you will need to install the dependencies from conda-forge first

conda install -c conda-forge lightgbm=3.3.3 cvxpy=1.2.2 -y

:::

Install all Toolkits

pip install "openbb[all]"

Congratulations! You have successfully installed openbb on an environment and are now able to begin using it. However, it is important to note that if you close out of your CLI you must re-activate your environment in order begin using it again. This can be done with the following:

conda activate obb

The OpenBB SDK can be imported to a Jupyter Notebook or any code editor with, from openbb_terminal.sdk import openbb as explained in the How to use the SDK guides. By following the above process, the OpenBB Terminal is automatically included as well which can be ran by typing openbb.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openbb-2.3.0.tar.gz (6.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openbb-2.3.0-py3-none-any.whl (7.2 MB view details)

Uploaded Python 3

File details

Details for the file openbb-2.3.0.tar.gz.

File metadata

  • Download URL: openbb-2.3.0.tar.gz
  • Upload date:
  • Size: 6.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.15 CPython/3.9.15 Linux/5.15.0-58-generic

File hashes

Hashes for openbb-2.3.0.tar.gz
Algorithm Hash digest
SHA256 8c4daa1723464649005cb62b66cf92e808f5c95bf91268806781741c2c38aa26
MD5 1dfdaff25dbcc0138353887f11ef6d41
BLAKE2b-256 bc27ec8dddcb39a7f57bbf9d0e944b02af57089d0b59485f7b562457d14261a5

See more details on using hashes here.

File details

Details for the file openbb-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: openbb-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.15 CPython/3.9.15 Linux/5.15.0-58-generic

File hashes

Hashes for openbb-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff902059a2bdc5688e716faa7943529331f6f270b3e8d1ea7c42f9c3f7e11f2d
MD5 d80f4fb9173d4591330ccb51070c942c
BLAKE2b-256 1bc0d23d5b4309586bd47bd887639644dd5fa8420f9e7aec27ef04507822bc38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page