removed some files

This commit is contained in:
Boki 2025-07-09 23:51:10 -04:00
parent b87a931a2b
commit cbf002a31a
4 changed files with 2 additions and 247 deletions

View file

@ -329,7 +329,6 @@ export async function fetchIntraday(
symbol,
exchange,
symbolExchange: `${symbol}.${exchange}`,
interval,
datetime: bar.datetime,
timestamp: bar.timestamp,
gmtoffset: bar.gmtoffset,
@ -341,12 +340,12 @@ export async function fetchIntraday(
source: 'eod'
}));
// Save to MongoDB - use timestamp, symbol, and interval as unique identifier
// Save to MongoDB - use timestamp and symbolExchange as unique identifier
const collectionName = `eodIntraday${interval.toUpperCase()}`;
const result = await this.mongodb.batchUpsert(
collectionName,
recordsWithMetadata,
['timestamp', 'symbolExchange', 'interval']
['timestamp', 'symbolExchange']
);
logger.info(`Saved ${result.insertedCount} intraday records`, {