@pratiksha90/financial-data-extractors
Version:
Utilities for extracting financial data from various economic calendar websites
22 lines (21 loc) • 745 B
TypeScript
import { ExtractorOptions, CalendarData, EventData } from '../types';
/**
* Check if the current page is Bloomberg calendar
*/
export declare function isBloombergCalendar(url: string): boolean;
/**
* Check if the current page is ForexProsTools calendar
*/
export declare function isForexProsToolsCalendar(url: string): boolean;
/**
* Extract Bloomberg calendar iframe URL
*/
export declare function extractBloombergIframeUrl(options: ExtractorOptions): string | null;
/**
* Parse ForexProsTools calendar events
*/
export declare function parseForexProsToolsCalendar(options: ExtractorOptions): EventData[];
/**
* Extract Bloomberg calendar data
*/
export declare function extractBloombergData(options: ExtractorOptions): CalendarData;