* More text, fixed links, added common menu * Add in bunch of filler text * Found another broken link * Get rid of old content * Push small changes * Update installation instructions * Small tweaks * More adjustments
30 KiB
Vendored
title, keywords, excerpt, description, geekdocCollapseSection
| title | keywords | excerpt | description | geekdocCollapseSection |
|---|---|---|---|---|
| Getting Started | getting started, openbb, bots, api, beginner guide, how to use openbb, openbb keys, openbb terminal, openbb | This page guides you how to use the OpenBB terminal, developed by OpenBB. | The OpenBB Documentation provides guidance on how to use the OpenBB Terminal, a free, custom built financial terminal that will help you make more informed decisions, faster. | true |
Introduction
OpenBB is a leading open source investment analysis company. We represent millions of investors who want to leverage state-of-the-art data science and machine learning technologies to make sense of raw unrefined data. Our mission is to make investment research effective, powerful and accessible to everyone.
All our products are Free and Open-Source (FOSS).
If you are interested in the OpenBB Terminal, please continue reading this page and the related pages on each menu (e.g. Stocks or Economy) If you are interested in one of our other products, please refer to the OpenBB Python API or the OpenBB Bots pages.
{{< toc >}}
{{< columns >}}
Why Python?
Python is one of the most used programming languages due to its simplified syntax and shallow learning curve. On top of this, it is highly used in data science and academia world (particularly on finance, economics or business related degrees). This is very important, as it is the first time in history that users - regardless of their background - can so easily add features to an investment research platform.
<--->
Why Open Source?
An open source product allows for higher quality, greater reproducibility, lower costs, more transparency, and faster go-to-market due to the strong community created. In addition, users can adapt the platform to their needs or even build proprietary features on top of our infrastructure - which ultimately can result in a marketplace.
<--->
Importing and Exporting data
The terminal allows for users to import their own proprietary datasets to use on our econometrics menu. In addition, users are allowed to export any type of data to any type of format whether that is raw data in Excel or an image in PNG. This is also ideal for finance content creation.
{{< /columns >}}
{{< columns >}}
Automatic notebook reports
Create notebook templates (through papermill) which can be run on different tickers. This level of automation allows speeding up the development of your investment thesis and reduce human error.
<--->
OpenBB API and Customizable notebook reports
Use our OpenBB Terminal environment to access raw data through a Jupyter Notebook and play with it accordingly. Or just create customizable notebook reports for your colleagues and friends doing research on a particular asset or a macroeconomic event impact on said asset. The possibilities are endless.
<--->
Advanced user and routines
Navigate through 750+ terminal features using fast shortcuts and leverage auto-complete functionality. Jump from looking into your portfolio to comparing the financials of those companies in a few seconds. Leverage our routines implementation to run analysis while you drink your coffee or tea.
{{< /columns >}}
Accessing the OpenBB Terminal
The OpenBB Terminal can be directly installed on your computer via our installation program. Within this section, you are guided through the installation process and how to launch the program. If you are a developer, please have a look here. If you struggle with the installation process, please don't hesitate to reach us on Discord or visit our contact page.
Installation for Windows
The process starts off by downloading the installer, see below for how to download the most recent release:
- Go to the following link
- Click on the
Latestrelease and scroll down - Click on the
.exefile, this downloads the installation program
When the file is downloaded, use the following steps to run the OpenBB Terminal:
{{< columns >}}
Step 1: Double-click the .exe file that got downloaded to your Downloads folder
You will most likely receive the error below stating "Windows protected your PC". This is because the installer is still in beta phase, and the team has not yet requested verification from Windows.
<--->
Step 2: Click on More info and select Run anyway to start the installation process
Proceed by following the steps. Do note that if you wish to install the application to "Program Files" that you will have to run the resulting application as Administrator.
<--->
Step 3: Double-click on the application that appeared on your Desktop, you are now able to run the OpenBB Terminal
The first time this takes a bit longer to load, this can take up to a few minutes.
{{< /columns >}}
Installation for macOS
The process starts off by downloading the installer, see below for how to download the most recent release:
- Go to the following link
- Click on the
Latestrelease and scroll down - Click on the
.dmgfile, this downloads the installation program
When the file is downloaded, use the following steps to run the OpenBB Terminal:
{{< columns >}}
Step 1: Open the downloaded file and move the folder inside your Applications folder
Open the .dmg file that got downloaded to your "Downloads" folder and drag the folder into your "Applications" folder. Note that this should take some time as it is extracting the files from the .dmg file.
You can find the Applications folder on the left side of the Finder application (⌥ + ⌘ + SPACEBAR). Alternatively,
search for the Finder with ⌘ + SPACEBAR.
<--->
Step 2: Open the folder and click on the OpenBB Terminal file, this should run the application.
You will most likely receive a message that macOS was not able to check whether the application contains malicious software. This is because the installer is still in beta phase, and the team has not yet requested verification from Apple. See below how to correct for this.
<--->
Step 3: Allow the application to be run by going into your settings
Go to System Preferences > Security & Privacy > General. You should see a message at the bottom that says that the file "was blocked from use because it is not from an identified developer". Click on Allow anyway or Open anyway.
{{< /columns >}}
Structure of the OpenBB Terminal
The OpenBB Terminal is based off the Command Line Interface (CLI) which is installed by default on every computer. By opening the application you have installed via "Accessing the OpenBB Terminal", you are greeted with the following interface:
The OpenBB Terminal is centered around keyboard input. To navigate and perform analysis you will have to type in the name of the command followed by an ENTER (⏎). If you wish to see information about the OpenBB Terminal you can do so by typing about and then press ENTER (⏎). As you are typing, you will notice that you receive suggestions, by using the DOWN (⌄) arrow and pressing ENTER (⏎) you can select the command and execute it.
Throughout the entire terminal, the same set of colors are used which all share the same representation. This is structured as follows:
- Light Blue: represents commands.
- Dark Blue: represents menus, also recognizable by the
>in front. - Orange: represents titles and headers.
- Yellow: represents descriptions of a parameter or variable.
- White: represents text, usually in combination with a description that is in Yellow.
Explanation of Menus
Menus, depicted in Dark Blue, take you to a new section of the terminal referred
to as a menu. For example, if you wish to view information about stocks, you can do so by typing stocks and pressing ENTER (⏎).
This opens a new menu as depicted below.
Depending on the menu you are in, you are presented with a new set of commands (see Explanation of Commands)
and menus you can select. There are interactions in place between each menu. For example, when selecting a company within
the stocks menu, the terminal will remember your selection when you visit the fa or options menu.
See Introduction to Stocks for more information.
Explanation of Commands
Commands, depicted in Light Blue, execute an action or task. For example, the commands that you are able to use from any menu in the terminal (see Explanation of Menus) are as follows:
cls: clears the screen, by executing this command you are left with an empty screen.help,hor?: displays the menu that you are currently on.quit,qor..: allows for navigation through the menu. E.g. if you typestockspressENTER(⏎) and then useqand pressENTER(⏎) you return to where you started. Validate this by typing?and pressingENTER(⏎).support: allows you to submit bugs, questions and suggestions.
Continuing with the example mentioned at quit, revisit the stocks menu and look at the commands. At the top you
will see a command named load. To understand what this command can do, you can use load -h followed by ENTER (⏎). The -h stands for help and every command will have this feature. This will return the following:
2022 May 19, 05:27 (🦋) /stocks/ $ load -h
usage: load [-t TICKER] [-s START] [-e END] [-i {1,5,15,30,60}] [--source {yf,av,iex,polygon}] [-p] [-f FILEPATH] [-m] [-w] [-r {ytd,1y,2y,5y,6m}] [-h]
Load stock ticker to perform analysis on. When the data source is yf (Yahoo Finance), an Indian ticker can be loaded by using '.NS'at the end, e.g. 'SBIN.NS'. See available market in https://help.yahoo.com/kb/exchanges-data-providers-yahoo-finance-sln2310.html.
optional arguments:
-t TICKER, --ticker TICKER
Stock ticker (default: None)
-s START, --start START
The starting date (format YYYY-MM-DD) of the stock (default: 2019-05-15)
-e END, --end END The ending date (format YYYY-MM-DD) of the stock (default: 2022-05-19)
-i {1,5,15,30,60}, --interval {1,5,15,30,60}
Intraday stock minutes (default: 1440)
--source {yf,av,iex,polygon}
Source of historical data. (default: yf)
-p, --prepost Pre/After market hours. Only works for 'yf' source, and intraday data (default: False)
-f FILEPATH, --file FILEPATH
Path to load custom file. (default: None)
-m, --monthly Load monthly data (default: False)
-w, --weekly Load weekly data (default: False)
-r {ytd,1y,2y,5y,6m}, --iexrange {ytd,1y,2y,5y,6m}
Range for using the iexcloud api. Note that longer range requires more tokens in account (default: ytd)
-h, --help show this help message (default: False)
This shows you all arguments the command has. These are additional options you can provide to the command. Each
default value is also displayed which is used when you do not select this option. For example, if I would use the stock ticker
of Amazon (AMZN, which can also be found with search amazon), I can use load AMZN which will return the following:
2022 May 19, 05:27 (🦋) /stocks/ $ load AMZN
Loading Daily AMZN stock with starting period 2019-05-15 for analysis.
Datetime: 2022 May 19 05:33
Timezone: America/New_York
Currency: USD
Market: OPEN
Company: Amazon.com, Inc.
AMZN Performance
┏━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ 1 Day ┃ 1 Week ┃ 1 Month ┃ 1 Year ┃ YTD ┃ Volatility (1Y) ┃ Volume (10D avg) ┃ Last Price ┃
┡━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ -3.34 % │ 1.65 % │ -32.26 % │ -33.71 % │ -37.14 % │ 31.36 % │ 5.51 M │ 2142.25 │
└─────────┴────────┴──────────┴──────────┴──────────┴─────────────────┴──────────────────┴────────────┘
The default values you see within load -h have been inputted here. E.g. the starting period is 2019-05-15. I can
decide to change these default values by calling the argument and inputting a different value. Let's change the starting
and ending period of the data that is being loaded in by doing the following:
2022 May 19, 05:38 (🦋) /stocks/ $ load AMZN -s 2005-01-01 -e 2010-01-01
Loading Daily AMZN stock with starting period 2005-01-01 for analysis.
Datetime: 2022 May 19 05:43
Timezone: America/New_York
Currency: USD
Market: OPEN
Company: Amazon.com, Inc.
AMZN Performance
┏━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ 1 Day ┃ 1 Week ┃ 1 Month ┃ 1 Year ┃ Period ┃ Volatility (1Y) ┃ Volume (10D avg) ┃ Last Price ┃
┡━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ -3.51 % │ -3.18 % │ -2.87 % │ 162.32 % │ 203.73 % │ 49.78 % │ 8.53 M │ 134.52 │
└─────────┴─────────┴─────────┴──────────┴──────────┴─────────────────┴──────────────────┴────────────┘
We can check that this period has changed by looking into the candle chart with candle. This, again shares the same -h argument. This results in the following which indeed depicts our
selected period.
2022 May 19, 05:44 (🦋) /stocks/ $ candle
As mentioned in the Explanation of Menus, some information also transfers over to other menus and this includes the
loaded market data from load.
So, if you would visit the ta menu (which stands for Technical Analysis) you will see that, by running any command, the selected period above is depicted again. Return to the Stocks menu again by using q and use it again to return to the home screen which can be shown with ?.
Accessing other sources of data via API keys
Within this menu you can define your, often free, API key from various platforms like Alpha Vantage, FRED, IEX, Twitter, DeGiro, Binance and Coinglass. API keys are in essence a set of random characters that is unique to you.
You can access this menu from the homepage with keys which will open the menu as shown below:
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 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'.
Available menus within the OpenBB Terminal
There is a large collection of (sub) menus available. Here, the asset class and other menus are described. To find a detailed description and explanation of its usage for each menu, click on the corresponding link to visit the introduction page.
The asset class menus are as follows:
- Introduction to Stocks: access historical pricing data, options, sector and industry analysis, and overall due diligence.
- Introduction to Crypto: dive into onchain data, tokenomics, circulation supply, nfts and more.
- Introduction to ETF: explore exchange traded funds, historical pricing, holdings and screeners.
- Introduction to Forex: see foreign exchanges, quotes, forward rates for currency pairs and Oanda integration.
- Introduction to Funds: discover mutual funds, general overviews, holdings and sector weights.
The other menus are as follows:
- Introduction to Economy: explore global macroeconomic data including interest and inflation rates, GDP and its components, futures, yield curves and treasury rates.
- Introduction to Alternative: explore alternative datasets such as COVID and open source metrics.
- Introduction to Econometrics: perform (advanced) regression techniques and statistical tests on custom datasets to understand relationships for both time series and panel data.
- Introduction to Portfolio: understand how your portfolio evolved over time, what assets contributed the most to this performance, compare this to a benchmark and make adjustments via various portfolio optimization techniques.
- Introduction to Dashboards: see interactive dashboards using voila and jupyter notebooks.
- Introduction to Reports (Work in Progress): create customizable research reports through jupyter notebooks.
To adjust the lay-out and settings of the OpenBB Terminal you can access the settings menu. This menu allows you to
tweak how the terminal behaves. For example, you are able to define the coloring, interactive graphs and whether to use
pretty tables.
Obtaining support and/or giving feedback
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 to a new feature to the implementation of a highly advanced Machine Learning model.
You are able to directly send us information about a bug or 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, ask a question or make a suggestion on. 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.










