@baguskto/saham
Version:
MCP Server untuk data saham Indonesia (IDX) - Implementasi Node.js/TypeScript
19 lines • 801 B
TypeScript
/**
* Yahoo Finance data source implementation
*/
import { DataSource } from './base';
import type { StockInfo, MarketOverview, HistoricalData, SectorPerformance, SearchResult } from '../types';
export declare class YahooFinanceSource extends DataSource {
private readonly idxSuffix;
constructor();
private getYahooTicker;
getStockInfo(ticker: string): Promise<StockInfo | null>;
getMarketOverview(): Promise<MarketOverview | null>;
private getTopStocksSample;
private getMarketStatus;
getHistoricalData(ticker: string, period: string): Promise<HistoricalData | null>;
private getPeriodStartDate;
getSectorPerformance(): Promise<SectorPerformance | null>;
searchStocks(query: string): Promise<SearchResult[]>;
}
//# sourceMappingURL=yahoo-finance.d.ts.map