initial symbols done, not liking the outcome, gonna switch to queue based approach

This commit is contained in:
Boki 2025-06-16 22:59:39 -04:00
parent 174346ea2f
commit 0cf0b315df
3 changed files with 27 additions and 4 deletions

View file

@ -157,7 +157,7 @@ export async function fetchExchanges(sessionHeaders: Record<string, string>): Pr
logger.info('Saving IB exchanges to MongoDB...');
const client = getMongoDBClient();
await client.batchUpsert('ib_exchanges', exchanges, ['id', 'country_code']);
await client.batchUpsert('ibExchanges', exchanges, ['id', 'country_code']);
logger.info('✅ Exchange IB data saved to MongoDB:', {
count: exchanges.length,
});