I am placing a bracket order from Java client. I am providing stop loss and square off values. The order is getting placed but the stop loss and square off values are different and not the ones which i have set. I am using KiteConnect 3.
Hi, The sqaureoff and stoploss values are given in points and not absolute values. Let us say, you placed an order at Rs 100 and you want to place target order at 103 then squareoff value is 3. If you wish to close position at Rs 98 then your stoploss value will be 2. If you give bigger values then your squareoff and stoploss values will sit at upper and lower circuit values.
Also, make sure these values are a modulus of tick size as mentioned in instrument dump.
The sqaureoff and stoploss values are given in points and not absolute values. Let us say, you placed an order at Rs 100 and you want to place target order at 103 then squareoff value is 3. If you wish to close position at Rs 98 then your stoploss value will be 2.
If you give bigger values then your squareoff and stoploss values will sit at upper and lower circuit values.
Also, make sure these values are a modulus of tick size as mentioned in instrument dump.