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