Margin Variation

Hi, I placed the following orders through API:
1. Buy 39000CE @ market, qty 1 lot
2. Sell 37500 CE @ market, qty 1 lot.
The margin utilized was approx 1.35 lakhs.
However, when I added, the same trades in a basket in the kite app, at the same price which I got in the orders through API, the final margin is being shown as 44,500/-.
There is a huge difference in these margins, how can I ensure that while placing orders through API, I am able to place them at the same margins, as needed by the basket.
SS are attached for reference.

    Your sell order would have executed first ,and then buy order, that's why much more margin.
Sign In or Register to comment.