code: def modifyStopOrder(self, orderId, parentId, newStop, quantity,
                          transmit=True, account=None):
          
          if orderId in self.orders.keys():
              order = self.createStopOrder(
                  quantity = quantity,
                  parentId = parentId,
                  stop     = newStop,
                  trail    = False,
                  transmit = transmit,
                  account  = account
              )
              return self.placeOrder(self.orders[orderId]['contract'], order, orderId)
  
          return None
docs: modify stop order