investing-economic-calendar
Version:
Extract economic events from the Investing.com widget.
10 lines (9 loc) • 359 B
text/typescript
import { fetchEconomicEvents, CalendarType, Country, Currency, Importance, Language, TimeZone } from "./src/index";
console.log(await fetchEconomicEvents({
importance: [Importance.HIGH],
calType: CalendarType.WEEKLY,
lang: Language.ENGLISH,
timeZone: TimeZone.EASTERN_TIME_US_CANADA,
countries: [Country.UNITED_STATES],
currencies: [Currency.USD],
}));