Take Profit Values not setting correctly

When placing BO orders through Fyers API, take profit value is set according to points upward from the price still the value is not correct
for example
for a buy price of 164
if we place stoploss at 9 and take profit at 231
its placing the correct stoploss value (155) but not the correct take profit value when checking on Fyers order status on mobile or web

data = {

            "symbol": option_contract,

            "qty": quantity,

            "type": 2,

            "side": 1,

            "productType": "BO",

            "limitPrice": 0,

            "stopPrice": 0,

            "validity": "DAY",

            "disclosedQty": 0,

            "stopLoss": 9.1,

            "takeProfit": 231.3,

            "offlineOrder": False,

        }

        response = fyers.place_order(data=data)



2 replies