|
|
@ -109,8 +109,8 @@ describe('redactAttributes', () => { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
hasError: false, |
|
|
hasError: false, |
|
|
holdings: { |
|
|
holdings: [ |
|
|
'AAPL.US': { |
|
|
{ |
|
|
activitiesCount: 1, |
|
|
activitiesCount: 1, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -162,7 +162,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: 11039.5, |
|
|
valueInBaseCurrency: 11039.5, |
|
|
valueInPercentage: 0.0694356974830054 |
|
|
valueInPercentage: 0.0694356974830054 |
|
|
}, |
|
|
}, |
|
|
'ALV.DE': { |
|
|
{ |
|
|
activitiesCount: 2, |
|
|
activitiesCount: 2, |
|
|
currency: 'EUR', |
|
|
currency: 'EUR', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -209,7 +209,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: 6616.826601205088, |
|
|
valueInBaseCurrency: 6616.826601205088, |
|
|
valueInPercentage: 0.04161818652826481 |
|
|
valueInPercentage: 0.04161818652826481 |
|
|
}, |
|
|
}, |
|
|
AMZN: { |
|
|
{ |
|
|
activitiesCount: 1, |
|
|
activitiesCount: 1, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -261,7 +261,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: 18799, |
|
|
valueInBaseCurrency: 18799, |
|
|
valueInPercentage: 0.11824101426541227 |
|
|
valueInPercentage: 0.11824101426541227 |
|
|
}, |
|
|
}, |
|
|
bitcoin: { |
|
|
{ |
|
|
activitiesCount: 1, |
|
|
activitiesCount: 1, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -312,7 +312,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: 36985.0332704, |
|
|
valueInBaseCurrency: 36985.0332704, |
|
|
valueInPercentage: 0.232626620912395 |
|
|
valueInPercentage: 0.232626620912395 |
|
|
}, |
|
|
}, |
|
|
BONDORA_GO_AND_GROW: { |
|
|
{ |
|
|
activitiesCount: 5, |
|
|
activitiesCount: 5, |
|
|
currency: 'EUR', |
|
|
currency: 'EUR', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -363,7 +363,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: 2231.644722160232, |
|
|
valueInBaseCurrency: 2231.644722160232, |
|
|
valueInPercentage: 0.014036487867880205 |
|
|
valueInPercentage: 0.014036487867880205 |
|
|
}, |
|
|
}, |
|
|
FRANKLY95P: { |
|
|
{ |
|
|
activitiesCount: 6, |
|
|
activitiesCount: 6, |
|
|
currency: 'CHF', |
|
|
currency: 'CHF', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -487,7 +487,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: 22363.19795483481, |
|
|
valueInBaseCurrency: 22363.19795483481, |
|
|
valueInPercentage: 0.14065892911313693 |
|
|
valueInPercentage: 0.14065892911313693 |
|
|
}, |
|
|
}, |
|
|
MSFT: { |
|
|
{ |
|
|
activitiesCount: 1, |
|
|
activitiesCount: 1, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -539,7 +539,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: 12840.6, |
|
|
valueInBaseCurrency: 12840.6, |
|
|
valueInPercentage: 0.08076416659271518 |
|
|
valueInPercentage: 0.08076416659271518 |
|
|
}, |
|
|
}, |
|
|
TSLA: { |
|
|
{ |
|
|
activitiesCount: 1, |
|
|
activitiesCount: 1, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -591,7 +591,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: 39069, |
|
|
valueInBaseCurrency: 39069, |
|
|
valueInPercentage: 0.2457342510950259 |
|
|
valueInPercentage: 0.2457342510950259 |
|
|
}, |
|
|
}, |
|
|
VTI: { |
|
|
{ |
|
|
activitiesCount: 5, |
|
|
activitiesCount: 5, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -763,7 +763,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: 14102.5, |
|
|
valueInBaseCurrency: 14102.5, |
|
|
valueInPercentage: 0.08870120238725339 |
|
|
valueInPercentage: 0.08870120238725339 |
|
|
}, |
|
|
}, |
|
|
'VWRL.SW': { |
|
|
{ |
|
|
activitiesCount: 5, |
|
|
activitiesCount: 5, |
|
|
currency: 'CHF', |
|
|
currency: 'CHF', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -1171,7 +1171,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: 23079.20085622547, |
|
|
valueInBaseCurrency: 23079.20085622547, |
|
|
valueInPercentage: 0.145162408515095 |
|
|
valueInPercentage: 0.145162408515095 |
|
|
}, |
|
|
}, |
|
|
'XDWD.DE': { |
|
|
{ |
|
|
activitiesCount: 1, |
|
|
activitiesCount: 1, |
|
|
currency: 'EUR', |
|
|
currency: 'EUR', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -1449,7 +1449,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: 8847.35550100424, |
|
|
valueInBaseCurrency: 8847.35550100424, |
|
|
valueInPercentage: 0.055647656152211074 |
|
|
valueInPercentage: 0.055647656152211074 |
|
|
}, |
|
|
}, |
|
|
USD: { |
|
|
{ |
|
|
activitiesCount: 0, |
|
|
activitiesCount: 0, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
allocationInPercentage: 0.20291717628620132, |
|
|
allocationInPercentage: 0.20291717628620132, |
|
|
@ -1476,7 +1476,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: 49890, |
|
|
valueInBaseCurrency: 49890, |
|
|
valueInPercentage: 0.3137956381563603 |
|
|
valueInPercentage: 0.3137956381563603 |
|
|
} |
|
|
} |
|
|
}, |
|
|
], |
|
|
platforms: { |
|
|
platforms: { |
|
|
'a5b14588-49a0-48e4-b9f7-e186b27860b7': { |
|
|
'a5b14588-49a0-48e4-b9f7-e186b27860b7': { |
|
|
balance: 0, |
|
|
balance: 0, |
|
|
@ -1613,8 +1613,8 @@ describe('redactAttributes', () => { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
hasError: false, |
|
|
hasError: false, |
|
|
holdings: { |
|
|
holdings: [ |
|
|
'AAPL.US': { |
|
|
{ |
|
|
activitiesCount: 1, |
|
|
activitiesCount: 1, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -1666,7 +1666,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: null, |
|
|
valueInBaseCurrency: null, |
|
|
valueInPercentage: 0.0694356974830054 |
|
|
valueInPercentage: 0.0694356974830054 |
|
|
}, |
|
|
}, |
|
|
'ALV.DE': { |
|
|
{ |
|
|
activitiesCount: 2, |
|
|
activitiesCount: 2, |
|
|
currency: 'EUR', |
|
|
currency: 'EUR', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -1713,7 +1713,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: null, |
|
|
valueInBaseCurrency: null, |
|
|
valueInPercentage: 0.04161818652826481 |
|
|
valueInPercentage: 0.04161818652826481 |
|
|
}, |
|
|
}, |
|
|
AMZN: { |
|
|
{ |
|
|
activitiesCount: 1, |
|
|
activitiesCount: 1, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -1765,7 +1765,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: null, |
|
|
valueInBaseCurrency: null, |
|
|
valueInPercentage: 0.11824101426541227 |
|
|
valueInPercentage: 0.11824101426541227 |
|
|
}, |
|
|
}, |
|
|
bitcoin: { |
|
|
{ |
|
|
activitiesCount: 1, |
|
|
activitiesCount: 1, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -1816,7 +1816,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: null, |
|
|
valueInBaseCurrency: null, |
|
|
valueInPercentage: 0.232626620912395 |
|
|
valueInPercentage: 0.232626620912395 |
|
|
}, |
|
|
}, |
|
|
BONDORA_GO_AND_GROW: { |
|
|
{ |
|
|
activitiesCount: 5, |
|
|
activitiesCount: 5, |
|
|
currency: 'EUR', |
|
|
currency: 'EUR', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -1867,7 +1867,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: null, |
|
|
valueInBaseCurrency: null, |
|
|
valueInPercentage: 0.014036487867880205 |
|
|
valueInPercentage: 0.014036487867880205 |
|
|
}, |
|
|
}, |
|
|
FRANKLY95P: { |
|
|
{ |
|
|
activitiesCount: 6, |
|
|
activitiesCount: 6, |
|
|
currency: 'CHF', |
|
|
currency: 'CHF', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -1971,7 +1971,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: null, |
|
|
valueInBaseCurrency: null, |
|
|
valueInPercentage: 0.14065892911313693 |
|
|
valueInPercentage: 0.14065892911313693 |
|
|
}, |
|
|
}, |
|
|
MSFT: { |
|
|
{ |
|
|
activitiesCount: 1, |
|
|
activitiesCount: 1, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -2023,7 +2023,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: null, |
|
|
valueInBaseCurrency: null, |
|
|
valueInPercentage: 0.08076416659271518 |
|
|
valueInPercentage: 0.08076416659271518 |
|
|
}, |
|
|
}, |
|
|
TSLA: { |
|
|
{ |
|
|
activitiesCount: 1, |
|
|
activitiesCount: 1, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -2075,7 +2075,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: null, |
|
|
valueInBaseCurrency: null, |
|
|
valueInPercentage: 0.2457342510950259 |
|
|
valueInPercentage: 0.2457342510950259 |
|
|
}, |
|
|
}, |
|
|
VTI: { |
|
|
{ |
|
|
activitiesCount: 5, |
|
|
activitiesCount: 5, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -2247,7 +2247,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: null, |
|
|
valueInBaseCurrency: null, |
|
|
valueInPercentage: 0.08870120238725339 |
|
|
valueInPercentage: 0.08870120238725339 |
|
|
}, |
|
|
}, |
|
|
'VWRL.SW': { |
|
|
{ |
|
|
activitiesCount: 5, |
|
|
activitiesCount: 5, |
|
|
currency: 'CHF', |
|
|
currency: 'CHF', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -2647,7 +2647,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: null, |
|
|
valueInBaseCurrency: null, |
|
|
valueInPercentage: 0.145162408515095 |
|
|
valueInPercentage: 0.145162408515095 |
|
|
}, |
|
|
}, |
|
|
'XDWD.DE': { |
|
|
{ |
|
|
activitiesCount: 1, |
|
|
activitiesCount: 1, |
|
|
currency: 'EUR', |
|
|
currency: 'EUR', |
|
|
markets: { |
|
|
markets: { |
|
|
@ -2925,7 +2925,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: null, |
|
|
valueInBaseCurrency: null, |
|
|
valueInPercentage: 0.055647656152211074 |
|
|
valueInPercentage: 0.055647656152211074 |
|
|
}, |
|
|
}, |
|
|
USD: { |
|
|
{ |
|
|
activitiesCount: 0, |
|
|
activitiesCount: 0, |
|
|
currency: 'USD', |
|
|
currency: 'USD', |
|
|
allocationInPercentage: 0.20291717628620132, |
|
|
allocationInPercentage: 0.20291717628620132, |
|
|
@ -2952,7 +2952,7 @@ describe('redactAttributes', () => { |
|
|
valueInBaseCurrency: null, |
|
|
valueInBaseCurrency: null, |
|
|
valueInPercentage: 0.3137956381563603 |
|
|
valueInPercentage: 0.3137956381563603 |
|
|
} |
|
|
} |
|
|
}, |
|
|
], |
|
|
platforms: { |
|
|
platforms: { |
|
|
'a5b14588-49a0-48e4-b9f7-e186b27860b7': { |
|
|
'a5b14588-49a0-48e4-b9f7-e186b27860b7': { |
|
|
balance: null, |
|
|
balance: null, |
|
|
|