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

20 lines
434 B
TypeScript
Raw Normal View History

import { DataSource } from '@prisma/client';
2021-07-20 22:52:50 +02:00
import Big from 'big.js';
export interface TimelinePosition {
averagePrice: Big;
currency: string;
dataSource: DataSource;
fee: Big;
2021-07-20 22:52:50 +02:00
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;
}