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.
29 lines
919 B
29 lines
919 B
import {
|
|
HistoricalDataItem,
|
|
ResponseError,
|
|
TimelinePosition
|
|
} from '@ghostfolio/common/interfaces';
|
|
|
|
import { Big } from 'big.js';
|
|
|
|
export interface PortfolioSnapshot extends ResponseError {
|
|
chartData: HistoricalDataItem[];
|
|
currentValueInBaseCurrency: Big;
|
|
grossPerformance: Big;
|
|
grossPerformanceWithCurrencyEffect: Big;
|
|
grossPerformancePercentage: Big;
|
|
grossPerformancePercentageWithCurrencyEffect: Big;
|
|
netAnnualizedPerformance?: Big;
|
|
netAnnualizedPerformanceWithCurrencyEffect?: Big;
|
|
netPerformance: Big;
|
|
netPerformanceWithCurrencyEffect: Big;
|
|
netPerformancePercentage: Big;
|
|
netPerformancePercentageWithCurrencyEffect: Big;
|
|
positions: TimelinePosition[];
|
|
totalFeesWithCurrencyEffect: Big;
|
|
totalInterestWithCurrencyEffect: Big;
|
|
totalInvestment: Big;
|
|
totalInvestmentWithCurrencyEffect: Big;
|
|
totalLiabilitiesWithCurrencyEffect: Big;
|
|
totalValuablesWithCurrencyEffect: Big;
|
|
}
|
|
|