orderTicketX=self.MarketOrder(self.ticker1 , self.xTradeQty) orderTicketY=self.MarketOrder(self.ticker2 , self.yTradeQty) avgXfillPrice=orderTicketX.AverageFillPrice avgYfillPrice=orderTicketY.AverageFillPrice

In the above code, in backtesting, I am getting the average fill price as 0. Is there something that I am doing wrong?

 

Author