# submit a limit order to buy 10 shares at .1% below the bar's close
            close = self.Securities[self.spy.Value].Close
            newTicket = self.LimitOrder(self.spy, 10, close * d.Decimal(.999))
            self.__openLimitOrders.append(newTicket)

            # submit another limit order to sell 10 shares at .1% above the bar's close
            newTicket = self.LimitOrder(self.spy, 10, close * d.Decimal(1.001))
            self.__openLimitOrders.append(newTicket)


In your example on github there should be a - before the quantity in the sell example. It is missing right now.