Saturday, December 14, 2024

How to install freqtrade trading bot on windows

Freqtrade is a great bot trading software for beginners, and has good documentation but, when trying to install following the documentation steps, it will not work and keep complain about ta-lib and its wheel, so  follow these instructions to install  freqtrade on windows without problems:


All steps are running from command line :


First of all clone the repository by running:

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

2- powershell

3- cd \path\freqtrade

4- python -m venv .venv

.5- venv\Scripts\activate.ps1
6- download the Build TA-Lib wheels for Python on Windows from :

  https://github.com/cgohlke/talib-build/releases

 for my windows8.1 64 and python12 I choose :
 ta_lib-0.5.1-cp312-cp312-win_amd64.whl

7- inatall the ta-lib wheel:
python-m pip install ta_lib-0.5.1-cp312-cp312-win_amd64.whl

8- open the file requirement.txt and comment this line: TA-Lib==0.4.34 ==> #TA-Lib==0.4.34
8-  pip install -r requirements.txt
9-  pip install -e .

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

thats all.

No comments:

Post a Comment