initial symbols done, not liking the outcome, gonna switch to queue based approach
This commit is contained in:
parent
174346ea2f
commit
0cf0b315df
3 changed files with 27 additions and 4 deletions
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue