fix sign typo

This commit is contained in:
Jing Wu
2018-01-25 15:03:58 -05:00
parent 86aeeaf727
commit b94e62f796
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ class OrderTicketDemoAlgorithm(QCAlgorithm):
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))
newTicket = self.LimitOrder(self.spy, -10, close * d.Decimal(1.001))
self.__openLimitOrders.append(newTicket)
# when we submitted new limit orders we placed them into this list,