Files
remizov-trader/deploy/update.sh
T
anorandClaude Opus 4.6 af6885c3e7 feat: deploy-конфиг + trailing stops + reconcile positions
- deploy/scalp-bot.service — systemd unit для пользователя scalp
- deploy/update.sh — скрипт обновления на сервере
- cli.py: stop-update cycle каждые 15 мин (trailing stops + safety orders)
- executor.py: reconcile_positions (синхронизация с биржей), update_stops

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 21:43:21 +10:00

8 lines
200 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
cd /home/scalp/app
git pull --ff-only
source .venv/bin/activate
pip install -r requirements.txt --quiet
echo "Updated. Restart: sudo systemctl restart scalp-bot"