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

24 lines
501 B
TypeScript
Raw Normal View History

2021-07-20 22:52:50 +02:00
import {
MarketState,
Type
} from '@ghostfolio/api/services/interfaces/interfaces';
import { Currency } from '@prisma/client';
import Big from 'big.js';
export interface TimelinePosition {
averagePrice: Big;
currency: Currency;
firstBuyDate: string;
marketState: MarketState;
quantity: Big;
symbol: string;
investment: Big;
grossPerformancePercentage: Big;
grossPerformance: Big;
marketPrice: number;
transactionCount: number;
name: string;
url: string;
type: Type;
}