Add --plot parameter for installing plotting dependencies
This commit is contained in:
parent
f69adc1894
commit
96c54716d7
13
setup.sh
13
setup.sh
@ -193,12 +193,22 @@ config
|
|||||||
echo "You can now use the bot by executing 'source .env/bin/activate; python3 freqtrade/main.py'."
|
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 () {
|
function help () {
|
||||||
echo "usage:"
|
echo "usage:"
|
||||||
echo " -i,--install Install freqtrade from scratch"
|
echo " -i,--install Install freqtrade from scratch"
|
||||||
echo " -u,--update Command git pull to update."
|
echo " -u,--update Command git pull to update."
|
||||||
echo " -r,--reset Hard reset your develop/master branch."
|
echo " -r,--reset Hard reset your develop/master branch."
|
||||||
echo " -c,--config Easy config generator (Will override your existing file)."
|
echo " -c,--config Easy config generator (Will override your existing file)."
|
||||||
|
echo " -p,--plot Install dependencies for Plotting scripts."
|
||||||
}
|
}
|
||||||
|
|
||||||
case $* in
|
case $* in
|
||||||
@ -214,6 +224,9 @@ update
|
|||||||
--reset|-r)
|
--reset|-r)
|
||||||
reset
|
reset
|
||||||
;;
|
;;
|
||||||
|
--plot|-p)
|
||||||
|
plot
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
help
|
help
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user