Commit Graph
2 Commits
Author SHA1 Message Date
Alby96andClaude Opus 5.5 8d02d02876 Fix what the independent review of Phase 12 found, and close the phase
ci / test (postgres) (push) Successful in 7m31s
ci / test (sqlite) (push) Successful in 6m0s
ci / test (postgres) (pull_request) Successful in 7m15s
ci / test (sqlite) (pull_request) Successful in 6m8s
ci / image (push) Successful in 1m45s
ci / image (pull_request) Successful in 1m6s
- A flat window has no z-score even when its mean misses the common value by
  one rounding step (it gave a meaningless z of about 0.995).
- A broken ECB history (a maintenance page, a cut download, a damaged cached
  copy) is refused in Italian instead of crashing `data ecb`, and a download
  is checked and moved into place in one step, so it never replaces the good
  copy.
- A fixed time zone with 60 or more minutes is refused instead of being read
  as the next hour.
- `data fx` says why when every bar of the file falls outside the market week.

ADR 0028 records the choices of the phase; ROADMAP and STATE mark it done.

refs #118, refs #119, refs #120, refs #121

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 10:51:03 +01:00
Alby96andClaude Opus 5.5 2a96e08d5a Add sub-day research bars, ECB crosses and FX minute import
Phase 12 needs intraday bars and the 28 currency pairs for the basket
research, without touching the daily backtest engine.

- Timeframes gain 15m, 30m, 1h, 4h, 8h with Length and IsIntraday; the
  CSV import checks any intraday timeframe minute-style at its length
  instead of sending it to the daily check.
- BarAggregator builds longer bars in decimal on UTC epoch buckets,
  never fills a gap and leaves out a bucket that has not closed.
- Bar calendars (24x7, 24x5 FX from Sunday to Friday 17:00 New York,
  exchange sessions) and BarDataset: a common clock in double columns,
  NaN where a series has no bar, optional ask columns, Through that only
  shows closed bars, and a fingerprint of the data.
- EcbCrosses derives the 28 pairs (from the shared Baskets list) from
  the seven ECB rates; "anubis data ecb" writes them under research/ecb
  from the same cached zip as "backtest base", whose loader moves into
  the library with its output unchanged.
- CsvImporter.Parse is split out of ImportAsync and mappings accept a
  fixed offset such as UTC-05:00.
- "anubis data fx" reads Dukascopy and HistData one-minute files,
  refuses anything else in Italian, drops bars outside the FX week and
  writes the 1m and 15m series. The formats come from general knowledge:
  the fixtures are constructed samples, as API-NOTES says.

refs #120

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 10:06:44 +01:00