Spaces:
Runtime error

aureon-os / scripts /shell /start /START_LIVE_TRADING.sh
GaryLeckey's picture
Publish Aureon OS from source ca6be206f108a2474a8cb38faf9ad3ae836e1479 (files 1-250/16781) (#1)
56c0d82
Raw History Blame Contribute Delete
566 Bytes
#!/usr/bin/env bash
# Legacy start route: fixed isolated protection HOLD only.
set -euo pipefail
SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
REPO_ROOT="$(CDPATH= cd -- "$SCRIPT_DIR/../../.." && pwd -P)"
PYTHON_EXE="$REPO_ROOT/.venv/bin/python"
BOOTSTRAP="$REPO_ROOT/scripts/bootstrap/protected_bootstrap_v05.py"
if [[ ! -x "$PYTHON_EXE" || ! -r "$BOOTSTRAP" ]]; then
echo "Fixed protected runtime bootstrap unavailable; refusing launch." >&2
exit 1
fi
exec "$PYTHON_EXE" -I -S -B "$BOOTSTRAP" --target-id unified-market-trader