Commit Graph

2 Commits

Author SHA1 Message Date
jgrusewski
eaa4e699b2 fix(fetch): clean missing-key error + day-aligned funding array
Fix A: `fxhnt fetch --futures` with no DATABENTO_API_KEY now exits 1
with a clear message instead of surfacing a RuntimeError traceback;
guard runs before any network call so crypto still proceeds normally.

Fix B: `fetch_crypto_pit` writes `funding` as a per-day array aligned
to `kd` (same length as `day`/`close`), dropping the separate
`funding_day` key that was unaligned with the price axis.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 12:30:07 +02:00
jgrusewski
fa10f92d7e feat(fetch): fxhnt fetch CLI (crypto/futures into data-dir)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 12:24:51 +02:00