@baguskto/saham
Version:
MCP Server untuk data saham Indonesia (IDX) - Implementasi Node.js/TypeScript
17 lines • 739 B
TypeScript
/**
* Web scraping data source implementation (fallback)
*/
import { DataSource } from './base';
import type { StockInfo, MarketOverview, HistoricalData, SectorPerformance, SearchResult } from '../types';
export declare class WebScrapingSource extends DataSource {
private readonly userAgent;
constructor();
private fetchPage;
getStockInfo(ticker: string): Promise<StockInfo | null>;
getMarketOverview(): Promise<MarketOverview | null>;
private getMarketStatus;
getHistoricalData(ticker: string, period: string): Promise<HistoricalData | null>;
getSectorPerformance(): Promise<SectorPerformance | null>;
searchStocks(query: string): Promise<SearchResult[]>;
}
//# sourceMappingURL=web-scraper.d.ts.map