Webhook automation fails with error Limit price not in multiple of 0.100 , even when price is correct

Webhook automation fails with error Limit price not in multiple of 0.100

Th request was made with below body

“payload”: {
“exchange”: “MCX”,
“ticker”: “NATGASMINI”,
“close”: “242.9”,
“open”: “242.2”,
“high”: “242.9”,
“low”: “242.2”,
“volume”: “1208”,
“price”: “242.9”,
“lots”: “3”
},
“response”: {
“status_code”: 200,
“latency_ms”: 368.4,
“response”: “{\“code\”:200,\“message\”:\“Webhook executed successfully\”,\“s\”:\“ok\”}”
}

The webhook adds 0.7 to the price..
Basically finds the difference between curent and future expiry, price and adds 0.7 to it

242.9+0.7 =243.6 as price and uses it as limit price.

it works sometime , othertimes its fails..

can you please check… and

  1. either help me fix it?
  2. fix it on your side.. its blocking, and causing failures on my live market running script.

FOund the issue, while doing calulation for varibale, i used avg traded price instead of last traded price, which would have added un wanted tick price modification less than, 0.1.

Thanks for wonderful product.

You can mark it as closed.