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:
1 parent
aec848b4a2
commit
2a96e08d5a
17 files changed
+1636
-46
No files matched your search
@@ -166,6 +166,9 @@ Ogni fatto non verificabile resta dietro una protezione. I nomi delle impostazio
|
||||
| Codici di una chiave rifiutata | Alpaca e OKX rispondono 401 o 403; su OKX i codici 50102 e 50112 parlano dell'orologio e non della chiave. Scritto dalla documentazione, non provato dal vivo: se un codice mancasse, l'avviso direbbe "non risponde" invece di "non accetta la chiave" (ADR 0020). | 9 |
|
||||
| Archivi della SEC (settori) | `company_tickers.json` e `submissions` letti come da documentazione, non provati dal vivo perché serve un contatto dell'utente. Senza, nessuna richiesta parte; un settore sconosciuto non limita niente. | 9 |
|
||||
| Minuti senza scambi su OKX | Il buco si riscarica una volta, poi resta segnato come non recuperabile e non blocca nulla. | 2 |
|
||||
| Formato dei file a un minuto di Dukascopy | Scritto da conoscenze generali, non da un file visto: intestazione `Gmt time,Open,High,Low,Close,Volume`, ora `dd.MM.yyyy HH:mm:ss.fff` in UTC, un file per lato con `_BID_` o `_ASK_` nel nome, unità del volume non documentata (si tiene com'è). I campioni nei test (`Fixtures/fx`) sono costruiti a mano. Un file in ora locale o di formato diverso viene rifiutato con la spiegazione; le barre fuori dalla settimana 24×5 vengono lasciate fuori e contate. Da confrontare con il primo file vero dell'utente. | 12 |
|
||||
| Formato dei file a un minuto di HistData | Scritto da conoscenze generali: ASCII generico senza intestazione, `;`, ora `yyyyMMdd HHmmss` di New York senza ora legale (UTC−5 tutto l'anno), solo denaro, coppia nel nome `DAT_ASCII_EURUSD_M1_2024.csv`. Il formato MetaTrader (`DAT_MT_…`) viene rifiutato. Campioni costruiti a mano; da confrontare con il primo file vero. | 12 |
|
||||
| Le sette valute nello storico della BCE dal 1999 | Lo zip `eurofxref-hist.zip` ha le colonne USD, JPY, GBP, CHF, AUD, CAD e NZD (controllato sul file registrato di due giorni); non è stato controllato su tutto lo storico che ogni giorno le abbia tutte. Un giorno senza un cambio toglie solo le coppie che lo usano, e `anubis data ecb` dice quante barre mancano. | 12 |
|
||||
|
||||
## Verifiche della Fase 2 (dati di mercato)
|
||||
|
||||
|
||||
Reference in new issue
Block a user