diff options
| author | JSDurand <mmemmew@gmail.com> | 2026-10-21 15:28:20 +0800 |
|---|---|---|
| committer | JSDurand <mmemmew@gmail.com> | 2026-10-21 15:28:20 +0800 |
| commit | 75dd524fadc022d9e6845f41f19203c3d5a951cd (patch) | |
| tree | b08ec82fe4358c5f9ea047794bb1ff888b35d64d /scripts/fetch.sh | |
| parent | 5c00355c2ccd94195bdb90e1c1e6f51acbcdd7a5 (diff) | |
- 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 <noreply@anthropic.com>
Diffstat (limited to 'scripts/fetch.sh')
| -rwxr-xr-x | scripts/fetch.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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" |
