#!/usr/bin/env bash # Regenerate fxcache on PVC from MBP-10 + trades data. # Usage: ./scripts/argo-precompute.sh [--branch main] [--watch] set -euo pipefail BRANCH="main" WATCH=false while [[ $# -gt 0 ]]; do case "$1" in --branch) BRANCH="$2"; shift 2;; --watch) WATCH=true; shift;; -h|--help) echo "Usage: $0 [--branch ] [--watch]" echo " Regenerates fxcache on PVC with OFI_DIM=20 (20 microstructure features)" exit 0;; *) echo "Unknown option: $1"; exit 1;; esac done echo "=== Argo Precompute fxcache ===" echo " branch: $BRANCH" echo "" WORKFLOW=$(cat <