Skip to content

Instantly share code, notes, and snippets.

@ilyasst
Created November 4, 2019 00:18
Show Gist options
  • Save ilyasst/a7d3c6789281fdf961aaea49c312c7ff to your computer and use it in GitHub Desktop.
Save ilyasst/a7d3c6789281fdf961aaea49c312c7ff 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