ghostfolio/apps/api/src/app/portfolio/interfaces/portfolio-position-detail.interface.ts

22 lines
474 B
TypeScript
Raw Normal View History

2021-04-13 21:53:58 +02:00
export interface PortfolioPositionDetail {
averagePrice: number;
currency: string;
firstBuyDate: string;
grossPerformance: number;
grossPerformancePercent: number;
historicalData: HistoricalDataItem[];
investment: number;
marketPrice: number;
maxPrice: number;
minPrice: number;
quantity: number;
symbol: string;
}
export interface HistoricalDataItem {
averagePrice?: number;
date: string;
grossPerformancePercent?: number;
value: number;
}