renamed corporate-actions to events and finished intial work on it

This commit is contained in:
Boki 2025-06-29 18:50:35 -04:00
parent bb16a52bf7
commit d3850f9eaf
6 changed files with 200 additions and 200 deletions

View file

@ -10,7 +10,7 @@ import {
checkSessions,
createSession,
deduplicateSymbols,
scheduleCorporateActionsUpdates,
scheduleEventsUpdates,
scheduleFilingsUpdates,
scheduleFinancialsUpdates,
scheduleIntradayUpdates,
@ -18,7 +18,7 @@ import {
scheduleSymbolInfoUpdates,
searchSymbols,
spiderSymbol,
updateCorporateActions,
updateEvents,
updateExchangeStats,
updateExchangeStatsAndDeduplicate,
updateFilings,
@ -114,18 +114,18 @@ export class QMHandler extends BaseHandler<DataIngestionServices> {
scheduleFinancialsUpdates = scheduleFinancialsUpdates;
/**
* CORPORATE ACTIONS (Dividends, Splits, Earnings)
* EVENTS (Dividends, Splits, Earnings)
*/
@Operation('update-corporate-actions')
updateCorporateActions = updateCorporateActions;
@Operation('update-events')
updateEvents = updateEvents;
@Disabled()
@ScheduledOperation('schedule-corporate-actions-updates', '0 3 * * *', {
// @Disabled()
@ScheduledOperation('schedule-events-updates', '0 3 * * *', {
priority: 6,
immediately: false,
description: 'Check for symbols needing corporate actions updates daily at 3 AM'
description: 'Check for symbols needing events updates daily at 3 AM'
})
scheduleCorporateActionsUpdates = scheduleCorporateActionsUpdates;
scheduleEventsUpdates = scheduleEventsUpdates;
/**
* FILINGS