Skip to content

ShahAnuj2610/my-freqtrade

Repository files navigation

Disclaimer

Use it at your own risk.

Getting Started

sudo apt update
sudo apt upgrade -y
sudo apt install docker-compose -y
sudo mkdir service
cd service
sudo git clone https://github.com/freqtrade/freqtrade.git
cd freqtrade
sudo chmod -R 777 /var/run/docker.sock
docker-compose pull

Oracle Cloud VM port Expose

sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 80 -j ACCEPT
sudo netfilter-persistent save

Define your GitHub secrets

export DOCKER_SSH_HOST=192.168.0.1
export DOCKER_SSH_USERNAME=ubuntu
export DOCKER_SSH_PRIVATE_KEY=<>
export DOCKER_HOST=ubuntu@192.168.0.1
export DOCKER_SSH_PUBLIC_KEY=<>
export GH_PAT=<>

Create a swap file

sudo fallocate -l 100G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo cp /etc/fstab /etc/fstab.bak
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab

Delete swap file

sudo swapoff /swapfile
sudo rm /swapfile
sudo cp /etc/fstab.bak /etc/fstab

run python script in background using screen

screen -S freqtrade -d -m python3 compare_file_content.py

see logs in screen

screen -r freqtrade

stop screen

screen -r freqtrade -X quit

About

Strategy for freqtrade

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published