2021-09-24 21:09:48 +02:00
|
|
|
import { DataSource } from '@prisma/client';
|
2021-07-20 22:52:50 +02:00
|
|
|
import Big from 'big.js';
|
|
|
|
|
|
|
|
export interface TimelinePosition {
|
|
|
|
averagePrice: Big;
|
2021-09-24 21:09:48 +02:00
|
|
|
currency: string;
|
2021-09-18 19:32:22 +02:00
|
|
|
dataSource: DataSource;
|
2023-01-30 20:21:16 +01:00
|
|
|
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;
|
2021-09-05 21:21:22 +02:00
|
|
|
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;
|
|
|
|
}
|