Sending coins from one exchange to another it takes time to get the confirmation, and if you are planing to move lets say 1000btc sometimes it takes longer than normal transactions.
How you plan to work this issue?
You do have to accept the risk that in that time BTC could drop. You could always make so it doesn't try to trade unless the price is staying stable.