chore: sync local workspace changes
This commit is contained in:
@@ -160,6 +160,24 @@ export async function runManagedScheduleService(relativeDirectory: string) {
|
||||
thresholdPercent: definition.thresholdPercent,
|
||||
});
|
||||
},
|
||||
runChangeRateAndVolumeSpikeStockAlertService(
|
||||
definition: {
|
||||
scheduleId: number;
|
||||
serviceKey: string;
|
||||
title: string;
|
||||
thresholdPercent: number;
|
||||
minVolumeIncreasePercent: number;
|
||||
},
|
||||
) {
|
||||
return sendManagedStockAlertWebPush({
|
||||
scheduleId: definition.scheduleId,
|
||||
serviceKey: definition.serviceKey,
|
||||
title: definition.title,
|
||||
mode: 'change-threshold-volume-spike',
|
||||
thresholdPercent: definition.thresholdPercent,
|
||||
minVolumeIncreasePercent: definition.minVolumeIncreasePercent,
|
||||
});
|
||||
},
|
||||
}) as Promise<ManagedScheduleServiceResult>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user