You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ghostfolio/apps/api/src/app/portfolio/interfaces/portfolio-position.interfac...

26 lines
573 B

import { Currency } from '@prisma/client';
export interface PortfolioPosition {
currency: Currency;
exchange?: string;
grossPerformance: number;
grossPerformancePercent: number;
industry?: string;
investment: number;
isMarketOpen: boolean;
marketChange?: number;
marketChangePercent?: number;
marketPrice: number;
name: string;
platforms: {
[name: string]: { current: number; original: number };
};
quantity: number;
sector?: string;
shareCurrent: number;
shareInvestment: number;
symbol: string;
type?: string;
url?: string;
}