diff --git a/scripts/argo-precompute.sh b/scripts/argo-precompute.sh new file mode 100755 index 000000000..3e463499d --- /dev/null +++ b/scripts/argo-precompute.sh @@ -0,0 +1,77 @@ +#!/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 <