From 75dd524fadc022d9e6845f41f19203c3d5a951cd Mon Sep 17 00:00:00 2001 From: JSDurand Date: Wed, 21 Oct 2026 15:28:20 +0800 Subject: add VPS snapshot pipeline, run.sh, and data-repair fixes - fetch_tw_daily.sh: --snapshot mode (one file per trading day, merged by symbol), retries, validation of numeric fields - cron_daily.sh (VPS): lock, pruning, e-mail alerts on failure - sync_from_vps.sh (Mac): rsync snapshots and merge into per-stock CSVs - run.sh: pick data files for a symbol, build, analyse, open the page - lib.sh: LC_ALL=C; fetch.sh: small fixes - data.rs: repair rows whose open/close fall outside high/low - template: horizontal hover lines in the RSI and KD panels Co-Authored-By: Claude Sonnet 5.5 --- scripts/fetch.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/fetch.sh') diff --git a/scripts/fetch.sh b/scripts/fetch.sh index 33b1da2..1ad05a3 100755 --- a/scripts/fetch.sh +++ b/scripts/fetch.sh @@ -17,6 +17,9 @@ # trade on one of those days (halted) is fetched again, which is harmless. Skipped stocks are # not backfilled when START is moved earlier: use -F for that. # A >1% close mismatch on overlapping days is reported (probable split / capital reduction). + + + set -u source "$(dirname "$0")/lib.sh" -- cgit v1.2.3-18-g5258