code: def createTargetOrder(self, quantity, parentId=0,
              target=0., orderType=None, transmit=True, group=None, tif="DAY",
              rth=False, account=None):
          
          order = self.createOrder(quantity,
                      price     = target,
                      transmit  = transmit,
                      orderType = dataTypes["ORDER_TYPE_LIMIT"] if orderType == None else orderType,
                      ocaGroup  = group,
                      parentId  = parentId,
                      rth       = rth,
                      tif       = tif,
                      account   = account
                  )
          return order
docs: Creates TARGET order