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.
31 lines
877 B
31 lines
877 B
import { DataSource, Tag } from '@prisma/client';
|
|
import { Big } from 'big.js';
|
|
|
|
export interface TimelinePosition {
|
|
averagePrice: Big;
|
|
currency: string;
|
|
dataSource: DataSource;
|
|
dividend: Big;
|
|
dividendInBaseCurrency: Big;
|
|
fee: Big;
|
|
firstBuyDate: string;
|
|
grossPerformance: Big;
|
|
grossPerformancePercentage: Big;
|
|
grossPerformancePercentageWithCurrencyEffect: Big;
|
|
grossPerformanceWithCurrencyEffect: Big;
|
|
investment: Big;
|
|
investmentWithCurrencyEffect: Big;
|
|
marketPrice: number;
|
|
marketPriceInBaseCurrency: number;
|
|
netPerformance: Big;
|
|
netPerformancePercentage: Big;
|
|
netPerformancePercentageWithCurrencyEffect: Big;
|
|
netPerformanceWithCurrencyEffect: Big;
|
|
quantity: Big;
|
|
symbol: string;
|
|
tags?: Tag[];
|
|
timeWeightedInvestment: Big;
|
|
timeWeightedInvestmentWithCurrencyEffect: Big;
|
|
transactionCount: number;
|
|
valueInBaseCurrency: Big;
|
|
}
|
|
|