feat(research): select and reuse frozen datasets in workbench
This commit is contained in:
parent
6a67ae8683
commit
b106c1ca85
29 changed files with 2295 additions and 426 deletions
21
libs/core/types/src/dataset-catalog.ts
Normal file
21
libs/core/types/src/dataset-catalog.ts
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import type { HistoricalDatasetManifest } from './historical-data';
|
||||
|
||||
/** Metadata only. Availability here never certifies bar content or calendar coverage. */
|
||||
export interface HistoricalDatasetCatalogEntry {
|
||||
hash: string;
|
||||
version: number | null;
|
||||
createdAt: string;
|
||||
manifest: HistoricalDatasetManifest | null;
|
||||
status: 'available' | 'unsupported' | 'invalid';
|
||||
reason: string | null;
|
||||
coverage: 'unknown';
|
||||
integrity: 'not-verified';
|
||||
}
|
||||
|
||||
/** Derived from the accepted run snapshot and its atomic dataset binding. */
|
||||
export interface BacktestRunDatasetSelection {
|
||||
requestedHash: string | null;
|
||||
pinnedHash: string | null;
|
||||
source: 'auto' | 'questdb' | 'eod' | null;
|
||||
state: 'requested' | 'preparing' | 'pinned' | 'unavailable' | 'unknown';
|
||||
}
|
||||
|
|
@ -128,6 +128,7 @@ export {
|
|||
HistoricalDataRequestError,
|
||||
validateHistoricalDataRequest,
|
||||
} from './historical-data';
|
||||
export type { HistoricalDatasetCatalogEntry, BacktestRunDatasetSelection } from './dataset-catalog';
|
||||
export type {
|
||||
InstrumentIdentity,
|
||||
HistoricalDataPolicy,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue