I would like to create a sell order in backtrader which will sell @high price. How do i code the same? I have tried the following
self.order=self.sell(exectype=bt.Order.Limit, price=self.high[0])
But the same does not work. Self.high is defined as high price.