Files
winning-wallet-finder_github/run_copybot.sh
T
jaxperro 2946ac9170 copybot: 24/7 paper copy-trade test + live dashboard feed
Push-or-poll copy bot (FollowFilter conviction gate + copytrade engine),
cash-gated $1k book, resolution settling, lag/slippage logging, FOK live
orders, on-chain redeem. Runs free 24/7 via GitHub Actions (--poll-once
cron) and publishes live/copybot_live.json for the trading dashboard.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 12:41:56 -06:00

15 lines
736 B
Bash
Executable File

#!/bin/bash
# Run the copy bot continuously for the 24/7 paper test.
#
# * caffeinate -i keeps the Mac from idle-sleeping while the bot runs (it will
# still stop if the lid is closed on battery, or the Mac is shut down / offline
# — for true machine-independent 24/7, deploy the webhook receiver to a cloud
# host instead; see the notes in copybot.py).
# * --poll 60 checks the four wallets every 60s (well under the 600s freshness
# window, so no trade is missed; their leads are ≥3h so this is plenty fast).
#
# Used by the launchd agent (com.jaxperro.copybot.plist) which restarts it on crash.
# Logs to copybot.log.
cd "$(dirname "$0")"
exec caffeinate -i python3 copybot.py --poll 60 >> copybot.log 2>&1