Skip to content

Instantly share code, notes, and snippets.

@MihaiChirculete
Forked from ilyasst/freqtrade_RPi.md
Created February 14, 2021 09:49
Show Gist options
  • Save MihaiChirculete/439140c0e92502c6fe3281cbbb7073d9 to your computer and use it in GitHub Desktop.
Save MihaiChirculete/439140c0e92502c6fe3281cbbb7073d9 to your computer and use it in GitHub Desktop.

Run freqtrade on Raspberry Pi

Seupt your Dietpi. Static IP. SSH.

Freqtrade v2019.9 with Python 3.7 and setup.sh

Python 3.7:

 sudo apt-get install build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev -y
 
 wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz
 tar xf Python-3.7.2.tar.xz
 cd Python-3.7.2
 ./configure
 make -j 4
 sudo make altinstall

A few missing libraries for large computations, git itself (not provided with debian): sudo apt-get install libffi-dev git libatlas-base-dev

Now we get freqtrade: git clone https://github.com/freqtrade/freqtrade.git

Freqtrade automated setup can now be used:

cd freqtrade
./setup.sh --install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment