Feature/add support to set the base currency via env variable (#948)
* Set base currency via environment variable * Update changelog
This commit is contained in:
@@ -2,8 +2,6 @@ import { DataSource } from '@prisma/client';
|
||||
|
||||
import { ToggleOption } from './types';
|
||||
|
||||
export const baseCurrency = 'USD';
|
||||
|
||||
export const defaultDateRangeOptions: ToggleOption[] = [
|
||||
{ label: 'Today', value: '1d' },
|
||||
{ label: 'YTD', value: 'ytd' },
|
||||
|
@@ -4,6 +4,7 @@ import { Statistics } from './statistics.interface';
|
||||
import { Subscription } from './subscription.interface';
|
||||
|
||||
export interface InfoItem {
|
||||
baseCurrency: string;
|
||||
currencies: string[];
|
||||
demoAuthToken: string;
|
||||
fearAndGreedDataSource?: string;
|
||||
|
@@ -1,4 +1,5 @@
|
||||
import { AssetClass, DataSource } from '@prisma/client';
|
||||
|
||||
import { MarketState } from '../types';
|
||||
|
||||
export interface Position {
|
||||
|
Reference in New Issue
Block a user