28 lines
576 B
TypeScript
28 lines
576 B
TypeScript
import {
|
|
PortfolioPosition,
|
|
PortfolioSummary
|
|
} from '@ghostfolio/common/interfaces';
|
|
|
|
export interface PortfolioDetails {
|
|
accounts: {
|
|
[id: string]: {
|
|
balance: number;
|
|
currency: string;
|
|
name: string;
|
|
valueInBaseCurrency: number;
|
|
valueInPercentage?: number;
|
|
};
|
|
};
|
|
holdings: { [symbol: string]: PortfolioPosition };
|
|
platforms: {
|
|
[id: string]: {
|
|
balance: number;
|
|
currency: string;
|
|
name: string;
|
|
valueInBaseCurrency: number;
|
|
valueInPercentage?: number;
|
|
};
|
|
};
|
|
summary?: PortfolioSummary;
|
|
}
|