Metadata-Version: 2.1
Name: repl-openbb
Version: 2.1.1
Summary: Investment Research for Everyone, Anywhere.
Home-page: https://openbb.co
License: MIT
Author: Didier Rodrigues Lopes
Requires-Python: >=3.8, !=2.7.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*, !=3.7.*, !=3.11.*
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Provides-Extra: all
Provides-Extra: doc
Provides-Extra: installer
Provides-Extra: jupyterlab
Provides-Extra: optimization
Provides-Extra: prediction
Requires-Dist: FundamentalAnalysis (>=0.2.6,<0.3.0)
Requires-Dist: GitPython (>=3.1.17,<4.0.0)
Requires-Dist: Jinja2 (>=3.0.3,<4.0.0)
Requires-Dist: Pygments (>=2.11.2,<3.0.0)
Requires-Dist: Quandl (>=3.6.0,<4.0.0)
Requires-Dist: Riskfolio-Lib (>=3.1.1,<4.0.0) ; extra == "optimization" or extra == "all"
Requires-Dist: alpha-vantage (>=2.3.1,<3.0.0)
Requires-Dist: ascii-magic (>=1.6,<2.0)
Requires-Dist: bs4 (>=0.0.1,<0.0.2)
Requires-Dist: bt (>=0.2.9,<0.3.0)
Requires-Dist: ccxt (>=1.91.60,<2.0.0)
Requires-Dist: charset-normalizer (==2.1.1)
Requires-Dist: degiro-connector (>=2.0.3,<3.0.0)
Requires-Dist: detecta (>=0.0.5,<0.0.6)
Requires-Dist: dnspython (>=2.1.0,<3.0.0)
Requires-Dist: docstring-parser (>=0.15,<0.16) ; extra == "doc"
Requires-Dist: feedparser (>=6.0.10,<7.0.0)
Requires-Dist: financedatabase (==1.0.2)
Requires-Dist: finnhub-python (>=2.4.10,<3.0.0)
Requires-Dist: finviz (>=1.3.4,<2.0.0)
Requires-Dist: finvizfinance (>=0.14.0,<0.15.0)
Requires-Dist: fred (>=3.1,<4.0)
Requires-Dist: fredapi (>=0.4.3,<0.5.0)
Requires-Dist: grpcio (<1.51.0)
Requires-Dist: holidays (>=0.14.2,<0.15.0)
Requires-Dist: html5lib (>=1.1,<2.0)
Requires-Dist: investiny (>=0.5.0,<0.6.0)
Requires-Dist: investpy (>=1.0.7,<2.0.0)
Requires-Dist: ipyflex (>=0.2.4,<0.3.0)
Requires-Dist: ipympl (>=0.8.2,<0.9.0)
Requires-Dist: ipython (==8.5.0)
Requires-Dist: ipywidgets (>=8.0.2,<9.0.0)
Requires-Dist: iso8601 (>=0.1.14,<0.2.0)
Requires-Dist: jedi-language-server (>=0.35.1,<0.36.0) ; extra == "jupyterlab"
Requires-Dist: jsonschema (>=3.2.0,<4.0.0)
Requires-Dist: jupyterlab (>=3.2.4,<4.0.0)
Requires-Dist: jupyterlab-code-formatter (>=1.4.10,<2.0.0) ; extra == "jupyterlab"
Requires-Dist: jupyterlab-lsp (>=3.10.1,<4.0.0) ; extra == "jupyterlab"
Requires-Dist: jupyterlab-widgets (>=3.0.3,<4.0.0)
Requires-Dist: linearmodels (>=4.25,<5.0)
Requires-Dist: matplotlib (>=3.3.3,<4.0.0)
Requires-Dist: mplfinance (>=0.12.7-alpha.7,<0.13.0)
Requires-Dist: numpy (==1.23.4)
Requires-Dist: oandapyV20 (>=0.6.3,<0.7.0)
Requires-Dist: openpyxl (>=3.0.9,<4.0.0)
Requires-Dist: packaging (>=22.0)
Requires-Dist: pandas (>=1.5.0,<2.0.0)
Requires-Dist: pandas-market-calendars (>=3.2,<3.3)
Requires-Dist: pandas-ta (>=0.3.14-beta.0,<0.4.0)
Requires-Dist: papermill (>=2.4.0,<3.0.0)
Requires-Dist: plotly (>=5.0.0,<6.0.0)
Requires-Dist: praw (>=7.1.4,<8.0.0)
Requires-Dist: prompt-toolkit (>=3.0.16,<4.0.0)
Requires-Dist: protobuf (==4.21.12)
Requires-Dist: psaw (>=0.0.12,<0.0.13)
Requires-Dist: pyEX (>=0.5.0,<0.6.0)
Requires-Dist: pyally (>=1.1.2,<2.0.0)
Requires-Dist: pycoingecko (>=2.2.0,<3.0.0)
Requires-Dist: pyinstaller (>=4.10,<5.0) ; extra == "installer"
Requires-Dist: pyrsistent (>=0.18.0,<0.19.0)
Requires-Dist: pythclient (>=0.1.2,<0.2.0)
Requires-Dist: python-binance (>=1.0.15,<2.0.0)
Requires-Dist: python-coinmarketcap (>=0.2,<0.3)
Requires-Dist: python-dotenv (>=0.19.2,<0.20.0)
Requires-Dist: python-i18n (>=0.3.9,<0.4.0)
Requires-Dist: pytorch-lightning (==1.6.5) ; extra == "prediction" or extra == "all"
Requires-Dist: pytrends (>=4.7.3,<5.0.0)
Requires-Dist: rapidfuzz (>=1.1.1,<2.0.0)
Requires-Dist: requests (>=2.25.1,<3.0.0)
Requires-Dist: rich (>=12.6.0,<13.0.0)
Requires-Dist: robin-stocks (>=2.0.3,<3.0.0)
Requires-Dist: ruamel.yaml (>=0.17.21,<0.18.0)
Requires-Dist: scipy (>=1.9.3,<2.0.0)
Requires-Dist: screeninfo (>=0.6.7,<0.7.0)
Requires-Dist: seaborn (>=0.11.0,<0.12.0)
Requires-Dist: sentiment-investor (>=2.0.0,<3.0.0)
Requires-Dist: setuptools (<65.5.0)
Requires-Dist: squarify (>=0.4.3,<0.5.0)
Requires-Dist: statsmodels (>=0.13,<0.14)
Requires-Dist: stocksera (>=0.1.21,<0.2.0)
Requires-Dist: streamlit (>=1.12.2,<2.0.0)
Requires-Dist: thepassiveinvestor (>=1.0.10,<2.0.0)
Requires-Dist: tokenterminal (>=1.0.1,<2.0.0)
Requires-Dist: torch (==1.11.0) ; extra == "prediction" or extra == "all"
Requires-Dist: tradingview-ta (>=3.2.3,<4.0.0)
Requires-Dist: u8darts[torch] (==0.22.0) ; extra == "prediction" or extra == "all"
Requires-Dist: vaderSentiment (==3.3.2)
Requires-Dist: valinvest (>=0.0.2,<0.0.3)
Requires-Dist: voila (>=0.3.0)
Requires-Dist: watchdog (>=2.1.9,<3.0.0)
Requires-Dist: yfinance (>=0.1.94,<0.2.0)
Project-URL: Documentation, https://docs.openbb.co/sdk
Project-URL: Repository, https://github.com/OpenBB-finance/OpenBBTerminal
Description-Content-Type: text/markdown

---
title: Installation
sidebar_position: 2
---

# 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](requirements.md) before proceeding.
:::

### 1. **Install [Miniconda](https://docs.conda.io/en/latest/miniconda.html)**

   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**

```bash
conda create -n obb python=3.9.6 -y
```

### 3. **Activate the virtual environment**

```bash
conda activate obb
```

### 4. **Install OpenBB SDK Core package**

```bash
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
```bash
conda install -c conda-forge cvxpy=1.2.2 -y
```
:::


Install the Portfolio Optimization Toolkit

```bash
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
```bash
conda install -c conda-forge lightgbm=3.3.3 -y
```
:::

Install the Forecasting Toolkit

```bash
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
```bash
conda install -c conda-forge lightgbm=3.3.3 cvxpy=1.2.2 -y
```
:::

Install all Toolkits

```bash
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:

```bash
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](https://docs.openbb.co/sdk/guides/basics) guides. By following the above process, the [OpenBB Terminal](https://docs.openbb.co/terminal) is automatically included as well which can be ran by typing `openbb`.


