mirror of https://github.com/ghostfolio/ghostfolio
Thomas Kaul
1 year ago
committed by
GitHub
3 changed files with 72 additions and 6 deletions
@ -0,0 +1,41 @@ |
|||
import Big from 'big.js'; |
|||
|
|||
export interface SymbolMetrics { |
|||
currentValues: { |
|||
[date: string]: Big; |
|||
}; |
|||
currentValuesWithCurrencyEffect: { |
|||
[date: string]: Big; |
|||
}; |
|||
grossPerformance: Big; |
|||
grossPerformancePercentage: Big; |
|||
grossPerformancePercentageWithCurrencyEffect: Big; |
|||
grossPerformanceWithCurrencyEffect: Big; |
|||
hasErrors: boolean; |
|||
initialValue: Big; |
|||
initialValueWithCurrencyEffect: Big; |
|||
investmentValues: { |
|||
[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; |
|||
totalInvestment: Big; |
|||
totalInvestmentWithCurrencyEffect: Big; |
|||
} |
Loading…
Reference in new issue