net performance for current positions (#330)
* implement fees for transaction points #324 * add net performance to current positions #324 * add net performance to calculate timeline #324 * make timeline fee accumulated by default #324 * Update changelog Co-authored-by: Valentin Zickner <github@zickner.ch> Co-authored-by: Thomas <4159106+dtslvr@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
export interface PortfolioPerformance {
|
||||
currentGrossPerformance: number;
|
||||
currentGrossPerformancePercent: number;
|
||||
currentNetPerformance: number;
|
||||
currentNetPerformancePercent: number;
|
||||
currentValue: number;
|
||||
}
|
||||
|
@@ -20,6 +20,8 @@ export interface PortfolioPosition {
|
||||
marketPrice: number;
|
||||
marketState: MarketState;
|
||||
name: string;
|
||||
netPerformance: number;
|
||||
netPerformancePercent: number;
|
||||
quantity: number;
|
||||
sectors: Sector[];
|
||||
transactionCount: number;
|
||||
|
@@ -13,6 +13,8 @@ export interface Position {
|
||||
marketPrice?: number;
|
||||
marketState?: MarketState;
|
||||
name?: string;
|
||||
netPerformance?: number;
|
||||
netPerformancePercentage?: number;
|
||||
quantity: number;
|
||||
symbol: string;
|
||||
transactionCount: number;
|
||||
|
@@ -9,6 +9,8 @@ export interface TimelinePosition {
|
||||
grossPerformancePercentage: Big;
|
||||
investment: Big;
|
||||
marketPrice: number;
|
||||
netPerformance: Big;
|
||||
netPerformancePercentage: Big;
|
||||
quantity: Big;
|
||||
symbol: string;
|
||||
transactionCount: number;
|
||||
|
Reference in New Issue
Block a user