ghostfolio/libs/common/src/lib/interfaces/portfolio-details.interface.ts
Thomas Kaul b2b3fde80e
Bugfix/support multiple accounts with the same name (#623)
* Support multiple accounts with the same name

* Update changelog
2022-01-10 21:23:47 +01:00

15 lines
319 B
TypeScript

import { PortfolioPosition } from '@ghostfolio/common/interfaces';
export interface PortfolioDetails {
accounts: {
[id: string]: {
balance: number;
currency: string;
current: number;
name: string;
original: number;
};
};
holdings: { [symbol: string]: PortfolioPosition };
}