The API document says- "Bracket Order (BO) parameters
Bracket orders require these additional parameters. Bracket orders only support the LIMIT order type. parameter squareoff_value Price at which order should be exited and profit booked stoploss_value Stoploss price trailing_stoploss Incremental value by which stoploss price changes when market moves in your favor by the same incremental value from the entry price (optional)"
This is so wrong because we put the "ABSOLUTE" value in the parameter and not the price. The correct definition should be- squareoff_value Absolute value from the BUY/SELL price at which order should be exited and profit booked stoploss_value Absolute value from the BUY/SELL price for Stoploss trailing_stoploss Incremental value (ABSOLUTE not ticks) by which stoploss price changes when market moves in your favor by the same incremental value from the entry price (optional)
Isn't it true? Dont we need to put all absolute values instead of prices or ticks? Another question for the trailing stop loss, do we need to put the number of ticks or absolute value in that option? Thanks