From 242c18f4ab04a5dbcbb0f3d3ee1b60d382c50eee Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Fri, 17 Apr 2026 01:14:46 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20argo-precompute.sh=20=E2=80=94=20regene?= =?UTF-8?q?rate=20fxcache=20on=20PVC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Usage: ./scripts/argo-precompute.sh [--branch main] [--watch] Deletes old fxcache, builds precompute binary, runs with MBP-10 + trades data. OFI_DIM=20 (20 microstructure features). ~5-10 min. Co-Authored-By: Claude Opus 4.6 (1M context) --- scripts/argo-precompute.sh | 77 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100755 scripts/argo-precompute.sh 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 <