work up marketdatagateway
This commit is contained in:
parent
58ae897e90
commit
d22f7aafa0
17 changed files with 653 additions and 494 deletions
|
|
@ -38,5 +38,23 @@ export interface SystemEvent {
|
|||
timestamp: Date;
|
||||
}
|
||||
|
||||
// Data Processing Events
|
||||
export interface DataPipelineEvent {
|
||||
type: 'PIPELINE_CREATED' | 'PIPELINE_STARTED' | 'PIPELINE_COMPLETED' | 'PIPELINE_FAILED';
|
||||
pipelineId: string;
|
||||
pipelineName?: string;
|
||||
timestamp: Date;
|
||||
}
|
||||
|
||||
export interface DataJobEvent {
|
||||
type: 'JOB_STARTED' | 'JOB_COMPLETED' | 'JOB_FAILED' | 'JOB_PROGRESS';
|
||||
jobId: string;
|
||||
pipelineId?: string;
|
||||
progress?: number;
|
||||
error?: string;
|
||||
timestamp: Date;
|
||||
}
|
||||
|
||||
export type TradingEvent = MarketDataEvent | OrderEvent | SignalEvent;
|
||||
export type Event = TradingEvent | RiskAlertEvent | SystemEvent;
|
||||
export type DataEvent = DataPipelineEvent | DataJobEvent;
|
||||
export type Event = TradingEvent | RiskAlertEvent | SystemEvent | DataEvent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue