// We check if we can convert the currency bought in to currency of asset
currency,
assetProfile.currency
)
){
thrownewError(
`activities.${index}.currency ("${currency}") does not match with "${assetProfile.currency}"`
`activities.${index}.currency ("${currency}") does not match with "${assetProfile.currency} and no exchange rate is available from "${currency}" to "${assetProfile.currency}"`