Profit not reflecting in balance

JeetKumar
Hi,
I placed an OPTIONS order today using API.
Both the buy and sell orders showed status as "complete".
Buy order was placed at 53 rs.
Sell was placed at 72 rs.
Both were placed using "NRML" type.
According to this, I should have made a profit, and my net balance should have changed.
But this is what I get when I try to check my funds:

[net] => 15900.88
[available] => Array
(
[adhoc_margin] => 0
[cash] => 15900.88
[opening_balance] => 15900.88
[live_balance] => 15900.88
[collateral] => 0
[intraday_payin] => 0
)


When the BUY order was placed, then amount for the order was deducted from opening balance, and live_balance was showing something around 11k at that time.
When SELL order got completed, then I get this data as shown above.

Did I miss something?
Is there some other setting in kite which needs to be activated before OPTIONS orders can be placed using API?

Thanks
This discussion has been closed.