benchmarks

This commit is contained in:
Saki
2026-06-02 02:42:41 -04:00
parent 3768d83b5b
commit a0d4dc54a0
17 changed files with 512 additions and 166 deletions
+3 -2
View File
@@ -1,10 +1,11 @@
// src/api/YahooClient.js
import YahooFinance from 'yahoo-finance2';
export class YahooClient {
constructor() {
// Instantiate the client as required by v3
this.yf = new YahooFinance();
this.yf = new YahooFinance({
suppressNotices: ['yahooSurvey'],
});
}
async fetchSummary(ticker, retries = 3, backoff = 1000) {