UNPKG

@fin.cx/opendata

Version:

A comprehensive TypeScript library for accessing business data and real-time financial information. Features include German company data management with MongoDB integration, JSONL bulk processing, automated Handelsregister interactions, and real-time stoc

23 lines (22 loc) 866 B
import type { IStockProvider, IProviderConfig } from '../interfaces/provider.js'; import type { IStockPrice, IStockQuoteRequest, IStockBatchQuoteRequest } from '../interfaces/stockprice.js'; export declare class YahooFinanceProvider implements IStockProvider { private config?; name: string; priority: number; readonly requiresAuth = false; readonly rateLimit: { requestsPerMinute: number; requestsPerDay: any; }; private logger; private baseUrl; private userAgent; constructor(config?: IProviderConfig); fetchPrice(request: IStockQuoteRequest): Promise<IStockPrice>; fetchPrices(request: IStockBatchQuoteRequest): Promise<IStockPrice[]>; isAvailable(): Promise<boolean>; supportsMarket(market: string): boolean; supportsTicker(ticker: string): boolean; private determineMarketState; }