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>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-12-04 10:06:44 +01:00
1 parent aec848b4a2
commit 2a96e08d5a
17 files changed
+1636 -46

No files matched your search

@@ -0,0 +1,5 @@
20240102 030000;1.094500;1.094800;1.094400;1.094700;0
20240102 030100;1.094700;1.095200;1.094600;1.095100;0
20240102 030700;1.095100;1.095300;1.094900;1.095000;0
20240102 031400;1.095000;1.095000;1.094100;1.094300;0
20240102 031500;1.094300;1.094600;1.094200;1.094500;0
1 20240102 030000 1.094500 1.094800 1.094400 1.094700 0
2 20240102 030100 1.094700 1.095200 1.094600 1.095100 0
3 20240102 030700 1.095100 1.095300 1.094900 1.095000 0
4 20240102 031400 1.095000 1.095000 1.094100 1.094300 0
5 20240102 031500 1.094300 1.094600 1.094200 1.094500 0
@@ -0,0 +1,6 @@
Gmt time,Open,High,Low,Close,Volume
02.01.2024 08:00:00.000,1.09462,1.09492,1.09452,1.09482,10.5
02.01.2024 08:01:00.000,1.09482,1.09532,1.09472,1.09522,20.25
02.01.2024 08:07:00.000,1.09522,1.09542,1.09502,1.09512,3
02.01.2024 08:14:00.000,1.09512,1.09512,1.09422,1.09442,1.5
02.01.2024 08:15:00.000,1.09442,1.09472,1.09432,1.09462,7
1 Gmt time Open High Low Close Volume
2 02.01.2024 08:00:00.000 1.09462 1.09492 1.09452 1.09482 10.5
3 02.01.2024 08:01:00.000 1.09482 1.09532 1.09472 1.09522 20.25
4 02.01.2024 08:07:00.000 1.09522 1.09542 1.09502 1.09512 3
5 02.01.2024 08:14:00.000 1.09512 1.09512 1.09422 1.09442 1.5
6 02.01.2024 08:15:00.000 1.09442 1.09472 1.09432 1.09462 7
@@ -0,0 +1,7 @@
Gmt time,Open,High,Low,Close,Volume
02.01.2024 08:00:00.000,1.09450,1.09480,1.09440,1.09470,10.5
02.01.2024 08:01:00.000,1.09470,1.09520,1.09460,1.09510,20.25
02.01.2024 08:07:00.000,1.09510,1.09530,1.09490,1.09500,3
02.01.2024 08:14:00.000,1.09500,1.09500,1.09410,1.09430,1.5
02.01.2024 08:15:00.000,1.09430,1.09460,1.09420,1.09450,7
06.01.2024 12:00:00.000,1.09450,1.09450,1.09450,1.09450,0
1 Gmt time Open High Low Close Volume
2 02.01.2024 08:00:00.000 1.09450 1.09480 1.09440 1.09470 10.5
3 02.01.2024 08:01:00.000 1.09470 1.09520 1.09460 1.09510 20.25
4 02.01.2024 08:07:00.000 1.09510 1.09530 1.09490 1.09500 3
5 02.01.2024 08:14:00.000 1.09500 1.09500 1.09410 1.09430 1.5
6 02.01.2024 08:15:00.000 1.09430 1.09460 1.09420 1.09450 7
7 06.01.2024 12:00:00.000 1.09450 1.09450 1.09450 1.09450 0