Hi all,

I was recently attempting to set up a position whereupon the stock increasing 10%, the stop loss would trigger and it would buy back the shares that it had sold short, however in backtesting, I can't seem to verify it ever happening despite numerous tests. I've

included the code below. 

order = self.CalculateOrderQuantity(self.symbol, 1) self.Buy(self.symbol, order) self.StopMarketOrder(self.symbol, order, (1.1 * data[self.symbol].Close))