Menu
Home
About
Our Role
Goals
The Team
Roadmap
Tokenomics
How To Buy
Knowledge Base
Contacts
Sitemap & Links
A.I.
Chart
Shop
IMMORTALITY
🏠
⬇️
Freqtrade Install
New name
B
I
U
S
link
image
code
HTML
list
Show page
Syntax
Installation doc is https://www.freqtrade.io/en/stable/installation/ * update repository, install packages {pre} sudo apt-get update sudo apt install -y python3-pip python3-venv python3-dev python3-pandas git curl python -m pip install --upgrade pip sudo ln -s /usr/bin/python3 /usr/bin/python {/pre} * Download freqtrade repository {pre} git clone https://github.com/freqtrade/freqtrade.git {/pre} * Enter downloaded directory {pre} cd freqtrade {/pre} * Development or stable version, novice user: git checkout stable, advanced user: git checkout develop {pre} git checkout stable {/pre} {pre} python3 -m venv .venv source ./.venv/bin/activate deactivate {/pre} * If you are updating enter the freqtrade directory and issue {pre} git pull {/pre} or {pre} ./setup.sh -u {/pre} * Install freqtrade from scratch {pre} ./setup.sh -i {/pre} --------------------------- 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'. * Activate virtual environment {pre} source ./.venv/bin/activate {/pre} * Step 1 - Initialize user folder {pre} freqtrade create-userdir --userdir user_data {/pre} * Step 2 - Create a new configuration file {pre} freqtrade new-config --config user_data/config.json {/pre} {pre} freqtrade list-exchanges freqtrade list-pairs --exchange binance --trading-mode spot {/pre} * Backtest {pre} freqtrade download-data --exchange binance --pairs BTC/USDT ETH/USDT BNB/USDT --timeframes 5m --timerange=20150131- {/pre} {pre} freqtrade download-data --exchange binance --pairs WIF/USDT BTC/USDT SUI/USDT FET/USDT STX/USDT RON/USDT MSOL/USDT BGB/USDT RETH/USDT APT/USDT OKB/USDT DYDX/USDT BNB/USDT JUP/USDT RNDR/USDT BEAM/USDT MNT/USDT PYTH/USDT IMX/USDT OP/USDT AXL/USDT LEO/USDT AGIX/USDT TON/USDT STETH/USDT PEPE/USDT WETH/USDT KAS/USDT ETH/USDT DAI/USDT INJ/USDT SOL/USDT FLOKI/USDT WLD/USDT BTT/USDT FTN/USDT PENDLE/USDT ALT/USDT FRAX/USDT STSOL/USDT SSV/USDT LAND/USDT CHEEL/USDT GMT/USDT PRIME/USDT POLYX/USDT ALE/USDT BFC/USDT CAKE/USDT --timeframes 5m --timerange=20150131- {/pre} {pre} freqtrade download-data --exchange binance --pairs BTC/USDT ETH/USDT BNB/USDT CAKE/USDT LTC/USDT ADA/USDT XRP/USDT DOGE/USDT DOT/USDT UNI/USDT LINK/USDT SOL/USDT AAVE/USDT COMP/USDT YFI/USDT SNX/USDT UMA/USDT CRV/USDT MKR/USDT REN/USDT --timeframes 5m {/pre} {pre} freqtrade download-data --exchange binance --pairs BTC/USDT FDUSD/USDT ETH/USDT USDC/USDT SOL/USDT ENA/USDT BNB/USDT DOGE/USDT BCH/USDT BOME/USDT XRP/USDT WIF/USDT ORDI/USDT PEPE/USDT W/USDT PENDLE/USDT SHIB/USDT NEAR/USDT LTC/USDT RUNE/USDT ETHFI/USDT FET/USDT JUP/USDT ARB/USDT AVAX/USDT ETC/USDT APT/USDT JTO/USDT AEVO/USDT WLD/USDT FLOKI/USDT ADA/USDT ATA/USDT OAX/USDT YGG/USDT AKRO/USDT FTM/USDT FIL/USDT RNDR/USDT SUI/USDT LINK/USDT PUNDIX/USDT MATIC/USDT OP/USDT ICP/USDT DOT/USDT EUR/USDT STX/USDT ALT/USDT UNFI/USDT --timeframes 5m --timerange=20230101- {/pre} {pre} freqtrade download-data --exchange binance --config config_examples/config_freqai.example.json --timeframes 3m 15m 1h --timerange 20160101- {/pre} {pre} freqtrade backtesting --timeframe 5m -c user_data/config.json -s your_strategy {/pre} Set static options in config.json. Setting a timerange to ensure open trades are closed at the end of the backtesting and the result incorperated. {pre} freqtrade backtesting --strategy your_strategy --timerange=20180101-20240322 --exchange bianance --currency-pair BTC/USDT ETH/USDT BNB/USDT --data-folder user_data/data/bianace -c user_data/config.json {/pre} {pre} freqtrade backtesting -c user_data/config.json -s YOLO --timerange=20180101-20240322 {/pre} * Dry run, simulation mode {pre} freqtrade trade --config user_data/config.json --strategy your_strategy {/pre} Each instance must have a unique database or the strategies trade together. https://www.freqtrade.io/en/stable/advanced-setup/#running-multiple-instances-of-freqtrade * Terminal 1: {pre} freqtrade trade -c user_data/MyConfigBTC.json -s MyCustomStrategy --db-url sqlite:///user_data/tradesBTC.dryrun.sqlite {/pre} * Terminal 2: {pre} freqtrade trade -c user_data/MyConfigUSDT.json -s MyCustomStrategy --db-url sqlite:///user_data/tradesUSDT.dryrun.sqlite {/pre} Consider running the bots as a system service. https://github.com/DutchCryptoDad/FreqtradeInstallAndConfig/tree/main -------------- Make sure that all the associated packages are up-to-date, including those that are not directly managed by freqtrade: {pre} pip install --upgrade --upgrade-strategy eager freqtrade {/pre} //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)" {pre} freqtrade download-data --config user_data/backtest_config_short.json --exchange binance --trading-mode futures --timeframes 1h --timerange 20160101- {/pre}
Password
Summary of changes
📜
⏱️
⬆️