mirror of https://github.com/ghostfolio/ghostfolio
				
				
			
			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.
		
		
		
		
		
			
		
			
				
					
					
						
							31 lines
						
					
					
						
							806 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							31 lines
						
					
					
						
							806 B
						
					
					
				
								import { MarketState } from '@ghostfolio/api/services/interfaces/interfaces';
							 | 
						|
								import { Currency } from '@prisma/client';
							 | 
						|
								
							 | 
						|
								import { Country } from './country.interface';
							 | 
						|
								import { Sector } from './sector.interface';
							 | 
						|
								
							 | 
						|
								export interface PortfolioPosition {
							 | 
						|
								  accounts: {
							 | 
						|
								    [name: string]: { current: number; original: number };
							 | 
						|
								  };
							 | 
						|
								  allocationCurrent: number;
							 | 
						|
								  allocationInvestment: number;
							 | 
						|
								  countries: Country[];
							 | 
						|
								  currency: Currency;
							 | 
						|
								  exchange?: string;
							 | 
						|
								  grossPerformance: number;
							 | 
						|
								  grossPerformancePercent: number;
							 | 
						|
								  investment: number;
							 | 
						|
								  marketChange?: number;
							 | 
						|
								  marketChangePercent?: number;
							 | 
						|
								  marketPrice: number;
							 | 
						|
								  marketState: MarketState;
							 | 
						|
								  name: string;
							 | 
						|
								  quantity: number;
							 | 
						|
								  sectors: Sector[];
							 | 
						|
								  transactionCount: number;
							 | 
						|
								  symbol: string;
							 | 
						|
								  type?: string;
							 | 
						|
								  url?: string;
							 | 
						|
								  value: number;
							 | 
						|
								}
							 | 
						|
								
							 |