Thanks everyone for the very helpful information. This will get me pointed in the right direction. I will try placing the orders sequentially with TWS API.