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.
30 lines
689 B
30 lines
689 B
import {
|
|
PortfolioPosition,
|
|
PortfolioSummary
|
|
} from '@ghostfolio/common/interfaces';
|
|
|
|
export interface PortfolioDetails {
|
|
accounts: {
|
|
[id: string]: {
|
|
balance: number;
|
|
currency: string;
|
|
name: string;
|
|
valueInBaseCurrency: number;
|
|
valueInPercentage?: number;
|
|
};
|
|
};
|
|
filteredValueInBaseCurrency?: number;
|
|
filteredValueInPercentage: number;
|
|
holdings: { [symbol: string]: PortfolioPosition };
|
|
platforms: {
|
|
[id: string]: {
|
|
balance: number;
|
|
currency: string;
|
|
name: string;
|
|
valueInBaseCurrency: number;
|
|
valueInPercentage?: number;
|
|
};
|
|
};
|
|
summary: PortfolioSummary;
|
|
totalValueInBaseCurrency?: number;
|
|
}
|
|
|