Fill or Kill on a collection of symbols

 

I want to execute several orders in different symbols

But I want it all done or nothing done

Sometimes one of the orders is not executed because the market is closed or any other problem


I hope to get suggestions to solve the problem

 
First set up a list of conditions under which you want to trade, or under which you do not want to trade.

Then collect these data programatically and boil them down to one global condition variable.

Then have your send order function check this variable.