`activities.${index}.symbol ("${symbol}") is not valid for the specified data source ("${dataSource}")`
thrownewError(
);
`activities.${index}.symbol ("${symbol}") is not valid for the specified data source ("${dataSource}")`
}
);
}
if(
if(
assetProfile.currency!==currency&&
assetProfile.currency!==currency&&
!this.exchangeRateDataService.hasCurrencyPair(
!this.exchangeRateDataService.hasCurrencyPair(
currency,
currency,
assetProfile.currency
assetProfile.currency
)
)
){
){
thrownewError(
thrownewError(
`activities.${index}.currency ("${currency}") does not match with "${assetProfile.currency}" and no exchange rate is available from "${currency}" to "${assetProfile.currency}"`
`activities.${index}.currency ("${currency}") does not match with "${assetProfile.currency}" and no exchange rate is available from "${currency}" to "${assetProfile.currency}"`