From 96c54716d78526abd2ad3ab40ba2d8f133257322 Mon Sep 17 00:00:00 2001 From: Gerald Lonlas Date: Sun, 28 Jan 2018 23:24:41 -0800 Subject: [PATCH] Add --plot parameter for installing plotting dependencies --- setup.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/setup.sh b/setup.sh index 6fa570c8a..62a16767d 100755 --- a/setup.sh +++ b/setup.sh @@ -193,12 +193,22 @@ config echo "You can now use the bot by executing 'source .env/bin/activate; python3 freqtrade/main.py'." } +function plot () { +echo " +----------------------------------------- +Install dependencies for Plotting scripts +----------------------------------------- +" +pip install plotly +} + function help () { echo "usage:" echo " -i,--install Install freqtrade from scratch" echo " -u,--update Command git pull to update." echo " -r,--reset Hard reset your develop/master branch." echo " -c,--config Easy config generator (Will override your existing file)." +echo " -p,--plot Install dependencies for Plotting scripts." } case $* in @@ -214,6 +224,9 @@ update --reset|-r) reset ;; +--plot|-p) +plot +;; *) help ;;