-
-Once you enter the type of investor you are, the organization you work at and your email address pressing "GET FREE API KEY" gets you the key that you can submit into the OpenBB SDK with `openbb.keys.av`
-
-
-These instructions should provide clear guidance how to set up an API Key. Enter this API key into the OpenBB SDK by typing `openbb.keys.binance`.
-
-
-Click "Try GraphQL API". This opens the following screen:
-
-
-
-After creating an account and verifying your email address, you will be able to access your API Key by clicking "Api Key". Enter this API key into the OpenBB SDK by typing `openbb.keys.bitquery`.
-
-
-
-
-From here, click "Get Your Free API Key Now". This opens up the following screen:
-
-
-
-Once you have created an account, you will be able to find your API key in the following screen. Enter this API key into the OpenBB SDK by typing `openbb.keys.cmc`
-
-
-
-
-By following these instructions you should be able to set-up an API Key. Enter this API key into the OpenBB SDK by typing `openbb.keys.coinbase`.
-
-
-Click "Log in" and sign up for an account. This opens up the following screen:
-
-
-
-Once you created your account, you will be able to find the API Key on your profile. Enter this API key into the OpenBB SDK by typing `openbb.keys.coinglass`.
-
-
-Click "Sign up" under "Your free API auth token". This opens up the following screen:
-
-
-
-Once you have created your account, your API Key will be displayed under "Your free API auth token". Enter this API key into the OpenBB SDK by typing `openbb.keys.cpanic`.
-
-
-
-
-Click "Sign up" and go to the registrations process. After setting up your account you will be able to use this broker by entering your username and password in the OpenBB SDK as follows `openbb.keys.degiro`. We also support 2FA, you can find more information about that [here](https://github.com/Chavithra/degiro-connector#35-how-to-use-2fa-).
-
-
-Click "Registration". This opens up the following screen:
-
-
-
-Once you have registered, you can find the API Key next to "API TOKEN". Enter this API key into the OpenBB SDK by typing `openbb.keys.cpanic`.
-
-
-
-
-Press "Get free api key". This opens up the following screen:
-
-
-
-Once you have created an account, you will be able to find your API key in the following screen. Enter this API key into the OpenBB SDK by typing `openbb.keys.finnhub`
-
-
-
-
-From here, press "Get my API KEY here". This opens up the following screen:
-
-
-
-If you already have an account, you can sign-in directly and obtain the API key, otherwise click "Sign Up". Once you have created an account you can access your API Key by pressing the "Dashboard" button which will show the API key. Enter this API key into the OpenBB SDK by typing `openbb.keys.fmp`
-
-
-
-
-Click on "My Account". This opens up the following screen:
-
-
-
-Once you have signed up, go to "My Account" and select "API Keys". This will get you to the following screen:
-
-
-
-Click on "Request API Key" and fill in information about why you wish to use FRED. Then, by pressing "Request API key" you will be able to obtain the API key. Enter this API key into the OpenBB SDK by typing `openbb.keys.fred`
-
-
-
-
-Click "Sign up" and create an account with GitHub. Once you have done so go to as depicted below: https://github.com/settings/apps
-
-
-
-Press "New GitHub App". This opens up the following screen:
-
-
-
-Once the app is created you are able to obtain the API Key. Enter this API key into the OpenBB SDK by typing `openbb.keys.github`.
-
-
-Click on "Sign up". This opens up the following screen:
-
-
-
-After you have created your account, go to https://studio.glassnode.com/settings/api where you can create your API Key. Enter this API key into the OpenBB SDK by typing `openbb.keys.glassnode`.
-
-
-
-
-Press "Sign up". This opens up the following screen:
-
-
-
-Once you have signed up, go to https://messari.io/account/api where you will be able to find your API Key. Enter this API key into the OpenBB SDK by typing `openbb.keys.messari`.
-
-
-
-
-Press "Get API Key". This opens up the following screen:
-
-
-
-Register for an account. The next screen will provide you with the API Key. Enter this API key into the OpenBB SDK by typing `openbb.keys.news`
-
-
-
-
-After you have created an account with Oanda, you will be able to find the API key by following the steps below. After setting up your account you will be able to use this broker by entering your username and password in the OpenBB SDK as follows `openbb.keys.oanda`.
-
-
-
-
-Press the button "Get your Free API Key". This opens up the following screen:
-
-
-
-Once signed up you will find the API Key at the bottom. Enter this API key into the OpenBB SDK by typing `openbb.keys.polygon`
-
-
-
-
-From here, click "Sign Up" at the top. This opens up the following screen:
-
-
-
-Follow the sign-up instructions and once you have signed up you will be able to retrieve your API key. Enter this API key into the OpenBB SDK by typing `openbb.keys.quandl`
-
-
-
-
-Press "Read the full API terms and sign up for usage" and start the sign-up process. This opens up the following screen:
-
-
-
-Once you have filled out everything, you will receive an email when your application is approved. Once this is approved you will receive the necessary information that needs to be entered in the OpenBB SDK. Enter these into the OpenBB SDK by typing `openbb.keys.reddit`.
-
-
-Click "Sign up" and go to the registrations process. After setting up your account you will be able to use this broker by entering your username and password in the OpenBB SDK as follows `openbb.keys.rh`.
-
-
-Click "Sign up". This opens up the following screen:
-
-
-
-After creating an account go to https://app.santiment.net/account#api-keys and generate a key. Enter this API key into the OpenBB SDK by typing `openbb.keys.santiment`.
-
-
-
-
-Click "Mint Your ShroomDK API Key" and sign up for an account. This opens up the following screen:
-
-
-
-Once you have your account created, connect a wallet and access the API Key. Enter this API key into the OpenBB SDK by typing `openbb.keys.shroom`.
-
-
-
-
-Click "Log in" and create an account. This opens up the following screen:
-
-
-
-Once you have created an account, go to "Developers" to access your API Key. Enter this API key into the OpenBB SDK by typing `/openbb.keys.stocksera`.
-
-
-
-
-Click "Log in" and sign up for an account. This opens up the following screen:
-
-
-
-Once you have created an account, go to "API" to access your API Key. Enter this API key into the OpenBB SDK by typing `openbb.keys.tokenterminal`.
-
-
-
-
-Click the button "Open Account" and start the sign-up process. Once you have gone through the whole process you will be able to find your API key within your account. Enter this API key into the OpenBB SDK by typing `openbb.keys.tradier`
-
-
-Click "Sign Up". Note that you are required to have a Twitter account and that you have verified your phone number. This opens up the following screen:
-
-
-
-Create an account and verify your email. Then, you will be able to create an app to obtain your API Key.
-
-
-
-This will give you the following keys. Enter these into the OpenBB SDK by typing `openbb.keys.twitter`.
-
-
-
-
-Click "sign up here". This opens up the following screen:
-
-
-
-Once you have created your account, click "Create" to create your own API Key. Enter this API key into the OpenBB SDK by typing `openbb.keys.walert`.
-
-
-
-
-Within this menu you are able to set your API keys to access the commands that require that key. You can do so by typing the command followed by the API key, for example: `fred a215egade08a8d47cfd49c849658a2be`. When you press `ENTER` (⏎) the terminal will test whether this API key works. If it does, you receive the message `defined, test passed` and if it does not, you receive the message `defined, test failed`.
-
-To figure out where you can obtain the API key, you can enter the command (e.g. `av`) and press `ENTER` (⏎) or use the table below. We also provide an elaborate explanation where to find the API key in the next section. **We recommend that you gradually obtain and set keys whenever you wish to use features that require an API key. For example, if you are interested in viewing recent news about a company, you should set the API key from the 'News API'.**
-
-
-
-Once you enter the type of investor you are, the organization you work at and your email address pressing "GET FREE API KEY" gets you the key that you can submit into the OpenBB Terminal with `/keys/av KEY`
-
-
-
-These instructions should provide clear guidance how to set up an API Key. Enter this API key into the OpenBB Terminal by typing `/keys/binance -k KEY -s SECRET`.
-
-
-
-Click "Try GraphQL API". This opens the following screen:
-
-
-
-After creating an account and verifying your email address, you will be able to access your API Key by clicking "Api Key". Enter this API key into the OpenBB Terminal by typing `/keys/bitquery KEY`.
-
-
-
-
-
-From here, click "Get Your Free API Key Now". This opens up the following screen:
-
-
-
-Once you have created an account, you will be able to find your API key in the following screen. Enter this API key into the OpenBB Terminal by typing `/keys/cmc KEY`
-
-
-
-
-
-By following these instructions you should be able to set-up an API Key. Enter this API key into the OpenBB Terminal by typing `/keys/coinbase -k KEY -s SECRET -p PASSPHRASE`.
-
-
-
-Click "Log in" and sign up for an account. This opens up the following screen:
-
-
-
-Once you created your account, you will be able to find the API Key on your profile. Enter this API key into the OpenBB Terminal by typing `/keys/coinglass KEY`.
-
-
-
-Click "Sign up" under "Your free API auth token". This opens up the following screen:
-
-
-
-Once you have created your account, your API Key will be displayed under "Your free API auth token". Enter this API key into the OpenBB Terminal by typing `/keys/cpanic KEY`.
-
-
-
-
-
-Click "Sign up" and go to the registrations process. After setting up your account you will be able to use this broker by entering your username and password in the OpenBB Terminal as follows `/keys/degiro -u USERNAME -p PASSWORD`. We also support 2FA, you can find more information about that [here](https://github.com/Chavithra/degiro-connector#35-how-to-use-2fa-).
-
-
-
-Click "Registration". This opens up the following screen:
-
-
-
-Once you have registered, you can find the API Key next to "API TOKEN". Enter this API key into the OpenBB Terminal by typing `/keys/cpanic KEY`.
-
-
-
-
-
-Press "Get free api key". This opens up the following screen:
-
-
-
-Once you have created an account, you will be able to find your API key in the following screen. Enter this API key into the OpenBB Terminal by typing `/keys/finnhub KEY`
-
-
-
-
-
-From here, press "Get my API KEY here". This opens up the following screen:
-
-
-
-If you already have an account, you can sign-in directly and obtain the API key, otherwise click "Sign Up". Once you have created an account you can access your API Key by pressing the "Dashboard" button which will show the API key. Enter this API key into the OpenBB Terminal by typing `/keys/fmp KEY`
-
-
-
-
-
-Click on "My Account". This opens up the following screen:
-
-
-
-Once you have signed up, go to "My Account" and select "API Keys". This will get you to the following screen:
-
-
-
-Click on "Request API Key" and fill in information about why you wish to use FRED. Then, by pressing "Request API key" you will be able to obtain the API key. Enter this API key into the OpenBB Terminal by typing `/keys/fred KEY`
-
-
-
-
-
-Click "Sign up" and create an account with GitHub. Once you have done so go to as depicted below: https://github.com/settings/apps
-
-
-
-Press "New GitHub App". This opens up the following screen:
-
-
-
-Once the app is created you are able to obtain the API Key. Enter this API key into the OpenBB Terminal by typing `/keys/github KEY`.
-
-
-
-Click on "Sign up". This opens up the following screen:
-
-
-
-After you have created your account, go to https://studio.glassnode.com/settings/api where you can create your API Key. Enter this API key into the OpenBB Terminal by typing `/keys/glassnode KEY`.
-
-
-
-
-
-Press "Sign up". This opens up the following screen:
-
-
-
-Once you have signed up, go to https://messari.io/account/api where you will be able to find your API Key. Enter this API key into the OpenBB Terminal by typing `/keys/messari KEY`.
-
-
-
-
-
-Press "Get API Key". This opens up the following screen:
-
-
-
-Register for an account. The next screen will provide you with the API Key. Enter this API key into the OpenBB Terminal by typing `/keys/news KEY`
-
-
-
-
-
-After you have created an account with Oanda, you will be able to find the API key by following the steps below. After setting up your account you will be able to use this broker by entering your username and password in the OpenBB Terminal as follows `/keys/oanda -a ACCOUNT -t TOKEN`.
-
-
-
-
-
-Press the button "Get your Free API Key". This opens up the following screen:
-
-
-
-Once signed up you will find the API Key at the bottom. Enter this API key into the OpenBB Terminal by typing `/keys/polygon KEY`
-
-
-
-
-
-From here, click "Sign Up" at the top. This opens up the following screen:
-
-
-
-Follow the sign-up instructions and once you have signed up you will be able to retrieve your API key. Enter this API key into the OpenBB Terminal by typing `/keys/quandl KEY`
-
-
-
-
-
-Press "Read the full API terms and sign up for usage" and start the sign-up process. This opens up the following screen:
-
-
-
-Once you have filled out everything, you will receive an email when your application is approved. Once this is approved you will receive the necessary information that needs to be entered in the OpenBB Terminal. Enter these into the OpenBB Terminal by typing `/keys/reddit -i CLIENT_ID -s CLIENT_SECRET -u USERNAME -p PASSWORD -a USER_AGENT`.
-
-
-
-Click "Sign up" and go to the registrations process. After setting up your account you will be able to use this broker by entering your username and password in the OpenBB Terminal as follows `/keys/rb -u USERNAME -p PASSWORD`.
-
-
-
-Click "Sign up". This opens up the following screen:
-
-
-
-After creating an account go to https://app.santiment.net/account#api-keys and generate a key. Enter this API key into the OpenBB Terminal by typing `/keys/santiment KEY`.
-
-
-
-
-
-Click "Mint Your ShroomDK API Key" and sign up for an account. This opens up the following screen:
-
-
-
-Once you have your account created, connect a wallet and access the API Key. Enter this API key into the OpenBB Terminal by typing `/keys/shroom KEY`.
-
-
-
-
-
-Click "Log in" and create an account. This opens up the following screen:
-
-
-
-Once you have created an account, go to "Developers" to access your API Key. Enter this API key into the OpenBB Terminal by typing `/keys/stocksera KEY`.
-
-
-
-
-
-Click "Log in" and sign up for an account. This opens up the following screen:
-
-
-
-Once you have created an account, go to "API" to access your API Key. Enter this API key into the OpenBB Terminal by typing `/keys/tokenterminal KEY`.
-
-
-
-
-
-Click the button "Open Account" and start the sign-up process. Once you have gone through the whole process you will be able to find your API key within your account. Enter this API key into the OpenBB Terminal by typing `/keys/tradier KEY`
-
-
-
-Click "Sign Up". Note that you are required to have a Twitter account and that you have verified your phone number. This opens up the following screen:
-
-
-
-Create an account and verify your email. Then, you will be able to create an app to obtain your API Key.
-
-
-
-This will give you the following keys. Enter these into the OpenBB Terminal by typing `/keys/twitter -k API_KEY -s API_KEY_SECRET -t BEARER_TOKEN`.
-
-
-
-
-
-Click "sign up here". This opens up the following screen:
-
-
-
-Once you have created your account, click "Create" to create your own API Key. Enter this API key into the OpenBB Terminal by typing `/keys/walert KEY`.
-
-
-
-This section provides you with the installation file as well as the guide to install the OpenBB Terminal via Windows (10 or greater).
-Download the installer from the button below:
+Follow along with the instructions for the preferred installation method: + +## Installer Packages + +Follow along with the instructions of the video or use the steps below to run the OpenBB Terminal:
+#### 1.2 Run Installer - +**Step 2:** Open the downloaded file by double-clicking on it -Step 1: Double-click the .exe file that got downloaded to your Downloads folder
Step 2: Follow the prompts clicking Next > where needed to complete the installation process
Follow along with the instructions of the video or use the steps below to run the OpenBB Terminal:
+#### 2.1 Download - +**Step 1:** Download the DMG file from the links above. -Step 1: Open the downloaded OpenBB Terminal.dmg and drag the OpenBB Terminal folder into your Applications
A link to the Applications folder is presented on the screen.
-Note that this should take some time as it is extracting the files from the .dmg file.

Step 2: Open the OpenBB Terminal app in the folder that you have just copied to your Applications.
During first launch if you get a message saying that the application can’t be launched, do the following:
-Right-Click the app and select Open. You will see a message saying that macOS was not able to check whether the application contains malicious software. Click Open to proceed.


Installing the OpenBB Terminal via Docker supports both Windows and Unix systems (Linux + MacOS). Installation differs a bit between operating system (Windows, macOS and Linux). Please select the section matching to your OS. -
-Follow along with the instructions of the video or use the steps below to run the OpenBB Terminal:
+## Docker - +This section guides you a long to install the OpenBB Terminal via Python. This installation type supports both Windows and Unix systems (Linux + MacOS).
-Follow along with the instructions of the video or use the steps below to run the OpenBB Terminal:
+## Source Code - +

Follow along with the instructions of the video or use the steps below to use the OpenBB SDK:
+## 1. System Preparation - +Prepare the system by installing the following items: -### 1. **Install [Miniconda](https://docs.conda.io/en/latest/miniconda.html)** +### 1.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. +[Install Miniconda](https://docs.conda.io/en/latest/miniconda.html) -### 2. **Create the virtual environment** +Miniconda is a Python environment and package manager. It is required for installing certain dependencies. + +- Go [here](https://docs.conda.io/en/latest/miniconda.html#latest-miniconda-installer-links) to find the download for your operating system or use the links below: + + - Apple-Silicon Systems: [Miniconda for MacOS](https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.pkg) + - Intel-based Mac Systems: [Miniconda for MacOS](https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh) + - Linux and WSL Systems: [Miniconda for Linux](https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh) + - Raspberry PI Systems: [Miniconda for Raspberry PI](https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh) + - Windows Systems: [Miniconda for Windows](https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe) + + **NOTE for Apple Silicon Users:** Install Rosetta from the command line: `softwareupdate --install-rosetta` + + **NOTE for Windows users:** Install/update Microsoft C++ Build Tools from [here](https://visualstudio.microsoft.com/visual-cpp-build-tools/). + +### 1.2 Install CMake + +**CMake is required by several Python modules.** + +**For Windows:** + +CMake is installed as a part of Microsoft C++ Build Tools. Skip ahead to the next step. + +**For MacOS:** + +Check if homebrew is installed by running `brew --version` + +If Homebrew is not installed, run: ```bash -conda create -n obb python=3.9.6 -y +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" +brew install cmake +brew install gcc ``` -### 3. **Activate the virtual environment** +If Homebrew is already installed: ```bash +brew install cmake +brew install gcc +``` + +**For Linux:** + +```bash +sudo apt update && sudo apt upgrade +sudo apt install -y gcc cmake +``` + +## 2. Create Python Environment + +The first step is to create the virtual Python environment. + +### 2.1 Confirm Conda Base + +When a terminal window is opened, if the base Conda environment - look for `(base)` to the left of the cursor on the command line - is not activated automatically, find the path for it by entering: + +```console +conda env list +``` + +Copy the path which corresponds with `base`, and activate it with: + +```console +conda activate REPLACE_WITH_PATH +``` + +Check which `conda` version is installed by entering: + +```console +conda -V +``` + +As of writing, the most recent version of `Conda` is, `23.1.0`. If required, update from a lower version with: + +```console +conda install -c conda-forge -n base conda=23.1.0 +``` + +### 2.2 Create the Environment + +Create the environment by copying the code below into the command line: + +```console +conda create -n obb -c conda-forge python=3.10.9 pip pybind11 cmake git cvxpy lightgbm poetry +``` + +### 2.3 Activate the Environment + +After the packages from Step 2 install, activate the newly created environment by entering: + +```console conda activate obb ``` -### 4. **Install OpenBB SDK Core package** +## 3. Install the OpenBB SDK + +### 3A. Install From PyPi ```bash -pip install openbb +pip install openbb[all] ``` -### 5. **(Optional) Install the Toolkits** +Done! The OpenBB SDK can now be imported to any Python session with the line of code below. -#### 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 +```console +from openbb_terminal.sdk import openbb ``` -::: +The [OpenBB Terminal](https://docs.openbb.co/terminal) is part of the installation, and the application can be launched from the command line by entering: -Install the Portfolio Optimization Toolkit +```console +openbb +``` + +### 3B. Install via Git Clone + +#### 3B.1 Clone the Project + +Cloning the GitHub repo will download the source code to the current working directory. + +```console +git clone https://github.com/OpenBB-finance/OpenBBTerminal.git +``` + +#### 3B.2 CD into OpenBBTerminal + +```console +cd OpenBBTerminal +``` + +#### 3B.3 Install Remaining Packages ```bash -pip install "openbb[optimization]" +pip install qdldl==0.1.5.post3 +poetry install -E all ``` -#### 5.2 **If you would like ML Forecasting features** +Done! The OpenBB SDK can now be imported to any Python session with the line of code below. -:::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[forecast]" +```console +from openbb_terminal.sdk import openbb ``` -#### 5.3 **If you would like to use both Portfolio Optimization and ML forecast features** +The Terminal application is also installed, and it can be launched from the command line at the root `OpenBBTerminal` folder with: -:::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]" +```console +python terminal.py ``` -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: +## Updating the OpenBB SDK Version -```bash -conda activate obb +Use the code below to check the version number of the OpenBB SDK. + +```python +from openbb_terminal.sdk import openbb +openbb.__version__ ``` -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`. +Which prints a string similar to: `'2.4.1'` +### A. Updating a PyPi Installation + +To upgrade the OpenBB SDK to the latest version, with the `obb` Python environment active, enter: + +```console +pip install -U openbb[all] +``` + +### B. Updating a Git Clone Installation + +#### B.1 Fetch changes to the code + +With the `obb` Python environment activated, navigate into the root folder of the cloned project. Then, pull the changes from GitHub: + +```console +git fetch +git pull +``` + +**Note:** If working from a forked repo, the `git pull` command will need to be adjusted to pull from the desired branch, like `origin` or `upstream`. For example, `git pull origin main`; `git pull origin develop` + +#### B.2 Run Poetry Install + +Update any changes to the dependencies by running: + +```console +poetry install -E all +``` diff --git a/website/content/terminal/quickstart/installation.md b/website/content/terminal/quickstart/installation.md index f92f671e1d1..0cc3547b94d 100644 --- a/website/content/terminal/quickstart/installation.md +++ b/website/content/terminal/quickstart/installation.md @@ -111,7 +111,7 @@ softwareupdate --install-rosetta ## Source Code -`- -The OpenBB platform does not provide any data itself as the platform is a data aggregator that connects to -almost a hundred different data providers and APIs to access the data. - -
-- -The terminal is constantly being updated with new features and bug fixes. Updating will be different depending on the installation type: - -- For installation packages, uninstall the previous version (uninstall.exe for Windows, delete the Application folder on MacOS); then, download the latest version and reinstall. User settings and data will remain. -- For a `pip` installation, when a new version is published: `pip install openbb --upgrade` -- Upgrade the `pip installation` to the source code installation with: - -```bash -conda install -c conda-forge git -git clone https://github.com/OpenBB-finance/OpenBBTerminal.git -cd OpenBBTerminal -poetry install (for a complete installation - poetry install -E all) -``` - -The Terminal can now be launched with either, `openbb`, or, `python terminal.py` - -
-- -When issues arise regarding Windows Firewall, please allow the following applications through (if not already): - -- BranchCache -- Hyper-V -- VcXsrv -- Windows Terminal - -From the Windows Security menu, click on the Firewall & Network Protection tab, then click on "Allow an app through firewall". If the applications below are not allowed to communicate through Windows Defender Firewall, change the settings to allow. - -
-- -The OpenBB Terminal is compatible with Windows, MacOS and Linux. Check the -[installation guide](/terminal/quickstart/installation) and [requirements outline](/terminal/quickstart/requirements) for more details. - -
-- -An installation will use approximately 2GB of space. - -
-- -There are two main ways of contributing to this project. - -**BECOME A CONTRIBUTOR** - -1. Fork the [Project](https://github.com/OpenBB-finance/OpenBBTerminal) -2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) -3. Install the pre-commit hooks by running: `pre-commit install` - Any time you commit a change, linters will be run automatically. On changes, you will have to re-commit -4. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) -5. Push to your Branch (`git push origin feature/AmazingFeature`) -6. Open a Pull Request - -You can read more details about adding a feature in our [CONTRIBUTING GUIDELINES](https://github.com/OpenBB-finance/OpenBBTerminal/blob/main/CONTRIBUTING.md). - -**RAISE AN ISSUE OR REQUEST A FEATURE** - -- Raise an issue by opening a [bug ticket](https://github.com/OpenBB-finance/OpenBBTerminal/issues). -- Request a new feature through a [feature request ticket](https://github.com/OpenBB-finance/OpenBBTerminal/issues). - -
-- -First, search the open issues for another report. If one already exists, attach any relevant information and screenshots as a comment. If one does not exist, start one with this [link](https://github.com/OpenBB-finance/OpenBBTerminal/issues/new?assignees=&labels=type%3Abug&template=bug_report.md&title=%5BBug%5D) - -
-- -You can get help with OpenBB Terminal by joining our [Discord server](https://openbb.co/discord) or contact us in our support form [here](https://openbb.co/support). - -
-
-
-Being an open source platform that wishes to tailor to the needs of any type of investor, we highly encourage anyone to share with us their experience and/or how we can further improve the OpenBB Terminal. This can be anything from a very small bug, a new feature, or the implementation of a highly advanced Machine Learning model.
-
-You are able to directly send us information about a bug or a question/suggestion from inside the terminal by using the `support` command which is available everywhere in the terminal. Here you can select which command you want to report a bug on, ask a question or make a suggestion. After entering `support`, when you press `ENTER` (⏎), you are taken to the Support form which is automatically filled with your input. You are only required to include the type (e.g. bug, suggestion or question) and message in the form, although this can also be set directly from inside the terminal (see `support -h`).
-
-
-
-Alternatively, you can contact us via the following routes:
-
-- If you notice that a feature is missing inside the terminal, please fill in the Request a Feature form.
-- If you wish to report a bug, have a question/suggestion or anything else, please fill in the Support form.
-- If you wish to speak to us directly, please contact us via Discord.
-
-
- -By default, the load function requests end-of-day daily data and is not included until the EOD summary has been published. The current day's data is considered intraday and is loaded when the `interval` argument is present. - -
-- -It could be that you are running an outdated version in which the menu or command is not yet available. Please check the [installation guide](https://docs.openbb.co/terminal/quickstart/installation) to download the most recent release. - -Do note that it is also possible that the menu or command is removed. If this is undesirable, please reach out to us [here](https://openbb.co/support). - -
-- -This will typically be the result of a formatting error. - -- Check that all the necessary column titles are present. -- Inspect the file to see if cells left blank have been filled unintentionally with 0 or NaN values. -- A particular asset may not be able to load data. Check for valid historical data from the Stocks menu. -- Format ticker symbols according to yFinance naming convention. -- All dates must be entered as YYYY-MM-DD. -- Transactions dated for today will fail to load historical data. -- MacOS users should attempt to avoid using the Numbers application as it has a habit of changing the formatting while saving. - -
-- -A source code installation can utilize the `update` command from the main menu of the OpenBB Terminal, or, exit and enter: - -```bash -git pull -``` - -If this fails due to the fact that you had modified some python files, and there's a conflict with the updates, you can use: - -```bash -git stash -``` - -Then, re-run `poetry install` to get any new dependencies. Once installation is finished, you're ready to use the OpenBB Terminal again. If you `stashed` your changes previously, you can un-stash them with: - -```bash -git stash pop -``` - -**NOTE:** When you close the terminal and re-open it, the only command you need to re-call is `conda activate obb` -before you call `openbb` again. - -
-- -Throughout the entire OpenBB Platform, the [Model-view-controller](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller) architectural pattern is used for creating functionality in the OpenBB Terminal. - -The `model` relates to any calculations or data collection done. The `view` is meant for showing tables or graphs and the `controller` makes it possible to execute a command with a set of arguments directly in the OpenBB Terminal. Learn more about this in our [CONTRIBUTING GUIDELINES](https://github.com/OpenBB-finance/OpenBBTerminal/blob/main/CONTRIBUTING.md). - -
-- -If you are on Windows and your terminal has too many red error lines, it is likely that this is the issue. Go to this page and install the 2019 Build Tools (not the latest) found [here](https://answers.microsoft.com/en-us/windows/forum/windows_other-windows_install/microsoft-visual-c-140/6f0726e2-6c32-4719-9fe5-aa68b5ad8e6d) - -
-- -If you receive any notifications regarding `wheel` missing, this could be due to this dependency missing. - -`conda install -c conda-forge wheel` or `pip install wheel` - -
-
-
-If you get errors about .whl files not existing (usually on Windows) you have to reinitialize the following folder.
-Just removing the 'artifacts' folder could also be enough:
-
-| Platform | Location |
-| -------- | ------------------------------- |
-| Linux | "~/.cache/pypoetry" |
-| Mac | "~/Library/Caches/pypoetry" |
-| Windows | "%localappdata%/pypoetry/cache" |
-
-When you try to add a package to Poetry it is possible that it causes a similar issue. Here you can remove the
-'artifacts' folder again to reinitialize Poetry.
-
-If you run into trouble with Poetry, and the advice above did not help, your best bet is to try
-
-1. `poetry update --lock`
-
-2. `conda deactivate` -> `conda activate obb`, then try again
-
-3. Track down the offensive package and purge it from your anaconda `
- -Sometimes poetry can throw a `JSONDecodeError` on random packages while running `poetry install`. This can be observed on macOS 10.14+ running python 3.8+. This is because of the use of an experimental installer that can be switched off to avoid the mentioned error. Run the code below as advised [here](https://github.com/python-poetry/poetry/issues/4210) and it should fix the installation process. - -```bash -poetry config experimental.new-installer false -``` - -
-- -IF you receive an error like `ModuleNotFoundError: No module named '_______'` - -
Before you start begin troubleshooting please verify that you have followed the recommended installation instructions. -These errors often can occur when you have not activated the virtual environment where you have installed the terminal, or you have not used the `poetry install` command to install the dependencies.
- -If you are still having issues install the missing packages via pip. For example if you get the error that `yfinance` is not found, you would run `pip install yfinance` - - -- -If you run into issues installing or `Cannot convert a symbolic Tensor...` at runtime, try this: - -```bash -poetry install -poetry install -E forecast -``` - -_Commands that may help you in case of an error:_ - -- `python -m pip install --upgrade pip` -- `poetry update --lock` -- `poetry install` - -
-- -When trying to commit code changes, pylint will prevent you from doing so if your line break settings are set to -CRLF (default for Windows). -This is because the entire package uses LF (default for Linux/Mac), and it is therefore -important that you change this setting to LF _before_ you make any changes to the code. - -It is possible that CRLF automatically turns back on, you can correct this with: - -```bash -git config --global core.autocrlf false -``` - -In case you already made coding adjustments, you have to reset your cache, and the changes you made to the code with -the following: - -```bash -git rm --cached -r . -git reset --hard -``` - -
-- -This occurs when VS Code terminal python version/path is different from the terminal version. - -To fix it add this to vscode JSON settings ([ref](https://stackoverflow.com/questions/54582361/vscode-terminal-shows-incorrect-python-version-and-path-launching-terminal-from)): - -```bash - "terminal.integrated.inheritEnv": false, -``` - -
-+ +If you receive any notifications regarding `wheel` missing, this could be due to this dependency missing. + +`conda install -c conda-forge wheel` or `pip install wheel` + +
+If you receive any notifications regarding `wheel` missing, this could be due to this dependency missing. `conda install -c conda-forge wheel` or `pip install wheel` -
The OpenBB platform requires MacOS Catalina or higher. The oldest Mac configuration known to work is a MacPro 3,1 (OS Catalina) and functions relying on the Intel Math Kernel (Forecast models like RNN) are not compatible with the CPU.
-Portfolio Optimization Toolkit and Forecasting Toolkit on Apple Silicon: To install the Forecasting toolkit on M1/M2 macs you need to use the x86_64 version of conda and install certain dependencies from conda-forge. Further Instructions can be found in the Installation section
-Windows 10 or higher is required. - -
-The OpenBB platform can be installed on a variety of Linux distributions. Due to the large number of system configuration variables, we are unable to verify compatibility across all distributions. It is known to work with up-do-date versions of Ubuntu, Debian and Raspberry Pi. Any 32-bit distributions are incompatible. Generally, if the system installs Miniconda3 then the OpenBB Terminal should also be installable. -
-- -With new releases of the OpenBB SDK, it would suffice to use `pip install openbb`. If this doesn't update to the latest version you can include the version number as follows `pip install openbb==2.0.0`. Please find the latest version [here](https://pypi.org/project/openbb/). - -
-- -The OpenBB platform does not provide any data itself as the platform is a data aggregator that connects to almost a hundred different data providers and APIs to access the data. - -
-- -When issues arise regarding Windows Firewall, please allow the following applications through (if not already): - -- BranchCache -- Hyper-V -- VcXsrv -- Windows Terminal - -From the Windows Security menu, click on the Firewall & Network Protection tab, then click on "Allow an app through firewall". If the applications below are not allowed to communicate through Windows Defender Firewall, change the settings to allow. - -
-- -The OpenBB Terminal is compatible with Windows, Mac Os and Linux. Check the -[installation guide](/sdk/quickstart/installation) and [requirements outline](/sdk/quickstart/requirements) for more details. - -
-- -An installation will use approximately 4GB of space. - -
-- -Once the installation is finished via `pip` and you have activated the conda environment, as explained in the [installation guide](/sdk/quickstart/installation) you are able to activate a Jupyter Notebook by running `jupyter notebook` or Jupyter Lab with `jupyter lab`. Then, you should be able to use the OpenBB SDK by following along with the [How to use the SDK](/sdk/guides/basics#how-to-use-the-sdk) guide. - -
-- -There are three main ways of contributing to this project. - -**BECOME A CONTRIBUTOR** - -1. Fork the [Project](https://github.com/OpenBB-finance/OpenBBTerminal) -2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) -3. Install the pre-commit hooks by running: `pre-commit install` - Any time you commit a change, linters will be run automatically. On changes, you will have to re-commit -4. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) -5. Push to your Branch (`git push origin feature/AmazingFeature`) -6. Open a Pull Request - -You can read more details about adding a feature in our [CONTRIBUTING GUIDELINES](https://github.com/OpenBB-finance/OpenBBTerminal/blob/main/CONTRIBUTING.md). - -**RAISE AN ISSUE OR REQUEST A FEATURE** - -- Raise an issue by opening a [bug ticket](https://github.com/OpenBB-finance/OpenBBTerminal/issues). -- Request a new feature through a [feature request ticket](https://github.com/OpenBB-finance/OpenBBTerminal/issues). - -
-- -First, search the open issues for another report. If one already exists, attach any relevant information and screenshots as a comment. If one does not exist, start one with this [link](https://github.com/OpenBB-finance/OpenBBTerminal/issues/new?assignees=&labels=type%3Abug&template=bug_report.md&title=%5BBug%5D) - -
-- -You can get help with OpenBB SDK by joining our [Discord server](https://openbb.co/discord) or contact us in our support form [here](https://openbb.co/support). - -
-- -Being an open source platform that wishes to tailor to the needs of any type of investor, we highly encourage anyone to share with us their experience and/or how we can further improve the OpenBB Terminal. This can be anything from a very small bug, a new feature, or the implementation of a highly advanced Machine Learning model. - -You can contact us via the following routes: - -- If you notice that a feature is missing inside the terminal, please fill in the Request a Feature form. -- If you wish to report a bug, have a question/suggestion or anything else, please fill in the Support form. -- If you wish to speak to us directly, please contact us via Discord. - -
-- -Throughout the entire OpenBB Platform, the [Model-view-controller](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller) architectural pattern is used for creating functionality in the terminal. - -This is visible in the OpenBB SDK with the addition of `_chart` within functions relating to the `view` portfion of the pattern. - -For example the model is displayed with: - -``` -openbb.economy.ycrv() -``` - -| | Maturity | Rate | -| --: | --------: | ---: | -| 0 | 0.0833333 | 3.93 | -| 1 | 0.25 | 4.34 | -| 2 | 0.5 | 4.61 | -| ... | ... | ... | -| 8 | 10 | 3.82 | -| 9 | 20 | 4.13 | -| 10 | 30 | 3.92 | - -And the view with: - -``` -openbb.economy.ycrv_chart() -``` - - - -
-- -By default, the load function requests end-of-day daily data and is not included until the EOD summary has been published. The current day's data is considered intraday and is loaded when the `interval` argument is present. - -
-
+
diff --git a/website/content/terminal/quickstart/api-keys.md b/website/content/terminal/quickstart/api-keys.md
index 6b8e89d06b4..6bab5b3bd09 100644
--- a/website/content/terminal/quickstart/api-keys.md
+++ b/website/content/terminal/quickstart/api-keys.md
@@ -1,5 +1,5 @@
---
-title: Obtain and Set API Keys for Data Providers
+title: Settings API Keys
sidebar_position: 3
description: API (Application Programming Interface) keys are access credentials for accessing data from a particular source. They are a string of random characters assigned, by the data provider, to an individual account. Most vendors offer a free tier requiring only a valid email address. Each key is entered into the Terminal from the `/keys` menu, using the syntax described below. The `--help` dialogue for each source will also display the expected inputs.
keywords: [api, keys, api keys, data provider, data, free, alpha vantage, fred, iex, twitter, degiro, binance, coinglass, polygon, intrinio, openbb terminal]
diff --git a/website/content/terminal/quickstart/installation.md b/website/content/terminal/quickstart/installation.md
index 090c56ba0cf..6fa690be94d 100644
--- a/website/content/terminal/quickstart/installation.md
+++ b/website/content/terminal/quickstart/installation.md
@@ -19,7 +19,6 @@ keywords:
openbb terminal,
]
---
-
import InstallerButton from "@site/src/components/General/InstallerButton";
The OpenBB Terminal can be directly installed on a Mac or Windows machine via the installer packages below. While not available for Linux is currently available, it can be installed from the command line in a virtual Python environment. Having trouble? Reach us on [Discord](https://openbb.co/discord) or visit our [contact page](https://openbb.co/contact).
From df28850d1d36aea8d2a130689f69bee5d557a97d Mon Sep 17 00:00:00 2001
From: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Date: Tue, 28 Feb 2023 10:52:15 -0800
Subject: [PATCH 28/30] replaces screenshot.
---
.../content/terminal/guides/advanced/scripts-and-routines.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/website/content/terminal/guides/advanced/scripts-and-routines.md b/website/content/terminal/guides/advanced/scripts-and-routines.md
index 539c1d398b2..05ba04dcfcd 100644
--- a/website/content/terminal/guides/advanced/scripts-and-routines.md
+++ b/website/content/terminal/guides/advanced/scripts-and-routines.md
@@ -37,7 +37,7 @@ record/stocks/load qqq/forecast/expo QQQ/autoselect QQQ/stop
The routine has been successfully captured, and the next time the Terminal is opened, this routine will be visible when calling the `exe` function.
-
+
## Editing & Inserting Arguments
From 2e5cdd489da53d299d902617958420564a6e4d82 Mon Sep 17 00:00:00 2001
From: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Date: Tue, 28 Feb 2023 10:53:30 -0800
Subject: [PATCH 29/30] Removed because it shouldn't have been in this PR.
---
build/conda/conda-3-10-env-full.yaml | 13 -------------
1 file changed, 13 deletions(-)
delete mode 100644 build/conda/conda-3-10-env-full.yaml
diff --git a/build/conda/conda-3-10-env-full.yaml b/build/conda/conda-3-10-env-full.yaml
deleted file mode 100644
index 8fba2f7e92e..00000000000
--- a/build/conda/conda-3-10-env-full.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-channels:
- - conda-forge
-dependencies:
- - python=3.10.8
- - pip
- - pybind11
- - cmake
- - git
- - cvxpy
- - lightgbm
- - poetry
- - pip:
- - qdldl==0.1.5.post3
From 6cc8e8e5d326c1e022327641fb8838f19259fae4 Mon Sep 17 00:00:00 2001
From: jeroen