Thanks for the reply.
Actually I don't even need it to be guaranteed.? Smart routed or not also doesn't matter to me.? Would it be possible?
What I really want to do is to check the margin difference if I close all these positions but so far I haven't found a way to do so programatically.