That picture doesn't show average buy-sell so nothing is clear.
It is the trade book, order book from which u can get the clear idea during the day and finally from contract notes.
But, don't blame ur suffering only for Kotak.
Why u gave a buy call of such a huge amount 20,000 units of IDBI of about Rs 80 each(which is equivalent to 16 lakh) with only 3000 cash in hand?
And what was the quantity for RCOM? U r a student but, not a child! Sorry for those hard words.
I think u don't have a clear idea about various order type and their execution in different scenarios also. Orders are rightly executed, so you are in loss! It is ur false impression that orders executed oppositely. Ur contract note is the proof.
And how the hell Kotak RMS give 500-600x intraday leverage? It is a clear RMS failure. U can confront them with this logic, ask them what is the maximum intraday leverage of IDBI & RCom? How such big orders executed with only Rs 3000 cash in hand?
Post the contract note if possible. And u have trade book, order book print screen.