Freqtrade Install

This revision is from 2024/02/08 18:58. You can Restore it.

1. Clone the source code from github.

  1. update repository

sudo apt-get update

  1. install packages

sudo apt install -y python3-pip python3-venv python3-dev python3-pandas git curl

  1. Download `develop` branch of freqtrade repository

git clone https://github.com/freqtrade/freqtrade.git

  1. Enter downloaded directory

cd freqtrade

  1. your choice (1): novice user

git checkout stable

  1. your choice (2): advanced user

git checkout develop

  1. Install freqtrade from scratch

./setup.sh -i


Run the bot !


You can now use the bot by executing 'source .venv/bin/activate; freqtrade <subcommand>'.

You can see the list of available bot sub-commands by executing 'source .venv/bin/activate; freqtrade --help'.

You verify that freqtrade is installed successfully by running 'source .venv/bin/activate; freqtrade --version'.

  1. activate virtual environment

source ./.venv/bin/activate

  1. Step 1 - Initialize user folder

freqtrade create-userdir --userdir user_data

  1. Step 2 - Create a new configuration file

freqtrade new-config --config user_data/config.json

  1. Terminal 1:

freqtrade trade -c MyConfigBTC.json -s MyCustomStrategy --db-url sqlite:///user_data/tradesBTC.dryrun.sqlite

  1. Terminal 2:

freqtrade trade -c MyConfigUSDT.json -s MyCustomStrategy --db-url sqlite:///user_data/tradesUSDT.dryrun.sqlite


//freqtrade/rpc/api_server/ui/installed/assets/

npm install uglify-js --global

uglifyjs yourfile.js --compress --mangle --output yourfile.min.js --source-map yourfile.min.js.map

//freqtrade/freqtrade/rpc/api_server/ui/installed/assets

dashboard

grep -irw "(dry)"

  

📝 📜 ⏱️ ⬆️