From the point of view of security, it is better to choose a purse. But on the exchange to keep coins more conveniently. If you keep a large number of coins for a long time, then better keep them on your wallet. But if you trade coins often, then keep out of stock exchanges. But it is advisable not to keep all altcoins on the same exchange.