when i am placing order for example i want to buy at market price and want to put target

when i am placing order for example i want to buy at market price and want to put target 50% + of market price

so can i put this in take profit will this automatic sell my order ? please let me know

symbol: formData.strikePrice,

  qty: Number(formData.quantity),

  type: 2,

  side: 1,

  productType: "INTRADAY",

  limitPrice: 0,

  stopPrice: 0,

  disclosedQty: 0,

  validity: "DAY",

  offlineOrder: false,

  stopLoss: 0,

takeProfit: 0,

Hi @9q5ys0tjKs,

Fetch the LTP using the Quotes API. From the response, extract the LTP value and store it in a variable named "LTP" or anyother. Use this value to place a limit order with the following parameters:

  • Type: 1
  • LimitPrice: LTP
  • ProductType: “BO”
  • takeProfit: LTP * 1.5
  • StopLoss: LTP * 0.5