Product-led
Deploy script walkthrough
The guide ships a deploy script so you are not inventing systemd units at 1am. Here is what it is doing, in order, and what to check when it fails.
The AI Trading Bot Guide includes a deploy script so you are not assembling systemd, venv, and env files from memory. This page is the map of that path. Exact filenames ship in the download.
What you should have before you run it
- Ubuntu VPS you can SSH into
- A non-root user with sudo
- API keys ready, withdraw off
- Telegram token and chat ID
- DRY_RUN=true until paper logs are boring
The usual deploy order
- Copy the project folder to the server.
- Create the virtualenv and install pinned requirements.
- Write .env from the template on the server.
- Run a one-shot health command if the guide includes it.
- Install the systemd unit.
- Watch logs for one full scan interval.
- Confirm a Telegram “up” message.
Environment template (shape, not secrets)
DRY_RUN=true BINANCE_API_KEY= BINANCE_API_SECRET= TELEGRAM_BOT_TOKEN= TELEGRAM_CHAT_ID= DAILY_LOSS_LIMIT_USD=10 SCAN_INTERVAL_SEC=300
If a required variable is missing, the process should refuse to start. A silent default of live trading is a bug.
When the script fails
- Permission denied on .env — user mismatch with the systemd unit.
- Module not found — the service is not using the venv ExecStart.
- 401 from Binance — key, IP allowlist, or clock skew.
- No Telegram — token/chat id; outbound 443.
First healthy boot looks like
- systemd active
- One scan log line
- One Telegram hello
- Zero create_order calls while DRY_RUN=true
Get the full walkthrough
The paid guide includes the source, config template, and deploy script. 50% off: $19.99 (was $39.99). One-time.
Get the ebook — $19.99Educational product. Trading can lose money. Not financial advice.