if (t instanceof DividendInitialTransaction)
return true;
if (t instanceof PortfolioTransaction)
{
Type type = ((PortfolioTransaction) t).getType();
return type == Type.BUY || type == Type.DELIVERY_INBOUND || type == Type.TRANSFER_IN;
}
return false;
}