I had a issue today while live trading on nifty futures on trading view using API. I had a long position open and then later a short order was trigerred on trading view chart. The API bridge exited the long position but did not initiated the short position. I have no idea why did this happend. On the 'trade history' screen  o api.. there were only 2 position mentioend . First a LE and then a SE. ideally there shoul be LE, LX and then SE. is there some settings that i am missing here ?