ghostfolio/libs/common/src/lib/interfaces/timeline-position.interface.ts

18 lines
396 B
TypeScript
Raw Normal View History

2021-07-20 22:52:50 +02:00
import { Currency } from '@prisma/client';
import Big from 'big.js';
export interface TimelinePosition {
averagePrice: Big;
currency: Currency;
firstBuyDate: string;
2021-07-24 10:53:15 +02:00
grossPerformance: Big;
grossPerformancePercentage: Big;
2021-07-20 22:52:50 +02:00
investment: Big;
marketPrice: number;
netPerformance: Big;
netPerformancePercentage: Big;
2021-07-24 10:53:15 +02:00
quantity: Big;
symbol: string;
2021-07-20 22:52:50 +02:00
transactionCount: number;
}