Installation Guide

Dockerized setup for the ProfitDriveAI trading bot package.

Support email for download or installation questions:

Prerequisites

Server/VPS Ubuntu VPS recommended.
Docker Docker and Docker Compose installed.
Telegram Bot Bot token and chat ID for notifications.
Binance API API key and secret with the permissions you choose.

1. Prepare the server

mkdir -p /home/username/script3
cd /home/username/script3
unzip script3-docker.zip
cd script3-dockerized

Replace username with your server username/path.

2. Configure API keys and Telegram

nano script3/secrets.cfg

Edit Binance API keys and Telegram settings.

[binance]
api_key = YOUR_BINANCE_API_KEY
api_secret = YOUR_BINANCE_API_SECRET

[telegram]
enabled = 1
api_token = YOUR_TELEGRAM_BOT_TOKEN
chat_id = YOUR_TELEGRAM_CHAT_ID

3. Edit trading configuration

nano script3/config.py
nano script3/pairs.cfg

Review risk settings, leverage, position size, confidence threshold, TP/SL logic, cooldown and trading pairs before running live.

4. Build Docker image

docker compose build

5A. Run via command line

docker compose up -d

docker ps

docker logs -f script3-bot

5B. Run via Portainer Stack

Go to Portainer → Stacks → Add stack and use a stack similar to this:

version: "3.9"

services:
  script3-bot:
    image: script3-dockerized-script3-bot:latest
    pull_policy: never
    container_name: script3-bot
    restart: unless-stopped

    working_dir: /root/ta-lib
    command: ["python3", "script3.py"]

    tty: true
    stdin_open: true

    environment:
      - TZ=Europe/Nicosia

    volumes:
      - /home/username/script3/script3-dockerized/script3:/root/ta-lib/script3
      - /home/username/script3/script3-dockerized/state:/root/ta-lib/state
      - /home/username/script3/script3-dockerized/stats:/root/ta-lib/stats

6. Monitor the bot

CLI logs

docker logs -f script3-bot

Attach console

docker attach script3-bot

Detach safely with CTRL + P, then CTRL + Q.

Portainer

Open Containers → script3-bot → Logs.

7. Restart / stop

docker restart script3-bot

docker stop script3-bot

8. Update configuration

nano script3/secrets.cfg
nano script3/pairs.cfg
nano script3/config.py

docker restart script3-bot

Important notes