39 lines
1.1 KiB
TypeScript
Raw Normal View History

import { IDataGatheringItem } from '@ghostfolio/api/services/interfaces/interfaces';
import { Currency } from '@prisma/client';
import { DataSource } from '@prisma/client';
2021-04-13 21:53:58 +02:00
export const baseCurrency = Currency.USD;
2021-04-13 21:53:58 +02:00
export const benchmarks: Partial<IDataGatheringItem>[] = [
{ dataSource: DataSource.YAHOO, symbol: 'VOO' }
];
2021-04-13 21:53:58 +02:00
export const currencyPairs: Partial<IDataGatheringItem>[] = [
{ dataSource: DataSource.YAHOO, symbol: `${Currency.USD}${Currency.EUR}` },
{ dataSource: DataSource.YAHOO, symbol: `${Currency.USD}${Currency.GBP}` },
{ dataSource: DataSource.YAHOO, symbol: `${Currency.USD}${Currency.CHF}` }
2021-04-13 21:53:58 +02:00
];
2021-04-21 21:15:49 +02:00
export const ghostfolioScraperApiSymbolPrefix = '_GF_';
2021-04-13 21:53:58 +02:00
export const locale = 'de-CH';
export const primaryColorHex = '#36cfcc';
export const primaryColorRgb = {
r: 54,
g: 207,
b: 204
};
export const secondaryColorHex = '#3686cf';
export const secondaryColorRgb = {
r: 54,
g: 134,
b: 207
};
export const DEFAULT_DATE_FORMAT = 'dd.MM.yyyy';
export const DEFAULT_DATE_FORMAT_MONTH_YEAR = 'MMM yyyy';
2021-05-15 10:09:07 +02:00
export const UNKNOWN_KEY = 'UNKNOWN';