|
@ -486,6 +486,7 @@ export class PortfolioService { |
|
|
impersonationId, |
|
|
impersonationId, |
|
|
userCurrency, |
|
|
userCurrency, |
|
|
userId, |
|
|
userId, |
|
|
|
|
|
holdings, |
|
|
balanceInBaseCurrency: cashDetails.balanceInBaseCurrency, |
|
|
balanceInBaseCurrency: cashDetails.balanceInBaseCurrency, |
|
|
emergencyFundPositionsValueInBaseCurrency: |
|
|
emergencyFundPositionsValueInBaseCurrency: |
|
|
this.getEmergencyFundPositionsValueInBaseCurrency({ |
|
|
this.getEmergencyFundPositionsValueInBaseCurrency({ |
|
@ -2176,7 +2177,7 @@ export class PortfolioService { |
|
|
private async getTransactionPoints({ |
|
|
private async getTransactionPoints({ |
|
|
filters, |
|
|
filters, |
|
|
includeDrafts = false, |
|
|
includeDrafts = false, |
|
|
types = ['BUY', 'ITEM', 'SELL'], |
|
|
types = ['BUY', 'ITEM', 'SELL', 'STAKE'], |
|
|
userId, |
|
|
userId, |
|
|
withExcludedAccounts = false |
|
|
withExcludedAccounts = false |
|
|
}: { |
|
|
}: { |
|
@ -2199,8 +2200,7 @@ export class PortfolioService { |
|
|
types, |
|
|
types, |
|
|
userCurrency, |
|
|
userCurrency, |
|
|
userId, |
|
|
userId, |
|
|
withExcludedAccounts, |
|
|
withExcludedAccounts |
|
|
types: ['BUY', 'SELL', 'STAKE'] |
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
if (count <= 0) { |
|
|
if (count <= 0) { |
|
|