Skip to main content

Investment Research for Everyone, Anywhere.

Project description

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

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

On Apple Silicon Macs (M1/M2) install dependency from conda-forge

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

And install the Portfolio Optimization Toolkit

pip install "openbb[optimization]"

5.2 If you would like ML Forecasting features

On Apple Silicon Macs (M1/M2) install dependency from conda-forge

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

And install the Forecasting Toolkit

pip install "openbb[prediction]"

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

On Apple Silicon Macs (M1/M2) install dependencies from conda-forge

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

And install the Both 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.0.0.tar.gz (6.9 MB view details)

Uploaded Source

Built Distribution

openbb-2.0.0-py3-none-any.whl (7.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openbb-2.0.0.tar.gz
  • Upload date:
  • Size: 6.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.15 Windows/10

File hashes

Hashes for openbb-2.0.0.tar.gz
Algorithm Hash digest
SHA256 15799cce20cf3a14c326519ae0ee4726ee15aa9553cbe86618248bcadbf5c002
MD5 52d9757e9057c26bbb7851981f599b6c
BLAKE2b-256 77b0ab6d52b73e080a55b4b63d67792bc4d4f00e3103651d850fbb4ae13d99ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openbb-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.15 Windows/10

File hashes

Hashes for openbb-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4c74ea03bea21e0fff6feef2f2300bacbcddf650be73c8421f9339d04033a03
MD5 fa3582ec22ae834da6883d99e7ed1484
BLAKE2b-256 ebd9ac67bc37281eb86d17a19aaca707d7e08c6e5821ce60372839c727278b7e

See more details on using hashes here.

Supported by

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