phase-8:server code enhancements.

This commit is contained in:
Sai Kiran Vella
2026-06-05 22:44:04 -04:00
parent a7108b448a
commit 1e2aac7164
15 changed files with 781 additions and 94 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ export class CatalystAnalyst {
async run(): Promise<CatalystResult> {
this.logger.write('🔍 Fetching market news...');
const rawStories = await this._fetchNews();
const rawStories = await this.fetchNews();
if (!rawStories.length) {
this.logger.write(' ⚠ all news queries failed — check network or Yahoo rate limit\n');
@@ -67,7 +67,7 @@ export class CatalystAnalyst {
}));
}
private async _fetchNews(): Promise<YahooNewsItem[]> {
private async fetchNews(): Promise<YahooNewsItem[]> {
const seen = new Map<string, YahooNewsItem>();
let successCount = 0;
for (const query of CatalystAnalyst.NEWS_QUERIES) {