mirror of https://github.com/ghostfolio/ghostfolio
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.
54 lines
1.5 KiB
54 lines
1.5 KiB
import { Big } from 'big.js';
|
|
|
|
export interface SymbolMetrics {
|
|
currentValues: {
|
|
[date: string]: Big;
|
|
};
|
|
currentValuesWithCurrencyEffect: {
|
|
[date: string]: Big;
|
|
};
|
|
feesWithCurrencyEffect: Big;
|
|
grossPerformance: Big;
|
|
grossPerformancePercentage: Big;
|
|
grossPerformancePercentageWithCurrencyEffect: Big;
|
|
grossPerformanceWithCurrencyEffect: Big;
|
|
hasErrors: boolean;
|
|
initialValue: Big;
|
|
initialValueWithCurrencyEffect: Big;
|
|
investmentValuesAccumulated: {
|
|
[date: string]: Big;
|
|
};
|
|
investmentValuesAccumulatedWithCurrencyEffect: {
|
|
[date: string]: Big;
|
|
};
|
|
investmentValuesWithCurrencyEffect: {
|
|
[date: string]: Big;
|
|
};
|
|
netPerformance: Big;
|
|
netPerformancePercentage: Big;
|
|
netPerformancePercentageWithCurrencyEffect: Big;
|
|
netPerformanceValues: {
|
|
[date: string]: Big;
|
|
};
|
|
netPerformanceValuesWithCurrencyEffect: { [date: string]: Big };
|
|
netPerformanceWithCurrencyEffect: Big;
|
|
timeWeightedInvestment: Big;
|
|
timeWeightedInvestmentValues: {
|
|
[date: string]: Big;
|
|
};
|
|
timeWeightedInvestmentValuesWithCurrencyEffect: {
|
|
[date: string]: Big;
|
|
};
|
|
timeWeightedInvestmentWithCurrencyEffect: Big;
|
|
totalAccountBalanceInBaseCurrency: Big;
|
|
totalDividend: Big;
|
|
totalDividendInBaseCurrency: Big;
|
|
totalInterest: Big;
|
|
totalInterestInBaseCurrency: Big;
|
|
totalInvestment: Big;
|
|
totalInvestmentWithCurrencyEffect: Big;
|
|
totalLiabilities: Big;
|
|
totalLiabilitiesInBaseCurrency: Big;
|
|
totalValuables: Big;
|
|
totalValuablesInBaseCurrency: Big;
|
|
}
|
|
|