work on queue
This commit is contained in:
parent
bf2fa003b9
commit
9b8a7bdd4b
6 changed files with 488 additions and 420 deletions
|
|
@ -166,29 +166,29 @@ export const quotemediaProvider: ProviderConfig = {
|
|||
},
|
||||
|
||||
scheduledJobs: [
|
||||
{
|
||||
type: 'quotemedia-premium-refresh',
|
||||
operation: 'batch-quotes',
|
||||
payload: { symbols: ['AAPL', 'GOOGL', 'MSFT'] },
|
||||
cronPattern: '*/2 * * * *', // Every 2 minutes
|
||||
priority: 7,
|
||||
description: 'Refresh premium quotes with detailed market data'
|
||||
},
|
||||
{
|
||||
type: 'quotemedia-options-update',
|
||||
operation: 'options-chain',
|
||||
payload: { symbol: 'SPY' },
|
||||
cronPattern: '*/10 * * * *', // Every 10 minutes
|
||||
priority: 5,
|
||||
description: 'Update options chain data for SPY ETF'
|
||||
},
|
||||
{
|
||||
type: 'quotemedia-profiles',
|
||||
operation: 'company-profile',
|
||||
payload: { symbol: 'AAPL' },
|
||||
cronPattern: '0 9 * * 1-5', // Weekdays at 9 AM
|
||||
priority: 3,
|
||||
description: 'Update company profile data'
|
||||
}
|
||||
// {
|
||||
// type: 'quotemedia-premium-refresh',
|
||||
// operation: 'batch-quotes',
|
||||
// payload: { symbols: ['AAPL', 'GOOGL', 'MSFT'] },
|
||||
// cronPattern: '*/2 * * * *', // Every 2 minutes
|
||||
// priority: 7,
|
||||
// description: 'Refresh premium quotes with detailed market data'
|
||||
// },
|
||||
// {
|
||||
// type: 'quotemedia-options-update',
|
||||
// operation: 'options-chain',
|
||||
// payload: { symbol: 'SPY' },
|
||||
// cronPattern: '*/10 * * * *', // Every 10 minutes
|
||||
// priority: 5,
|
||||
// description: 'Update options chain data for SPY ETF'
|
||||
// },
|
||||
// {
|
||||
// type: 'quotemedia-profiles',
|
||||
// operation: 'company-profile',
|
||||
// payload: { symbol: 'AAPL' },
|
||||
// cronPattern: '0 9 * * 1-5', // Weekdays at 9 AM
|
||||
// priority: 3,
|
||||
// description: 'Update company profile data'
|
||||
// }
|
||||
]
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue