Skip to main content

The Pipeline of Commands

Short video on pipeline of commands

Single Command

If you have a good understanding of the Terminal's architecture, you will recognize that commands and menus are organized in the form of a tree.

image

If the intention is to explore an equity, enter at base of the menu (/stocks/), then browse or navigate towards the point of interest - for example, Dark Pools (/stocks/dps).

While all the information is in one place, having to type one command at a time is far from optimal.

image

Pipeline of Commands

One of the main objectives of the OpenBB Terminal was the ability to automate a user's investment research workflow - not just a single command, but the complete process. This is where the pipeline of commands comes in, running a sequence of commands.

The example above can be recreated by running:

/stocks/load GME/dps/psi

Which looks like:

image

Another example is:

/stocks/load GME/dps/psi/../fa/pt/income/../ins/stats

image

Step-by-Step Explanation

/stocks/load amzn/ta/macd/ema -l 50,200/../dps/psi

This will do the following:

  1. stocks - Go into stocks menu

  2. load amzn - Load Amazon's stock inside stock menu

  3. ta - Go into Technical Analysis (ta) menu

  4. macd - Run the moving average convergence/divergence indicator (macd) on the stock price loaded (i.e. amzn)

  5. ema -l 50,200 - Run the exponential moving average indicator with windows of length 50 and 200 (ema -l 50,200) on the stock price loaded (i.e. amzn)

  6. .. - Go one menu up

  7. dps - Go into Dark pool and Short (dps) menu

  8. psi - Go into Price vs Short interest (psi) menu