`assetProfiles.${index}.symbol ("${symbol}") must be a UUID or start with the prefix "${ghostfolioPrefix}_" for the data source ("${DataSource.MANUAL}")`
);
}elseif(
dataSource!==DataSource.MANUAL&&
isValidCustomAssetProfileSymbol(symbol)
){
thrownewError(
`assetProfiles.${index}.symbol ("${symbol}") is not valid for the data source ("${dataSource}")`
);
}
}
@ -249,6 +242,13 @@ export class ImportService {
thrownewError(
`activities.${index}.symbol ("${activity.symbol}") must be a UUID or start with the prefix "${ghostfolioPrefix}_" for the data source ("${DataSource.MANUAL}")`
);
}elseif(
activity.dataSource!==DataSource.MANUAL&&
isValidCustomAssetProfileSymbol(activity.symbol)
){
thrownewError(
`activities.${index}.symbol ("${activity.symbol}") is not valid for the data source ("${activity.dataSource}")`