Files
OpenBB/routines/example_with_inputs.openbb
Jeroen Bouma a4d1d071ca Add in guide to Scripts & Routines (#2027)
* Small detail

* Add in Scripts guide

* Add template script

* Add Scripts to menu

* Update Scripts guide

* Add section on Scripts & Routines in the Getting Started guide

* Update _index.md

* Get rid of images
2022-07-02 12:06:24 +01:00

26 lines
533 B
Plaintext
Vendored

# This script requires you to use arguments. This can be done with the following:
# exe example_with_inputs.openbb -i TSLA,AAPL,MSFT
# Go to the stocks menu
stocks
# Load a ticker, given the argument used. E.g. -i TSLA
load $ARGV[0]
# Enter the Technical Analysis (ta) menu
ta
# Show the fibonacci retracement levels
fib
# Enter the comparison analysis (ca) menu
../ca
# Set two extra tickers based on the arguments used. E.g. -i TSLA,AAPL,MSFT
set $ARGV[1],$ARGV[2]
# Plot the historical prices
historical
# Return to home
/