Actually if the CVS contains DEPOSIT/REMOVAL and the data shows TRANSFERS being present the transactions is identified as being a potential duplicate.
A TRANSFER in the CSV is still imported, even if the Account/Portfolio to be imported contains a REMOVAL/DEPOSIT transation, as long as the actual counter-account has a transaction, even if it goes to a different account. This is semi-optimal (=room for improvement)
Actually if the CVS contains DEPOSIT/REMOVAL and the data shows TRANSFERS being present the transactions is identified as being a potential duplicate. A TRANSFER in the CSV is still imported, even if the Account/Portfolio to be imported contains a REMOVAL/DEPOSIT transation, as long as the actual counter-account has a transaction, even if it goes to a different account. This is semi-optimal (=room for improvement)