Merge pull request #1471 from freqtrade/setup_text

fixes few wordings
This commit is contained in:
Matthias 2019-01-06 12:53:04 +01:00 committed by GitHub
commit b731973c7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 12 deletions

View File

@ -26,7 +26,7 @@ function check_installed_python() {
function updateenv() { function updateenv() {
echo "-------------------------" echo "-------------------------"
echo "Update your virtual env" echo "Updating your virtual env"
echo "-------------------------" echo "-------------------------"
source .env/bin/activate source .env/bin/activate
echo "pip3 install in-progress. Please wait..." echo "pip3 install in-progress. Please wait..."
@ -34,7 +34,7 @@ function updateenv() {
pip3 install --upgrade pip numpy pip3 install --upgrade pip numpy
pip3 install --upgrade -r requirements.txt pip3 install --upgrade -r requirements.txt
read -p "Do you want to install dependencies for dev [Y/N]? " read -p "Do you want to install dependencies for dev [y/N]? "
if [[ $REPLY =~ ^[Yy]$ ]] if [[ $REPLY =~ ^[Yy]$ ]]
then then
pip3 install --upgrade -r requirements-dev.txt pip3 install --upgrade -r requirements-dev.txt
@ -70,7 +70,7 @@ function install_macos() {
if [ ! -x "$(command -v brew)" ] if [ ! -x "$(command -v brew)" ]
then then
echo "-------------------------" echo "-------------------------"
echo "Install Brew" echo "Installing Brew"
echo "-------------------------" echo "-------------------------"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi fi
@ -96,7 +96,7 @@ function update() {
# Reset Develop or Master branch # Reset Develop or Master branch
function reset() { function reset() {
echo "----------------------------" echo "----------------------------"
echo "Reset branch and virtual env" echo "Reseting branch and virtual env"
echo "----------------------------" echo "----------------------------"
if [ "1" == $(git branch -vv |grep -cE "\* develop|\* master") ] if [ "1" == $(git branch -vv |grep -cE "\* develop|\* master") ]
then then
@ -142,7 +142,7 @@ function config_generator() {
echo "Starting to generate config.json" echo "Starting to generate config.json"
echo echo
echo "General configuration" echo "Generating General configuration"
echo "-------------------------" echo "-------------------------"
default_max_trades=3 default_max_trades=3
read -p "Max open trades: (Default: $default_max_trades) " max_trades read -p "Max open trades: (Default: $default_max_trades) " max_trades
@ -161,13 +161,13 @@ function config_generator() {
fiat_currency=${fiat_currency:-$default_fiat_currency} fiat_currency=${fiat_currency:-$default_fiat_currency}
echo echo
echo "Exchange config generator" echo "Generating exchange config "
echo "------------------------" echo "------------------------"
read -p "Exchange API key: " api_key read -p "Exchange API key: " api_key
read -p "Exchange API Secret: " api_secret read -p "Exchange API Secret: " api_secret
echo echo
echo "Telegram config generator" echo "Generating Telegram config"
echo "-------------------------" echo "-------------------------"
read -p "Telegram Token: " token read -p "Telegram Token: " token
read -p "Telegram Chat_id: " chat_id read -p "Telegram Chat_id: " chat_id
@ -187,11 +187,11 @@ function config_generator() {
function config() { function config() {
echo "-------------------------" echo "-------------------------"
echo "Config file generator" echo "Generating config file"
echo "-------------------------" echo "-------------------------"
if [ -f config.json ] if [ -f config.json ]
then then
read -p "A config file already exist, do you want to override it [Y/N]? " read -p "A config file already exist, do you want to override it [y/N]? "
if [[ $REPLY =~ ^[Yy]$ ]] if [[ $REPLY =~ ^[Yy]$ ]]
then then
config_generator config_generator
@ -212,7 +212,7 @@ function config() {
function install() { function install() {
echo "-------------------------" echo "-------------------------"
echo "Install mandatory dependencies" echo "Installing mandatory dependencies"
echo "-------------------------" echo "-------------------------"
if [ "$(uname -s)" == "Darwin" ] if [ "$(uname -s)" == "Darwin" ]
@ -233,7 +233,7 @@ function install() {
reset reset
config config
echo "-------------------------" echo "-------------------------"
echo "Run the bot" echo "Run the bot !"
echo "-------------------------" echo "-------------------------"
echo "You can now use the bot by executing 'source .env/bin/activate; python freqtrade/main.py'." echo "You can now use the bot by executing 'source .env/bin/activate; python freqtrade/main.py'."
} }
@ -241,7 +241,7 @@ function install() {
function plot() { function plot() {
echo " echo "
----------------------------------------- -----------------------------------------
Install dependencies for Plotting scripts Installing dependencies for Plotting scripts
----------------------------------------- -----------------------------------------
" "
pip install plotly --upgrade pip install plotly --upgrade