mirror of
https://github.com/jaxperro/winning-wallet-finder.git
synced 2026-07-27 15:57:47 +00:00
copytrade.py moves out of archive/ + Fly health check (watchdog layer 1)
The execution engine was load-bearing from archive/ — the one thing in there that wasn't retired. Now at repo root next to copybot.py; the two archived scripts that imported it as a sibling get a parent-path shim. fly.toml gains an http /health check so Fly restarts a dark machine (self-heal); the notify half is the GH Actions watchdog (next commit). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+1
-3
@@ -50,9 +50,7 @@ import urllib.error
|
||||
import urllib.request
|
||||
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
|
||||
|
||||
# reuse the proven execution engine as a library (kept in archive/)
|
||||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "archive"))
|
||||
from copytrade import ( # noqa: E402
|
||||
from copytrade import ( # the execution engine (sizing, gates, executors)
|
||||
CopyTrader, PaperExecutor, LiveExecutor, DEFAULT_CONFIG,
|
||||
load_json, save_json, new_state, recent_trades, confirm_live,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user