mirror of https://github.com/ghostfolio/ghostfolio
committed by
GitHub
4 changed files with 0 additions and 44 deletions
@ -1,23 +0,0 @@ |
|||||
import { PortfolioItem, Position } from '@ghostfolio/common/interfaces'; |
|
||||
|
|
||||
import { Order } from '../order'; |
|
||||
|
|
||||
export interface PortfolioInterface { |
|
||||
get(aDate?: Date): PortfolioItem[]; |
|
||||
|
|
||||
getFees(): number; |
|
||||
|
|
||||
getPositions(aDate: Date): { |
|
||||
[symbol: string]: Position; |
|
||||
}; |
|
||||
|
|
||||
getSymbols(aDate?: Date): string[]; |
|
||||
|
|
||||
getTotalBuy(): number; |
|
||||
|
|
||||
getTotalSell(): number; |
|
||||
|
|
||||
getOrders(): Order[]; |
|
||||
|
|
||||
getValue(aDate?: Date): number; |
|
||||
} |
|
@ -1,9 +0,0 @@ |
|||||
import { Position } from '@ghostfolio/common/interfaces'; |
|
||||
|
|
||||
export interface PortfolioItem { |
|
||||
date: string; |
|
||||
grossPerformancePercent: number; |
|
||||
investment: number; |
|
||||
positions: { [symbol: string]: Position }; |
|
||||
value: number; |
|
||||
} |
|
@ -1,8 +0,0 @@ |
|||||
export interface PortfolioOverview { |
|
||||
cash: number; |
|
||||
committedFunds: number; |
|
||||
fees: number; |
|
||||
ordersCount: number; |
|
||||
totalBuy: number; |
|
||||
totalSell: number; |
|
||||
} |
|
Loading…
Reference in new issue