You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.2 KiB

import { IDataGatheringItem } from '@ghostfolio/api/services/interfaces/interfaces';
import { Currency } from '@prisma/client';
import { DataSource } from '@prisma/client';
4 years ago
export const baseCurrency = Currency.USD;
4 years ago
export const benchmarks: Partial<IDataGatheringItem>[] = [
{ dataSource: DataSource.YAHOO, symbol: 'VOO' }
];
4 years ago
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}` }
4 years ago
];
export const ghostfolioScraperApiSymbolPrefix = '_GF_';
export const ghostfolioCashSymbol = `${ghostfolioScraperApiSymbolPrefix}CASH`;
4 years ago
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 warnColorHex = '#dc3545';
export const warnColorRgb = {
r: 220,
g: 53,
b: 69
};
4 years ago
export const DEFAULT_DATE_FORMAT = 'dd.MM.yyyy';
export const DEFAULT_DATE_FORMAT_MONTH_YEAR = 'MMM yyyy';
export const UNKNOWN_KEY = 'UNKNOWN';