investing-economic-calendar
Version:
Extract economic events from the Investing.com widget.
35 lines (32 loc) • 703 B
text/typescript
import { Country } from "./Country";
export enum Currency {
AUD = "AUD",
CAD = "CAD",
CHF = "CHF",
EUR = "EUR",
GBP = "GBP",
JPY = "JPY",
NZD = "NZD",
USD = "USD",
}
export const currencyToCountries = {
[]: [Country.AUSTRALIA],
[]: [Country.CANADA],
[]: [Country.SWITZERLAND],
[]: [
Country.AUSTRIA,
Country.BELGIUM,
Country.EURO_ZONE,
Country.FRANCE,
Country.GERMANY,
Country.IRELAND,
Country.ITALY,
Country.NETHERLANDS,
Country.PORTUGAL,
Country.SPAIN,
],
[]: [Country.UNITED_KINGDOM],
[]: [Country.JAPAN],
[]: [Country.NEW_ZEALAND],
[]: [Country.UNITED_STATES],
};