ghostfolio/libs/common/src/lib/interfaces/timeline-position.interface.ts
Thomas Kaul dcee651098
Feature/support unlimited currencies (#387)
* Support unlimited currencies

* Update changelog
2021-09-24 21:09:48 +02:00

19 lines
422 B
TypeScript

import { DataSource } from '@prisma/client';
import Big from 'big.js';
export interface TimelinePosition {
averagePrice: Big;
currency: string;
dataSource: DataSource;
firstBuyDate: string;
grossPerformance: Big;
grossPerformancePercentage: Big;
investment: Big;
marketPrice: number;
netPerformance: Big;
netPerformancePercentage: Big;
quantity: Big;
symbol: string;
transactionCount: number;
}