Always having MARGIN error while executing baskets

Hi @jacharjya1978

While calculating the margin requirement, we do not consider the open positions, but your margin will be blocked considering all the open positions. In your case the Buy leg may not have successfully executed before the sell leg and hence you have the rejection. Now the raeson for Buy leg not executed, before the sell leg (even though the sequence in basket is arranged correctly) can be any. I have mentioned this in detail in the below post. :point_down:

Hope this helps.