UNPKG

@baguskto/saham

Version:

MCP Server untuk data saham Indonesia (IDX) - Implementasi Node.js/TypeScript

36 lines 1.34 kB
/** * GitHub Dataset data source for historical Indonesian stock data * Integrates with wildangunawan/Dataset-Saham-IDX repository */ import { DataSource } from './base'; import type { StockInfo, MarketOverview, HistoricalData, SectorPerformance, SearchResult } from '../types'; export declare class GitHubDatasetSource extends DataSource { private historicalService; constructor(); getStockInfo(_ticker: string): Promise<StockInfo | null>; getMarketOverview(): Promise<MarketOverview | null>; getHistoricalData(ticker: string, period: string): Promise<HistoricalData | null>; getSectorPerformance(): Promise<SectorPerformance | null>; searchStocks(query: string): Promise<SearchResult[]>; /** * Get full stock data without period limitation (all available data) */ getFullStockData(ticker: string): Promise<HistoricalData | null>; /** * Get dataset statistics and information */ getDatasetInfo(): Promise<{ repository: { lastUpdated: string; totalFiles: number; availableStocks: number; }; cache: { cachedStocks: number; totalDataPoints: number; oldestData: Date | null; newestData: Date | null; }; }>; } //# sourceMappingURL=github-dataset.d.ts.map